@kulupu-linku/sona 0.3.7 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-7uKIarVW.d.mts +1495 -0
- package/dist/index-N8h8E1s6.d.mts +398 -0
- package/dist/index-nmyNJa57.d.mts +300 -0
- package/dist/lib/v1/client.d.mts +1610 -0
- package/dist/lib/v1/client.mjs +8 -0
- package/dist/lib/v1/client.test.d.mts +30 -0
- package/dist/lib/v1/client.test.mjs +2 -0
- package/dist/lib/v1/index.d.mts +2 -0
- package/dist/lib/v1/index.mjs +137 -0
- package/dist/lib/v1/types.d.mts +2 -0
- package/dist/lib/v1/types.mjs +1 -0
- package/dist/lib/v1/utils.d.mts +26 -0
- package/dist/lib/v1/utils.mjs +35 -0
- package/dist/lib/v2/client.d.mts +1610 -0
- package/dist/lib/v2/client.mjs +8 -0
- package/dist/lib/v2/client.test.d.mts +35 -0
- package/dist/lib/v2/client.test.mjs +2 -0
- package/dist/lib/v2/index.d.mts +2 -0
- package/dist/lib/v2/index.mjs +192 -0
- package/dist/lib/v2/types.d.mts +2 -0
- package/dist/lib/v2/types.mjs +1 -0
- package/dist/lib/v2/utils.d.mts +44 -0
- package/dist/lib/v2/utils.mjs +38 -0
- package/dist/server/index.d.mts +2 -0
- package/dist/server/index.mjs +35 -0
- package/dist/server/utils.d.mts +27 -0
- package/dist/server/utils.mjs +31 -0
- package/dist/server/v1/index.d.mts +902 -0
- package/dist/server/v1/index.mjs +2 -0
- package/dist/server/v2/index.d.mts +1112 -0
- package/dist/server/v2/index.mjs +2 -0
- package/dist/server/versioning.d.mts +2019 -0
- package/dist/server/versioning.mjs +2 -0
- package/dist/v1-Da4_o5R1.mjs +261 -0
- package/generated/{commentary_translation.json → v1/commentary_translation.json} +1 -1
- package/generated/{definition_translation.json → v1/definition_translation.json} +1 -1
- package/generated/{etymology_translation.json → v1/etymology_translation.json} +2 -4
- package/generated/{fingerspelling.json → v1/fingerspelling.json} +5 -20
- package/generated/{fingerspelling_sign.json → v1/fingerspelling_sign.json} +4 -16
- package/generated/{font.json → v1/font.json} +1 -1
- package/generated/{fonts.json → v1/fonts.json} +1 -1
- package/generated/{icon_translation.json → v1/icon_translation.json} +1 -1
- package/generated/{languages.json → v1/languages.json} +4 -14
- package/generated/{parameters_translation.json → v1/parameters_translation.json} +1 -1
- package/generated/{sign.json → v1/sign.json} +3 -8
- package/generated/{signs.json → v1/signs.json} +4 -12
- package/generated/{sitelen_pona_translation.json → v1/sitelen_pona_translation.json} +1 -1
- package/generated/{word.json → v1/word.json} +6 -29
- package/generated/v2/fingerspelling.json +184 -0
- package/generated/v2/fingerspellings.json +198 -0
- package/generated/v2/font.json +164 -0
- package/generated/v2/fonts.json +178 -0
- package/generated/v2/glyph.json +186 -0
- package/generated/v2/glyphs.json +196 -0
- package/generated/v2/language.json +76 -0
- package/generated/v2/languages.json +86 -0
- package/generated/v2/sign.json +221 -0
- package/generated/v2/signs.json +235 -0
- package/generated/v2/word.json +449 -0
- package/generated/v2/words.json +459 -0
- package/package.json +66 -35
- package/dist/client.d.ts +0 -2
- package/dist/client.js +0 -172
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -223
- package/dist/lib/client.d.ts +0 -743
- package/dist/lib/client.test.d.ts +0 -27
- package/dist/lib/index.d.ts +0 -962
- package/dist/lib/types.d.ts +0 -17
- package/dist/lib/utils.d.ts +0 -13
- package/dist/server/index.d.ts +0 -685
- package/dist/server/utils.d.ts +0 -19
- package/dist/server/v1/index.d.ts +0 -677
- package/dist/server/versioning.d.ts +0 -2423
- package/dist/utils-B3Jq5OVZ.js +0 -2899
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -9
- package/generated/words.json +0 -315
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"id": {
|
|
6
|
+
"$ref": "#/$defs/__schema0"
|
|
7
|
+
},
|
|
8
|
+
"is_two_handed": {
|
|
9
|
+
"$ref": "#/$defs/__schema1"
|
|
10
|
+
},
|
|
11
|
+
"etymology": {
|
|
12
|
+
"$ref": "#/$defs/__schema2"
|
|
13
|
+
},
|
|
14
|
+
"signwriting": {
|
|
15
|
+
"$ref": "#/$defs/__schema5"
|
|
16
|
+
},
|
|
17
|
+
"video": {
|
|
18
|
+
"$ref": "#/$defs/__schema8"
|
|
19
|
+
},
|
|
20
|
+
"translations": {
|
|
21
|
+
"$ref": "#/$defs/__schema12"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"id",
|
|
26
|
+
"is_two_handed",
|
|
27
|
+
"etymology",
|
|
28
|
+
"signwriting",
|
|
29
|
+
"translations"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"description": "Info on a fingerspelling sign.",
|
|
33
|
+
"$defs": {
|
|
34
|
+
"__schema0": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1,
|
|
37
|
+
"description": "A unique name for the fingerspelling which is also a gloss."
|
|
38
|
+
},
|
|
39
|
+
"__schema1": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Whether the sign is two-handed or not."
|
|
42
|
+
},
|
|
43
|
+
"__schema2": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"$ref": "#/$defs/__schema3"
|
|
47
|
+
},
|
|
48
|
+
"description": "Unlocalized etymological values regarding this sign's origin"
|
|
49
|
+
},
|
|
50
|
+
"__schema3": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"language": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "The language of the sign."
|
|
56
|
+
},
|
|
57
|
+
"sign": {
|
|
58
|
+
"description": "The name of the sign such that it could be found in a sign language dictionary.",
|
|
59
|
+
"$ref": "#/$defs/__schema4"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"language"
|
|
64
|
+
],
|
|
65
|
+
"additionalProperties": false
|
|
66
|
+
},
|
|
67
|
+
"__schema4": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"__schema5": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"fsw": {
|
|
74
|
+
"$ref": "#/$defs/__schema6"
|
|
75
|
+
},
|
|
76
|
+
"swu": {
|
|
77
|
+
"$ref": "#/$defs/__schema7"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": [
|
|
81
|
+
"fsw",
|
|
82
|
+
"swu"
|
|
83
|
+
],
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"description": "Scripts for representing a sign as characters."
|
|
86
|
+
},
|
|
87
|
+
"__schema6": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"minLength": 1,
|
|
90
|
+
"description": "The [Formal SignWriting](https://en.wikipedia.org/wiki/SignWriting) representation of the sign."
|
|
91
|
+
},
|
|
92
|
+
"__schema7": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"minLength": 1,
|
|
95
|
+
"description": "The [SignWriting with Unicode](https://en.wikipedia.org/wiki/SignWriting) representation of the sign."
|
|
96
|
+
},
|
|
97
|
+
"__schema8": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {
|
|
100
|
+
"gif": {
|
|
101
|
+
"$ref": "#/$defs/__schema9"
|
|
102
|
+
},
|
|
103
|
+
"mp4": {
|
|
104
|
+
"$ref": "#/$defs/__schema11"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": [
|
|
108
|
+
"gif",
|
|
109
|
+
"mp4"
|
|
110
|
+
],
|
|
111
|
+
"additionalProperties": false,
|
|
112
|
+
"description": "Videos of the sign being performed, by format."
|
|
113
|
+
},
|
|
114
|
+
"__schema9": {
|
|
115
|
+
"description": "A link to a gif of the sign being signed.",
|
|
116
|
+
"$ref": "#/$defs/__schema10"
|
|
117
|
+
},
|
|
118
|
+
"__schema10": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"format": "uri",
|
|
121
|
+
"description": "A URL pointing to some external resource."
|
|
122
|
+
},
|
|
123
|
+
"__schema11": {
|
|
124
|
+
"description": "a link to an mp4 of the sign being signed.",
|
|
125
|
+
"$ref": "#/$defs/__schema10"
|
|
126
|
+
},
|
|
127
|
+
"__schema12": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"parameters": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"handshape": {
|
|
134
|
+
"$ref": "#/$defs/__schema13"
|
|
135
|
+
},
|
|
136
|
+
"movement": {
|
|
137
|
+
"$ref": "#/$defs/__schema15"
|
|
138
|
+
},
|
|
139
|
+
"placement": {
|
|
140
|
+
"$ref": "#/$defs/__schema17"
|
|
141
|
+
},
|
|
142
|
+
"orientation": {
|
|
143
|
+
"$ref": "#/$defs/__schema19"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"description": "Partly localized descriptions of how a sign is signed."
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": [
|
|
151
|
+
"parameters"
|
|
152
|
+
],
|
|
153
|
+
"additionalProperties": false
|
|
154
|
+
},
|
|
155
|
+
"__schema13": {
|
|
156
|
+
"description": "The shape of the hand when signing, identified by its name in ASL. Should not be translated in any language other than Toki Pona",
|
|
157
|
+
"$ref": "#/$defs/__schema14"
|
|
158
|
+
},
|
|
159
|
+
"__schema14": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"__schema15": {
|
|
163
|
+
"description": "The motion of the hand when signing.",
|
|
164
|
+
"$ref": "#/$defs/__schema16"
|
|
165
|
+
},
|
|
166
|
+
"__schema16": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"__schema17": {
|
|
170
|
+
"description": "The placement of the hand when signing.",
|
|
171
|
+
"$ref": "#/$defs/__schema18"
|
|
172
|
+
},
|
|
173
|
+
"__schema18": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"__schema19": {
|
|
177
|
+
"description": "The orientation of the hand when signing.",
|
|
178
|
+
"$ref": "#/$defs/__schema20"
|
|
179
|
+
},
|
|
180
|
+
"__schema20": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"propertyNames": {
|
|
5
|
+
"$ref": "#/$defs/__schema0"
|
|
6
|
+
},
|
|
7
|
+
"additionalProperties": {
|
|
8
|
+
"$ref": "#/$defs/__schema1"
|
|
9
|
+
},
|
|
10
|
+
"description": "A raw data object containing information about Luka Pona fingerspelling signs",
|
|
11
|
+
"$defs": {
|
|
12
|
+
"__schema0": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "A unique identifier for an object in Linku. Generally named after the object."
|
|
16
|
+
},
|
|
17
|
+
"__schema1": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"id": {
|
|
21
|
+
"$ref": "#/$defs/__schema2"
|
|
22
|
+
},
|
|
23
|
+
"is_two_handed": {
|
|
24
|
+
"$ref": "#/$defs/__schema3"
|
|
25
|
+
},
|
|
26
|
+
"etymology": {
|
|
27
|
+
"$ref": "#/$defs/__schema4"
|
|
28
|
+
},
|
|
29
|
+
"signwriting": {
|
|
30
|
+
"$ref": "#/$defs/__schema7"
|
|
31
|
+
},
|
|
32
|
+
"video": {
|
|
33
|
+
"$ref": "#/$defs/__schema10"
|
|
34
|
+
},
|
|
35
|
+
"translations": {
|
|
36
|
+
"$ref": "#/$defs/__schema14"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"id",
|
|
41
|
+
"is_two_handed",
|
|
42
|
+
"etymology",
|
|
43
|
+
"signwriting",
|
|
44
|
+
"translations"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "Info on a fingerspelling sign."
|
|
48
|
+
},
|
|
49
|
+
"__schema2": {
|
|
50
|
+
"description": "A unique name for the fingerspelling which is also a gloss.",
|
|
51
|
+
"$ref": "#/$defs/__schema0"
|
|
52
|
+
},
|
|
53
|
+
"__schema3": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Whether the sign is two-handed or not."
|
|
56
|
+
},
|
|
57
|
+
"__schema4": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"$ref": "#/$defs/__schema5"
|
|
61
|
+
},
|
|
62
|
+
"description": "Unlocalized etymological values regarding this sign's origin"
|
|
63
|
+
},
|
|
64
|
+
"__schema5": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"language": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "The language of the sign."
|
|
70
|
+
},
|
|
71
|
+
"sign": {
|
|
72
|
+
"description": "The name of the sign such that it could be found in a sign language dictionary.",
|
|
73
|
+
"$ref": "#/$defs/__schema6"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": [
|
|
77
|
+
"language"
|
|
78
|
+
],
|
|
79
|
+
"additionalProperties": false
|
|
80
|
+
},
|
|
81
|
+
"__schema6": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"__schema7": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"fsw": {
|
|
88
|
+
"$ref": "#/$defs/__schema8"
|
|
89
|
+
},
|
|
90
|
+
"swu": {
|
|
91
|
+
"$ref": "#/$defs/__schema9"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": [
|
|
95
|
+
"fsw",
|
|
96
|
+
"swu"
|
|
97
|
+
],
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"description": "Scripts for representing a sign as characters."
|
|
100
|
+
},
|
|
101
|
+
"__schema8": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"minLength": 1,
|
|
104
|
+
"description": "The [Formal SignWriting](https://en.wikipedia.org/wiki/SignWriting) representation of the sign."
|
|
105
|
+
},
|
|
106
|
+
"__schema9": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"minLength": 1,
|
|
109
|
+
"description": "The [SignWriting with Unicode](https://en.wikipedia.org/wiki/SignWriting) representation of the sign."
|
|
110
|
+
},
|
|
111
|
+
"__schema10": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"gif": {
|
|
115
|
+
"$ref": "#/$defs/__schema11"
|
|
116
|
+
},
|
|
117
|
+
"mp4": {
|
|
118
|
+
"$ref": "#/$defs/__schema13"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"gif",
|
|
123
|
+
"mp4"
|
|
124
|
+
],
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"description": "Videos of the sign being performed, by format."
|
|
127
|
+
},
|
|
128
|
+
"__schema11": {
|
|
129
|
+
"description": "A link to a gif of the sign being signed.",
|
|
130
|
+
"$ref": "#/$defs/__schema12"
|
|
131
|
+
},
|
|
132
|
+
"__schema12": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"format": "uri",
|
|
135
|
+
"description": "A URL pointing to some external resource."
|
|
136
|
+
},
|
|
137
|
+
"__schema13": {
|
|
138
|
+
"description": "a link to an mp4 of the sign being signed.",
|
|
139
|
+
"$ref": "#/$defs/__schema12"
|
|
140
|
+
},
|
|
141
|
+
"__schema14": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"parameters": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"handshape": {
|
|
148
|
+
"$ref": "#/$defs/__schema15"
|
|
149
|
+
},
|
|
150
|
+
"movement": {
|
|
151
|
+
"$ref": "#/$defs/__schema17"
|
|
152
|
+
},
|
|
153
|
+
"placement": {
|
|
154
|
+
"$ref": "#/$defs/__schema19"
|
|
155
|
+
},
|
|
156
|
+
"orientation": {
|
|
157
|
+
"$ref": "#/$defs/__schema21"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"additionalProperties": false,
|
|
161
|
+
"description": "Partly localized descriptions of how a sign is signed."
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"required": [
|
|
165
|
+
"parameters"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": false
|
|
168
|
+
},
|
|
169
|
+
"__schema15": {
|
|
170
|
+
"description": "The shape of the hand when signing, identified by its name in ASL. Should not be translated in any language other than Toki Pona",
|
|
171
|
+
"$ref": "#/$defs/__schema16"
|
|
172
|
+
},
|
|
173
|
+
"__schema16": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"__schema17": {
|
|
177
|
+
"description": "The motion of the hand when signing.",
|
|
178
|
+
"$ref": "#/$defs/__schema18"
|
|
179
|
+
},
|
|
180
|
+
"__schema18": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"__schema19": {
|
|
184
|
+
"description": "The placement of the hand when signing.",
|
|
185
|
+
"$ref": "#/$defs/__schema20"
|
|
186
|
+
},
|
|
187
|
+
"__schema20": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"__schema21": {
|
|
191
|
+
"description": "The orientation of the hand when signing.",
|
|
192
|
+
"$ref": "#/$defs/__schema22"
|
|
193
|
+
},
|
|
194
|
+
"__schema22": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"id": {
|
|
6
|
+
"$ref": "#/$defs/__schema0"
|
|
7
|
+
},
|
|
8
|
+
"author": {
|
|
9
|
+
"$ref": "#/$defs/__schema1"
|
|
10
|
+
},
|
|
11
|
+
"features": {
|
|
12
|
+
"$ref": "#/$defs/__schema3"
|
|
13
|
+
},
|
|
14
|
+
"filename": {
|
|
15
|
+
"$ref": "#/$defs/__schema5"
|
|
16
|
+
},
|
|
17
|
+
"last_updated": {
|
|
18
|
+
"$ref": "#/$defs/__schema6"
|
|
19
|
+
},
|
|
20
|
+
"license": {
|
|
21
|
+
"$ref": "#/$defs/__schema7"
|
|
22
|
+
},
|
|
23
|
+
"ligatures": {
|
|
24
|
+
"$ref": "#/$defs/__schema8"
|
|
25
|
+
},
|
|
26
|
+
"name": {
|
|
27
|
+
"$ref": "#/$defs/__schema9"
|
|
28
|
+
},
|
|
29
|
+
"style": {
|
|
30
|
+
"$ref": "#/$defs/__schema10"
|
|
31
|
+
},
|
|
32
|
+
"ucsur": {
|
|
33
|
+
"$ref": "#/$defs/__schema11"
|
|
34
|
+
},
|
|
35
|
+
"version": {
|
|
36
|
+
"$ref": "#/$defs/__schema12"
|
|
37
|
+
},
|
|
38
|
+
"writing_system": {
|
|
39
|
+
"$ref": "#/$defs/__schema13"
|
|
40
|
+
},
|
|
41
|
+
"links": {
|
|
42
|
+
"$ref": "#/$defs/__schema14"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"id",
|
|
47
|
+
"author",
|
|
48
|
+
"features",
|
|
49
|
+
"filename",
|
|
50
|
+
"last_updated",
|
|
51
|
+
"license",
|
|
52
|
+
"ligatures",
|
|
53
|
+
"name",
|
|
54
|
+
"style",
|
|
55
|
+
"ucsur",
|
|
56
|
+
"version",
|
|
57
|
+
"writing_system",
|
|
58
|
+
"links"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"description": "Info on a font for Toki Pona",
|
|
62
|
+
"$defs": {
|
|
63
|
+
"__schema0": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"minLength": 1,
|
|
66
|
+
"description": "The font's unique ID, identifying it among other fonts"
|
|
67
|
+
},
|
|
68
|
+
"__schema1": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"$ref": "#/$defs/__schema2"
|
|
72
|
+
},
|
|
73
|
+
"description": "a list of this font's authors"
|
|
74
|
+
},
|
|
75
|
+
"__schema2": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"minLength": 1
|
|
78
|
+
},
|
|
79
|
+
"__schema3": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"$ref": "#/$defs/__schema4"
|
|
83
|
+
},
|
|
84
|
+
"description": "a list of features this font supports"
|
|
85
|
+
},
|
|
86
|
+
"__schema4": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"minLength": 1
|
|
89
|
+
},
|
|
90
|
+
"__schema5": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"pattern": "^(?:.+\\.(ttf|otf|woff2|woff))?$",
|
|
93
|
+
"description": "the name of the file this font is stored in at https://github.com/lipu-linku/ijo"
|
|
94
|
+
},
|
|
95
|
+
"__schema6": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"pattern": "^(?:|(?<year>20\\d{2})(?:-(?<month>0[1-9]|1[0-2])(?:-(?<day>0[1-9]|[12]\\d|3[01]))?)?|(?<startYear>20\\d{2})-(?<endYear>20\\d{2}))$",
|
|
98
|
+
"description": "the rough date of this font's last update"
|
|
99
|
+
},
|
|
100
|
+
"__schema7": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "an SPDX expression describing this font's license: https://spdx.org/licenses/"
|
|
103
|
+
},
|
|
104
|
+
"__schema8": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"description": "whether this font supports ligatures"
|
|
107
|
+
},
|
|
108
|
+
"__schema9": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1,
|
|
111
|
+
"description": "this font's name"
|
|
112
|
+
},
|
|
113
|
+
"__schema10": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 1,
|
|
116
|
+
"description": "the general style of this font"
|
|
117
|
+
},
|
|
118
|
+
"__schema11": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"description": "whether this font conforms to the UCSUR standard: https://www.kreativekorp.com/ucsur/charts/sitelen.html"
|
|
121
|
+
},
|
|
122
|
+
"__schema12": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "the current version of this font"
|
|
125
|
+
},
|
|
126
|
+
"__schema13": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"enum": [
|
|
129
|
+
"sitelen pona",
|
|
130
|
+
"sitelen sitelen",
|
|
131
|
+
"alphabet",
|
|
132
|
+
"syllabary",
|
|
133
|
+
"logography",
|
|
134
|
+
"tokiponido alphabet",
|
|
135
|
+
"tokiponido syllabary",
|
|
136
|
+
"tokiponido logography"
|
|
137
|
+
],
|
|
138
|
+
"description": "the writing system this font uses as its script"
|
|
139
|
+
},
|
|
140
|
+
"__schema14": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"fontfile": {
|
|
144
|
+
"description": "a link to the font file published by the original author (not the mirror on the Linku Project's GitHub)",
|
|
145
|
+
"$ref": "#/$defs/__schema15"
|
|
146
|
+
},
|
|
147
|
+
"repo": {
|
|
148
|
+
"description": "a link to a web hosted repository of this font's source files (usually hosted on GitHub or GitLab)",
|
|
149
|
+
"$ref": "#/$defs/__schema15"
|
|
150
|
+
},
|
|
151
|
+
"webpage": {
|
|
152
|
+
"description": "a link to this font's home page, usually showcasing its features and usage/installation",
|
|
153
|
+
"$ref": "#/$defs/__schema15"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"additionalProperties": false
|
|
157
|
+
},
|
|
158
|
+
"__schema15": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"format": "uri",
|
|
161
|
+
"description": "A URL pointing to some external resource."
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|