{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://headless-tmvbhduptlb-rampantly-1409.wix-site-host.com/funder/data/gacg-notation-schema-v1.json",
  "title": "GACG Stand-Up Special Line-Level Notation Edition",
  "description": "A browser-local draft schema. Public transcript or quotations require appropriate rights and separate editorial release. The presence of source media is not a license.",
  "type": "object",
  "required": ["schema", "version", "specialId", "editionId", "publicationStatus", "rightsStatus", "lines"],
  "properties": {
    "schema": {"const": "gacg-notation-edition-v1"},
    "version": {"const": 1},
    "specialId": {"type": "string", "maxLength": 100},
    "title": {"type": "string"},
    "performer": {"type": "string"},
    "editionId": {"type": "string", "pattern": "^[A-Za-z0-9_-]{1,16}$"},
    "sourceReference": {"type": "string"},
    "rightsReference": {"type": "string"},
    "rightsStatus": {"enum": ["PRIVATE_DRAFT", "RIGHTS_REVIEW", "LICENSED_PRIVATE"]},
    "publicationStatus": {"const": "UNPUBLISHED_PRIVATE_DRAFT"},
    "lines": {"type": "array", "items": {"type": "object", "required": ["id", "reference", "passage", "text"], "properties": {
      "id": {"type": "string", "pattern": "^L[0-9]{6,}$"},
      "reference": {"type": "string"},
      "timecode": {"type": "string", "description": "Recorded elapsed time. Verify against the licensed release version."},
      "passage": {"type": "string"},
      "text": {"type": "string", "description": "Only authorized transcript text."},
      "note": {"type": "string", "description": "Source-grounded editorial annotation; maintain source citations in production."}
    }, "additionalProperties": false}}
  },
  "additionalProperties": false
}
