{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elaiio/json-schema/elaiio-lesson-template-summary-schema.json",
  "title": "LessonTemplateSummary",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elaiio-elai-public-api-openapi.yml#/components/schemas/LessonTemplateSummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The template id, the same in every environment."
    },
    "name": {
      "type": "string",
      "description": "The display name."
    },
    "order": {
      "type": "integer",
      "description": "1-based display order."
    },
    "revision": {
      "type": "string",
      "description": "A content hash of what a build reads from the template: its layouts, slides, colour reading and previews, not its name or order. The template's current revision; a build names an older one with `templateRevision`."
    },
    "fonts": {
      "type": "object",
      "description": "The primary family of the text the template writes headings and body text into.",
      "properties": {
        "heading": {
          "type": "string"
        },
        "body": {
          "type": "string"
        }
      },
      "required": [
        "heading",
        "body"
      ]
    },
    "layoutCount": {
      "type": "integer"
    },
    "thumbnailCount": {
      "type": "integer"
    },
    "logoSlots": {
      "type": "object",
      "description": "How many layouts and thumbnail designs carry a logo slot.",
      "properties": {
        "layouts": {
          "type": "integer"
        },
        "thumbnails": {
          "type": "integer"
        }
      },
      "required": [
        "layouts",
        "thumbnails"
      ]
    }
  },
  "required": [
    "id",
    "name",
    "order",
    "revision",
    "fonts",
    "layoutCount",
    "thumbnailCount",
    "logoSlots"
  ]
}