File size: 3,203 Bytes
6a71c6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
  "$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
    }
  }
}