{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Screenplay Revision Evaluation case", "description": "One line of data/cases.jsonl: a short scene, a revision constraint, the mechanical checks that measure the constraint, and the questions a human reviewer answers. Every field is required; reference_output is the only nullable one.", "type": "object", "additionalProperties": false, "required": [ "id", "title", "input", "instruction", "anchor", "max_words", "checks", "review_questions", "reference_output", "grading", "provenance", "license" ], "properties": { "id": { "description": "Unique case ID.", "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" }, "title": { "description": "The constraint in one line.", "type": "string", "minLength": 1 }, "input": { "description": "The original scene text to revise.", "type": "string", "minLength": 1 }, "instruction": { "description": "The full revision instruction given to a tool or writer.", "type": "string", "minLength": 1 }, "anchor": { "description": "Literal text that must survive the revision; it appears in the input.", "type": "string", "minLength": 1 }, "max_words": { "description": "Word ceiling for the revised scene.", "type": "integer", "minimum": 1 }, "checks": { "description": "Mechanical checks, one per kind. max_words and contains_exact repeat the fields of the same name; no_preface has an empty value.", "type": "array", "minItems": 1, "items": { "type": "object", "additionalProperties": false, "required": ["kind", "value"], "properties": { "kind": { "enum": ["max_words", "contains_exact", "no_preface"] }, "value": { "type": "string" } } } }, "review_questions": { "description": "Questions a human reviewer answers about dramatic quality and meaning.", "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }, "reference_output": { "description": "Null by design: a creative edit has more than one valid version.", "type": "null" }, "grading": { "description": "How a revision is judged.", "type": "string", "minLength": 1 }, "provenance": { "description": "Where the case comes from.", "type": "string", "minLength": 1 }, "license": { "description": "SPDX identifier of the case's license.", "const": "CC0-1.0" } } }