-
Notifications
You must be signed in to change notification settings - Fork 8
/
schema.jsd
68 lines (68 loc) · 2.09 KB
/
schema.jsd
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
{
"$schema": "http://json-schema.org/schema#",
"$id": "https://github.com/nalgeon/iuliia/schema.json",
"title": "Transliteration Schema",
"type": "object",
"required": ["name", "description", "url", "mapping", "samples"],
"additionalProperties": false,
"description": "Transliteration Schema",
"properties": {
"name": {
"description": "Schema name",
"type": "string"
},
"aliases": {
"description": "Schema name aliases",
"type": "array",
"items": {
"type": "string",
"uniqueItems": true
}
},
"description": {
"description": "Schema description",
"type": "string"
},
"url": {
"description": "Schema description url",
"type": "string"
},
"comments": {
"description": "Schema comments",
"type": "array",
"items": {
"type": "string"
}
},
"mapping": {
"description": "Mapping for individual letters",
"type": "object",
"additionalProperties": { "type": "string" }
},
"prev_mapping": {
"description": "Mapping for letters with respect to previous sibling",
"type": ["object", "null"],
"additionalProperties": { "type": "string" }
},
"next_mapping": {
"description": "Mapping for letters with respect to next sibling",
"type": ["object", "null"],
"additionalProperties": { "type": "string" }
},
"ending_mapping": {
"description": "Mapping for word endings",
"type": ["object", "null"],
"additionalProperties": { "type": "string" }
},
"samples": {
"description": "Transliteraton samples",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}