{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-channel-collection-schema.json",
  "title": "ChannelCollection",
  "description": "Collection of CMS channels",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-channels-api-openapi.yml#/components/schemas/ChannelCollection",
  "type": "object",
  "properties": {
    "channels": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Channel"
      }
    },
    "currentPageUrl": {
      "type": "string",
      "format": "uri"
    },
    "nextPageUrl": {
      "type": "string",
      "format": "uri"
    },
    "totalCount": {
      "type": "integer"
    }
  },
  "$defs": {
    "Channel": {
      "type": "object",
      "description": "A CMS delivery channel",
      "properties": {
        "channelId": {
          "type": "string",
          "description": "Unique identifier of the channel"
        },
        "channelName": {
          "type": "string",
          "description": "Name of the channel"
        },
        "channelType": {
          "type": "string",
          "description": "Type of the channel",
          "enum": [
            "ExperienceCloudSite",
            "CustomChannel"
          ]
        },
        "domain": {
          "type": "string",
          "description": "Domain associated with the channel"
        },
        "domainName": {
          "type": "string",
          "description": "Domain name of the channel"
        },
        "isDomainLocked": {
          "type": "boolean",
          "description": "Whether the domain is locked"
        },
        "isSearchable": {
          "type": "boolean",
          "description": "Whether content in this channel is searchable"
        }
      }
    }
  }
}