{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-content-type-collection-schema.json",
  "title": "ContentTypeCollection",
  "description": "Collection of content types",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-content-types-api-openapi.yml#/components/schemas/ContentTypeCollection",
  "type": "object",
  "properties": {
    "contentTypes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContentType"
      }
    },
    "totalCount": {
      "type": "integer"
    }
  },
  "$defs": {
    "ContentType": {
      "type": "object",
      "description": "A CMS content type definition",
      "properties": {
        "developerName": {
          "type": "string",
          "description": "Developer name of the content type"
        },
        "label": {
          "type": "string",
          "description": "Display label of the content type"
        },
        "fields": {
          "type": "array",
          "description": "Field definitions for the content type",
          "items": {
            "type": "object",
            "properties": {
              "fieldName": {
                "type": "string"
              },
              "fieldType": {
                "type": "string"
              },
              "isRequired": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}