{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-word/refs/heads/main/json-structure/javascript-api-content-control-structure.json",
  "name": "ContentControl",
  "description": "Represents a content control in a Word document.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "Unique identifier of the content control." },
    "tag": { "type": "string", "description": "Tag to identify the content control." },
    "title": { "type": "string", "description": "Title of the content control." },
    "type": { "type": "string", "description": "Type of content control.", "enum": ["RichText", "PlainText", "Picture", "CheckBox", "DropDownList", "ComboBox", "DatePicker"] },
    "text": { "type": "string", "description": "Text content of the content control." },
    "appearance": { "type": "string", "description": "Visual appearance.", "enum": ["BoundingBox", "Tags", "Hidden"] },
    "cannotDelete": { "type": "boolean", "description": "Whether the content control can be deleted." },
    "cannotEdit": { "type": "boolean", "description": "Whether the content control can be edited." }
  }
}
