# contentControls.checkbox.setSymbolPair

> Set the checked and unchecked symbol glyphs for a checkbox content control.



- Member path: `doc.contentControls.checkbox.setSymbolPair(…)`
- Mutates document: yes
- Idempotency: `conditional`
- Supports tracked mode: no
- Supports dry run: yes

## Expected result

Returns a ContentControlMutationResult; reports NO_OP if symbols unchanged.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {},
  "type": "object",
  "properties": {
    "target": {
      "type": "object",
      "properties": {
        "kind": {
          "enum": [
            "block",
            "inline"
          ]
        },
        "nodeType": {
          "const": "sdt"
        },
        "nodeId": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "kind",
        "nodeType",
        "nodeId"
      ]
    },
    "checkedSymbol": {
      "type": "object"
    },
    "uncheckedSymbol": {
      "type": "object"
    }
  },
  "additionalProperties": false,
  "required": [
    "target",
    "checkedSymbol",
    "uncheckedSymbol"
  ]
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "ReceiptFailure": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "details": {}
      },
      "additionalProperties": false,
      "required": [
        "code",
        "message"
      ]
    }
  },
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "success": {
          "const": true
        },
        "contentControl": {
          "type": "object",
          "properties": {
            "kind": {
              "enum": [
                "block",
                "inline"
              ]
            },
            "nodeType": {
              "const": "sdt"
            },
            "nodeId": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "required": [
            "kind",
            "nodeType",
            "nodeId"
          ]
        },
        "updatedRef": {
          "type": "object",
          "properties": {
            "kind": {
              "enum": [
                "block",
                "inline"
              ]
            },
            "nodeType": {
              "const": "sdt"
            },
            "nodeId": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "required": [
            "kind",
            "nodeType",
            "nodeId"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "success",
        "contentControl"
      ]
    },
    {
      "type": "object",
      "properties": {
        "success": {
          "const": false
        },
        "failure": {
          "$ref": "#/$defs/ReceiptFailure"
        }
      },
      "additionalProperties": false,
      "required": [
        "success",
        "failure"
      ]
    }
  ]
}
```

## Pre-apply throws

- `TARGET_NOT_FOUND`
- `INVALID_TARGET`
- `AMBIGUOUS_TARGET`
- `INVALID_INPUT`
- `LOCK_VIOLATION`
- `REVISION_MISMATCH`
- `CAPABILITY_UNAVAILABLE`
- `TYPE_MISMATCH`

## Non-applied receipt codes

- `NO_OP`

