{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.buildtoon.com/webtoon-artist-handoff-v1.schema.json",
  "title": "Webtoon Artist Handoff Specification v1.0",
  "description": "A portable scene brief for communicating a vertical webtoon sequence from writer to artist.",
  "type": "object",
  "required": ["version", "title", "shots"],
  "properties": {
    "version": { "const": "1.0" },
    "title": { "type": "string", "minLength": 1 },
    "logline": { "type": "string" },
    "characters": { "type": "array", "items": { "type": "string" } },
    "shots": {
      "type": "array",
      "minItems": 1,
      "maxItems": 12,
      "items": {
        "type": "object",
        "required": ["sequence", "action", "camera", "emotion", "dialogue"],
        "properties": {
          "sequence": { "type": "integer", "minimum": 1, "maximum": 12 },
          "action": { "type": "string" },
          "camera": { "type": "string" },
          "emotion": { "type": "string" },
          "dialogue": { "type": "string" },
          "props": { "type": "array", "items": { "type": "string" } },
          "continuity": { "type": "string" },
          "referenceUrls": { "type": "array", "items": { "type": "string", "format": "uri" } }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
