{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slidler-com/json-schema/slidler-com-carousel-schema.json",
  "title": "Carousel",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slidler-com-openapi.json#/components/schemas/Carousel",
  "type": "object",
  "properties": {
    "api_version": {
      "const": "1"
    },
    "renderer_version": {
      "const": "helvetica-3"
    },
    "title": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "text",
        "url",
        "youtube-transcript",
        "youtube-description"
      ]
    },
    "slides": {
      "type": "array",
      "minItems": 2,
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "k": {
            "enum": [
              "cover",
              "point",
              "cta"
            ]
          },
          "h": {
            "type": "string"
          },
          "b": {
            "type": "string"
          }
        },
        "required": [
          "k",
          "h",
          "b"
        ],
        "additionalProperties": false
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "caption_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "n": {
      "type": "integer",
      "minimum": 6,
      "maximum": 8
    },
    "point_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 8
    },
    "page_count": {
      "type": "integer",
      "minimum": 2,
      "maximum": 10
    },
    "pdf": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "expires_at": {
          "type": "string",
          "format": "date-time"
        },
        "mime_type": {
          "const": "application/pdf"
        },
        "byte_length": {
          "type": "integer",
          "minimum": 1,
          "maximum": 262144
        }
      },
      "required": [
        "url",
        "expires_at",
        "mime_type",
        "byte_length"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "api_version",
    "renderer_version",
    "title",
    "kind",
    "slides",
    "warnings",
    "caption_status",
    "n",
    "point_count",
    "page_count",
    "pdf"
  ],
  "additionalProperties": false
}