{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apple-keynote/refs/heads/main/json-schema/apple-keynote-export-request-schema.json",
  "title": "ExportRequest",
  "description": "Request body for exporting an Apple Keynote presentation",
  "type": "object",
  "required": [
    "format"
  ],
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "pdf",
        "pptx",
        "key",
        "html",
        "images"
      ],
      "description": "Export format",
      "example": "pdf"
    },
    "includeNotes": {
      "type": "boolean",
      "description": "Whether to include presenter notes",
      "example": true
    },
    "slideRange": {
      "type": "string",
      "description": "Slide range to export (e.g. 1-5,8)",
      "example": "1-24"
    }
  }
}