{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-content-type-schema.json",
  "title": "ContentType",
  "description": "A content type definition",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-content-types-api-openapi.yml#/components/schemas/ContentType",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the content type"
    },
    "displayName": {
      "type": "string",
      "description": "Display name of the content type"
    },
    "description": {
      "type": "string",
      "description": "Description of the content type"
    },
    "base": {
      "type": "string",
      "description": "Base content type"
    },
    "properties": {
      "type": "object",
      "description": "Properties defined on the content type",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Property data type"
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the property"
          },
          "sortOrder": {
            "type": "integer",
            "description": "Sort order for the property"
          }
        }
      }
    }
  }
}