-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.json
More file actions
78 lines (78 loc) · 3.11 KB
/
schema.json
File metadata and controls
78 lines (78 loc) · 3.11 KB
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
{
"$schema": "https://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/obsgolem/LOGOSTools/main/schema.json",
"title": "Chapter Vocabulary",
"description": "The vocab list for a single chapter of ΛΟΓΟΣ",
"type": "object",
"properties": {
"chapter_name": {
"description": "The chapter's name",
"type": "string"
},
"word_list_page_number": {
"description": "The page number in the book for this list",
"type": "number"
},
"exercise_page_range": {
"description": "The page range for the exercises for this chapter",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number"
}
},
"sections": {
"type": "array",
"items": {
"description": "The collection of words under a section header in the book",
"type": "object",
"properties": {
"section": {
"description": "The name of the section in the book",
"type": "string"
},
"words": {
"type": "array",
"items": {
"description": "The data for a single vocab entry",
"type": "object",
"properties": {
"book_entry": {
"description": "The raw text in the book",
"type": "string"
},
"first_occurrence": {
"description": "The line and word number (1 indexed) of the first occurrence of the word in the book.",
"type": "array",
"minItems": 1,
"maxItems": 2,
"items": {
"type": "number"
}
},
"macronized": {
"description": "The entry with any ambiguous long vowels macronized.",
"type": "string"
},
"gloss": {
"description": "A short definition in english for the word.",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"book_entry"
]
}
}
},
"additionalProperties": false,
"required": [
"section",
"words"
]
}
}
}
}