{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Screenplay Format Edge Cases record", "description": "One line of data/cases.jsonl: an original Fountain specimen, the line-level element types it should produce, and the contrast pair it belongs to. Every field is required and none is nullable.", "type": "object", "additionalProperties": false, "required": [ "id", "pair_id", "pair_number", "variant", "title", "category", "fountain", "expected_types", "supported_by_demo", "rationale", "reference", "provenance", "license", "split_group" ], "properties": { "id": { "description": "Unique record ID: the pair ID followed by -a or -b.", "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*-[ab]$" }, "pair_id": { "description": "Shared by the two variants of one contrast pair.", "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" }, "pair_number": { "description": "The pair's position in the set, from 1.", "type": "integer", "minimum": 1 }, "variant": { "description": "Which side of the contrast this record is.", "enum": ["A", "B"] }, "title": { "description": "The pair's short name.", "type": "string", "minLength": 1 }, "category": { "description": "The formatting decision the pair exercises.", "enum": [ "ambiguity", "character", "interop", "parenthetical", "scene", "transition", "unsupported", "whitespace" ] }, "fountain": { "description": "The Fountain input.", "type": "string", "minLength": 1 }, "expected_types": { "description": "One screenplay element type per non-blank line of the input, in order. Boneyard lines carry no label, so an input that is all boneyard has an empty list.", "type": "array", "items": { "enum": [ "Action", "Centered", "Character", "Dialogue", "Lyrics", "Note", "Page Break", "Parenthetical", "Scene Heading", "Section", "Synopsis", "Title Page", "Transition" ] } }, "supported_by_demo": { "description": "Whether the input falls inside the subset a demonstration Fountain parser implements.", "type": "boolean" }, "rationale": { "description": "Why the expected labels are what they are.", "type": "string", "minLength": 1 }, "reference": { "description": "The part of the Fountain syntax the labels follow.", "type": "string", "pattern": "^https://" }, "provenance": { "description": "Where the specimen comes from.", "type": "string", "minLength": 1 }, "license": { "description": "SPDX identifier of the record's license.", "const": "CC0-1.0" }, "split_group": { "description": "Keep records with the same value in the same split. Equal to pair_id.", "type": "string", "minLength": 1 } } }