{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ada/main/json-schema/ada-update-channel-schema.json",
  "title": "UpdateChannel",
  "description": "Fields that can be updated on an existing custom channel",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ada-channels-api-openapi.yml#/components/schemas/UpdateChannel",
  "type": "object",
  "properties": {
    "capabilities": {
      "$ref": "#/$defs/UpdateChannelCapabilities",
      "description": "Capabilities to update. Only the fields you include are changed; omitted fields keep their current value."
    }
  },
  "required": [
    "capabilities"
  ],
  "$defs": {
    "UpdateChannelCapabilities": {
      "type": "object",
      "properties": {
        "markdown": {
          "type": "boolean",
          "description": "Preserve Markdown (bold, italic, and links) in replies instead of flattening to plain text."
        }
      },
      "description": "Capabilities to update. Only the fields you include are changed; omitted fields keep their current value.",
      "title": "UpdateChannelCapabilities"
    }
  }
}