@kulupu-linku/sona 2.0.2 → 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-1jX6YIBj.d.ts → index-7uKIarVW.d.mts} +6 -8
- package/dist/{client-BSyS8F5a.d.ts → lib/v1/client.d.mts} +55 -57
- package/dist/{client-BitJ28pJ.js → lib/v1/client.mjs} +1 -3
- package/dist/lib/v1/{client.test.d.ts → client.test.d.mts} +2 -3
- package/dist/lib/v1/client.test.mjs +2 -0
- package/dist/lib/v1/{index.d.ts → index.d.mts} +1 -1
- package/dist/{v1-DkHVwPCI.js → lib/v1/index.mjs} +2 -4
- package/dist/lib/v1/{types.d.ts → types.d.mts} +1 -1
- package/dist/lib/v1/types.mjs +1 -0
- package/dist/lib/v1/{utils.d.ts → utils.d.mts} +1 -1
- package/dist/{utils-QiKwNnnL.js → lib/v1/utils.mjs} +1 -3
- package/dist/{client-CUMo53JZ.d.ts → lib/v2/client.d.mts} +55 -57
- package/dist/{client-DNWH1gFt.js → lib/v2/client.mjs} +1 -3
- package/dist/lib/v2/{client.test.d.ts → client.test.d.mts} +2 -3
- package/dist/lib/v2/client.test.mjs +2 -0
- package/dist/lib/v2/{index.d.ts → index.d.mts} +1 -1
- package/dist/{v2-CDtbJFxV.js → lib/v2/index.mjs} +3 -5
- package/dist/lib/v2/{types.d.ts → types.d.mts} +1 -1
- package/dist/lib/v2/types.mjs +1 -0
- package/dist/lib/v2/{utils.d.ts → utils.d.mts} +1 -1
- package/dist/{utils-Z1o5sWsW.js → lib/v2/utils.mjs} +1 -3
- package/dist/server/index.d.mts +2 -0
- package/dist/server/{index.js → index.mjs} +4 -12
- package/dist/server/{utils.d.ts → utils.d.mts} +5 -5
- package/dist/{utils-DkAaVBMs.js → server/utils.mjs} +2 -4
- package/dist/server/v1/{index.d.ts → index.d.mts} +4 -4
- package/dist/server/v1/index.mjs +2 -0
- package/dist/server/v2/{index.d.ts → index.d.mts} +4 -4
- package/dist/server/v2/index.mjs +2 -0
- package/dist/server/{versioning.d.ts → versioning.d.mts} +6 -6
- package/dist/server/versioning.mjs +2 -0
- package/dist/{v1-obRCoWWK.js → v1-Da4_o5R1.mjs} +9 -15
- package/generated/v1/commentary_translation.json +1 -1
- package/generated/v1/definition_translation.json +1 -1
- package/generated/v1/etymology_translation.json +2 -4
- package/generated/v1/fingerspelling.json +5 -20
- package/generated/v1/fingerspelling_sign.json +4 -16
- package/generated/v1/font.json +1 -1
- package/generated/v1/fonts.json +1 -1
- package/generated/v1/icon_translation.json +1 -1
- package/generated/v1/languages.json +4 -14
- package/generated/v1/parameters_translation.json +1 -1
- package/generated/v1/sign.json +3 -8
- package/generated/v1/signs.json +4 -12
- package/generated/v1/sitelen_pona_translation.json +1 -1
- package/generated/v1/word.json +6 -29
- package/generated/v2/fingerspelling.json +124 -64
- package/generated/v2/fingerspellings.json +178 -115
- package/generated/v2/font.json +109 -64
- package/generated/v2/fonts.json +160 -112
- package/generated/v2/glyph.json +72 -46
- package/generated/v2/glyphs.json +171 -142
- package/generated/v2/language.json +34 -16
- package/generated/v2/languages.json +75 -56
- package/generated/v2/sign.json +149 -77
- package/generated/v2/signs.json +212 -137
- package/generated/v2/word.json +298 -155
- package/generated/v2/words.json +416 -270
- package/package.json +44 -32
- package/dist/.assetsignore +0 -0
- package/dist/lib/v1/client.d.ts +0 -3
- package/dist/lib/v1/client.js +0 -3
- package/dist/lib/v1/client.test.js +0 -3
- package/dist/lib/v1/index.js +0 -4
- package/dist/lib/v1/types.js +0 -1
- package/dist/lib/v1/utils.js +0 -3
- package/dist/lib/v2/client.d.ts +0 -3
- package/dist/lib/v2/client.js +0 -3
- package/dist/lib/v2/client.test.js +0 -3
- package/dist/lib/v2/index.js +0 -4
- package/dist/lib/v2/types.js +0 -1
- package/dist/lib/v2/utils.js +0 -3
- package/dist/server/index.d.ts +0 -2
- package/dist/server/utils.js +0 -3
- package/dist/server/v1/index.js +0 -8
- package/dist/server/v2/index.js +0 -8
- package/dist/server/versioning.js +0 -8
- /package/dist/{index-DObG_APy.d.ts → index-N8h8E1s6.d.mts} +0 -0
- /package/dist/{index-DsVEVr6r.d.ts → index-nmyNJa57.d.mts} +0 -0
package/generated/v2/word.json
CHANGED
|
@@ -3,138 +3,311 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"properties": {
|
|
5
5
|
"id": {
|
|
6
|
-
"description": "A unique identifier for the word. May have an integer to distinguish words with the same spelling but distinct coinings.",
|
|
7
6
|
"$ref": "#/$defs/__schema0"
|
|
8
7
|
},
|
|
9
8
|
"word": {
|
|
10
|
-
"
|
|
11
|
-
"type": "string",
|
|
12
|
-
"minLength": 1
|
|
9
|
+
"$ref": "#/$defs/__schema2"
|
|
13
10
|
},
|
|
14
11
|
"author_verbatim": {
|
|
12
|
+
"$ref": "#/$defs/__schema3"
|
|
13
|
+
},
|
|
14
|
+
"author_source": {
|
|
15
|
+
"$ref": "#/$defs/__schema5"
|
|
16
|
+
},
|
|
17
|
+
"book": {
|
|
18
|
+
"$ref": "#/$defs/__schema7"
|
|
19
|
+
},
|
|
20
|
+
"coined_era": {
|
|
21
|
+
"$ref": "#/$defs/__schema8"
|
|
22
|
+
},
|
|
23
|
+
"creation_date": {
|
|
24
|
+
"$ref": "#/$defs/__schema9"
|
|
25
|
+
},
|
|
26
|
+
"author": {
|
|
27
|
+
"$ref": "#/$defs/__schema10"
|
|
28
|
+
},
|
|
29
|
+
"ku_data": {
|
|
30
|
+
"$ref": "#/$defs/__schema12"
|
|
31
|
+
},
|
|
32
|
+
"parent_id": {
|
|
33
|
+
"$ref": "#/$defs/__schema15"
|
|
34
|
+
},
|
|
35
|
+
"see_also": {
|
|
36
|
+
"$ref": "#/$defs/__schema17"
|
|
37
|
+
},
|
|
38
|
+
"resources": {
|
|
39
|
+
"$ref": "#/$defs/__schema19"
|
|
40
|
+
},
|
|
41
|
+
"representations": {
|
|
42
|
+
"$ref": "#/$defs/__schema23"
|
|
43
|
+
},
|
|
44
|
+
"source_language": {
|
|
45
|
+
"$ref": "#/$defs/__schema34"
|
|
46
|
+
},
|
|
47
|
+
"usage_category": {
|
|
48
|
+
"$ref": "#/$defs/__schema35"
|
|
49
|
+
},
|
|
50
|
+
"deprecated": {
|
|
51
|
+
"$ref": "#/$defs/__schema36"
|
|
52
|
+
},
|
|
53
|
+
"audio": {
|
|
54
|
+
"$ref": "#/$defs/__schema37"
|
|
55
|
+
},
|
|
56
|
+
"pu_verbatim": {
|
|
57
|
+
"$ref": "#/$defs/__schema40"
|
|
58
|
+
},
|
|
59
|
+
"usage": {
|
|
60
|
+
"$ref": "#/$defs/__schema43"
|
|
61
|
+
},
|
|
62
|
+
"glyph_ids": {
|
|
63
|
+
"$ref": "#/$defs/__schema45"
|
|
64
|
+
},
|
|
65
|
+
"primary_glyph_id": {
|
|
66
|
+
"$ref": "#/$defs/__schema46"
|
|
67
|
+
},
|
|
68
|
+
"image": {
|
|
69
|
+
"$ref": "#/$defs/__schema48"
|
|
70
|
+
},
|
|
71
|
+
"svg": {
|
|
72
|
+
"$ref": "#/$defs/__schema49"
|
|
73
|
+
},
|
|
74
|
+
"translations": {
|
|
75
|
+
"$ref": "#/$defs/__schema50"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": [
|
|
79
|
+
"id",
|
|
80
|
+
"word",
|
|
81
|
+
"book",
|
|
82
|
+
"coined_era",
|
|
83
|
+
"creation_date",
|
|
84
|
+
"author",
|
|
85
|
+
"see_also",
|
|
86
|
+
"resources",
|
|
87
|
+
"representations",
|
|
88
|
+
"source_language",
|
|
89
|
+
"usage_category",
|
|
90
|
+
"deprecated",
|
|
91
|
+
"audio",
|
|
92
|
+
"usage",
|
|
93
|
+
"glyph_ids",
|
|
94
|
+
"translations"
|
|
95
|
+
],
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"description": "General info on a Toki Pona word",
|
|
98
|
+
"$defs": {
|
|
99
|
+
"__schema0": {
|
|
100
|
+
"description": "A unique identifier for the word. May have an integer to distinguish words with the same spelling but distinct coinings.",
|
|
101
|
+
"$ref": "#/$defs/__schema1"
|
|
102
|
+
},
|
|
103
|
+
"__schema1": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"minLength": 1,
|
|
106
|
+
"description": "A unique identifier for an object in Linku. Generally named after the object."
|
|
107
|
+
},
|
|
108
|
+
"__schema2": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1,
|
|
111
|
+
"description": "The latin alphabet representation of the word."
|
|
112
|
+
},
|
|
113
|
+
"__schema3": {
|
|
15
114
|
"description": "The author's original definition, taken verbatim in their words",
|
|
115
|
+
"$ref": "#/$defs/__schema4"
|
|
116
|
+
},
|
|
117
|
+
"__schema4": {
|
|
16
118
|
"type": "string"
|
|
17
119
|
},
|
|
18
|
-
"
|
|
120
|
+
"__schema5": {
|
|
19
121
|
"description": "The source or origin of this glyph, often a URL.",
|
|
20
|
-
"
|
|
122
|
+
"$ref": "#/$defs/__schema6"
|
|
21
123
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
124
|
+
"__schema6": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "The source or origin of this object, often a URL."
|
|
127
|
+
},
|
|
128
|
+
"__schema7": {
|
|
24
129
|
"type": "string",
|
|
25
130
|
"enum": [
|
|
26
131
|
"pu",
|
|
27
132
|
"ku suli",
|
|
28
133
|
"ku lili",
|
|
29
134
|
"none"
|
|
30
|
-
]
|
|
135
|
+
],
|
|
136
|
+
"description": "Which official Toki Pona book was this word featured in, if any."
|
|
31
137
|
},
|
|
32
|
-
"
|
|
33
|
-
"description": "The period of time in which this word was coined, relative to the publication of the first two official Toki Pona books",
|
|
138
|
+
"__schema8": {
|
|
34
139
|
"type": "string",
|
|
35
140
|
"enum": [
|
|
36
141
|
"pre-pu",
|
|
37
142
|
"post-pu",
|
|
38
143
|
"post-ku"
|
|
39
|
-
]
|
|
144
|
+
],
|
|
145
|
+
"description": "The period of time in which this word was coined, relative to the publication of the first two official Toki Pona books"
|
|
40
146
|
},
|
|
41
|
-
"
|
|
42
|
-
"description": "When this word was coined, to precision known.",
|
|
147
|
+
"__schema9": {
|
|
43
148
|
"type": "string",
|
|
44
|
-
"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}))$"
|
|
149
|
+
"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}))$",
|
|
150
|
+
"description": "When this word was coined, to precision known."
|
|
45
151
|
},
|
|
46
|
-
"
|
|
47
|
-
"description": "The name or names of those involved in creating this word.",
|
|
152
|
+
"__schema10": {
|
|
48
153
|
"type": "array",
|
|
49
154
|
"items": {
|
|
50
|
-
"$ref": "#/$defs/
|
|
51
|
-
}
|
|
155
|
+
"$ref": "#/$defs/__schema11"
|
|
156
|
+
},
|
|
157
|
+
"description": "The name or names of those involved in creating this word."
|
|
52
158
|
},
|
|
53
|
-
"
|
|
159
|
+
"__schema11": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"minLength": 1
|
|
162
|
+
},
|
|
163
|
+
"__schema12": {
|
|
54
164
|
"description": "The usage data of this word, as described in the Toki Pona Dictionary.",
|
|
165
|
+
"$ref": "#/$defs/__schema13"
|
|
166
|
+
},
|
|
167
|
+
"__schema13": {
|
|
55
168
|
"type": "object",
|
|
56
169
|
"propertyNames": {
|
|
57
|
-
"description": "A possible translation of the word into English, as listed in the Toki Pona dictionary.",
|
|
58
170
|
"type": "string",
|
|
59
|
-
"minLength": 1
|
|
171
|
+
"minLength": 1,
|
|
172
|
+
"description": "A possible translation of the word into English, as listed in the Toki Pona dictionary."
|
|
60
173
|
},
|
|
61
174
|
"additionalProperties": {
|
|
62
175
|
"description": "The percentage of Toki Pona Dictionary survey respondents who report this translation as accurate to their usage.",
|
|
63
|
-
"$ref": "#/$defs/
|
|
176
|
+
"$ref": "#/$defs/__schema14"
|
|
64
177
|
}
|
|
65
178
|
},
|
|
66
|
-
"
|
|
179
|
+
"__schema14": {
|
|
180
|
+
"type": "number",
|
|
181
|
+
"minimum": 0,
|
|
182
|
+
"maximum": 100
|
|
183
|
+
},
|
|
184
|
+
"__schema15": {
|
|
67
185
|
"description": "The most widely used word which is considered to be an exact synonym for this word.",
|
|
68
|
-
"$ref": "#/$defs/
|
|
186
|
+
"$ref": "#/$defs/__schema16"
|
|
69
187
|
},
|
|
70
|
-
"
|
|
188
|
+
"__schema16": {
|
|
189
|
+
"description": "The ID of an object related to this one.",
|
|
190
|
+
"$ref": "#/$defs/__schema1"
|
|
191
|
+
},
|
|
192
|
+
"__schema17": {
|
|
193
|
+
"type": "array",
|
|
194
|
+
"items": {
|
|
195
|
+
"$ref": "#/$defs/__schema1"
|
|
196
|
+
},
|
|
71
197
|
"description": "The IDs of words related to this one.",
|
|
72
|
-
"$ref": "#/$defs/
|
|
198
|
+
"$ref": "#/$defs/__schema18"
|
|
73
199
|
},
|
|
74
|
-
"
|
|
75
|
-
"
|
|
200
|
+
"__schema18": {
|
|
201
|
+
"type": "array",
|
|
202
|
+
"items": {
|
|
203
|
+
"$ref": "#/$defs/__schema1"
|
|
204
|
+
},
|
|
205
|
+
"description": "The IDs of one or more objects related to this one."
|
|
206
|
+
},
|
|
207
|
+
"__schema19": {
|
|
76
208
|
"type": "object",
|
|
77
209
|
"properties": {
|
|
78
210
|
"sona_pona": {
|
|
79
|
-
"
|
|
80
|
-
"$ref": "#/$defs/__schema4"
|
|
211
|
+
"$ref": "#/$defs/__schema20"
|
|
81
212
|
},
|
|
82
213
|
"lipamanka_semantic": {
|
|
83
|
-
"
|
|
84
|
-
"$ref": "#/$defs/__schema4"
|
|
214
|
+
"$ref": "#/$defs/__schema22"
|
|
85
215
|
}
|
|
86
216
|
},
|
|
87
|
-
"additionalProperties": false
|
|
217
|
+
"additionalProperties": false,
|
|
218
|
+
"description": "Non-Linku resources related to the specific word, such as wiki links."
|
|
88
219
|
},
|
|
89
|
-
"
|
|
90
|
-
"description": "
|
|
220
|
+
"__schema20": {
|
|
221
|
+
"description": "A link to the word's page on sona.pona.la, a Toki Pona wiki. May redirect for words with references but no dedicated page.",
|
|
222
|
+
"$ref": "#/$defs/__schema21"
|
|
223
|
+
},
|
|
224
|
+
"__schema21": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"format": "uri",
|
|
227
|
+
"description": "A URL pointing to some external resource."
|
|
228
|
+
},
|
|
229
|
+
"__schema22": {
|
|
230
|
+
"description": "A link to lipamanka's description of the word's semantic space.",
|
|
231
|
+
"$ref": "#/$defs/__schema21"
|
|
232
|
+
},
|
|
233
|
+
"__schema23": {
|
|
91
234
|
"type": "object",
|
|
92
235
|
"properties": {
|
|
93
236
|
"sitelen_emosi": {
|
|
94
|
-
"
|
|
95
|
-
"type": "string",
|
|
96
|
-
"minLength": 1,
|
|
97
|
-
"format": "emoji",
|
|
98
|
-
"pattern": "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"
|
|
237
|
+
"$ref": "#/$defs/__schema24"
|
|
99
238
|
},
|
|
100
239
|
"sitelen_jelo": {
|
|
101
|
-
"
|
|
102
|
-
"minItems": 1,
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": {
|
|
105
|
-
"type": "string",
|
|
106
|
-
"minLength": 1,
|
|
107
|
-
"format": "emoji",
|
|
108
|
-
"pattern": "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"
|
|
109
|
-
}
|
|
240
|
+
"$ref": "#/$defs/__schema26"
|
|
110
241
|
},
|
|
111
242
|
"ligatures": {
|
|
112
|
-
"
|
|
113
|
-
"type": "array",
|
|
114
|
-
"items": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"minLength": 1
|
|
117
|
-
}
|
|
243
|
+
"$ref": "#/$defs/__schema29"
|
|
118
244
|
},
|
|
119
245
|
"sitelen_sitelen": {
|
|
120
|
-
"
|
|
121
|
-
"$ref": "#/$defs/__schema4"
|
|
246
|
+
"$ref": "#/$defs/__schema31"
|
|
122
247
|
},
|
|
123
248
|
"ucsur": {
|
|
124
|
-
"
|
|
125
|
-
"type": "string",
|
|
126
|
-
"pattern": "^U\\+[\\da-fA-F]{4,6}$"
|
|
249
|
+
"$ref": "#/$defs/__schema32"
|
|
127
250
|
}
|
|
128
251
|
},
|
|
129
|
-
"additionalProperties": false
|
|
252
|
+
"additionalProperties": false,
|
|
253
|
+
"description": "Ways of representing this word via text/computers"
|
|
130
254
|
},
|
|
131
|
-
"
|
|
132
|
-
"description": "The
|
|
255
|
+
"__schema24": {
|
|
256
|
+
"description": "The sitelen emosi representation of this word, a script for writing Toki Pona using emoji",
|
|
257
|
+
"$ref": "#/$defs/__schema25"
|
|
258
|
+
},
|
|
259
|
+
"__schema25": {
|
|
133
260
|
"type": "string",
|
|
134
|
-
"minLength": 1
|
|
261
|
+
"minLength": 1,
|
|
262
|
+
"format": "emoji",
|
|
263
|
+
"pattern": "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"
|
|
135
264
|
},
|
|
136
|
-
"
|
|
137
|
-
"description": "
|
|
265
|
+
"__schema26": {
|
|
266
|
+
"description": "One or more example emojis for how the word can be written in sitelen jelo",
|
|
267
|
+
"$ref": "#/$defs/__schema27"
|
|
268
|
+
},
|
|
269
|
+
"__schema27": {
|
|
270
|
+
"minItems": 1,
|
|
271
|
+
"type": "array",
|
|
272
|
+
"items": {
|
|
273
|
+
"$ref": "#/$defs/__schema28"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"__schema28": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"minLength": 1,
|
|
279
|
+
"format": "emoji",
|
|
280
|
+
"pattern": "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"
|
|
281
|
+
},
|
|
282
|
+
"__schema29": {
|
|
283
|
+
"description": "A list of sitelen Lasina representations of the word, used by ligature fonts to visually convert latin characters into sitelen pona",
|
|
284
|
+
"$ref": "#/$defs/__schema30"
|
|
285
|
+
},
|
|
286
|
+
"__schema30": {
|
|
287
|
+
"type": "array",
|
|
288
|
+
"items": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"minLength": 1
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"__schema31": {
|
|
294
|
+
"description": "A URL pointing to an image of this word's sitelen sitelen hieroglyphic block",
|
|
295
|
+
"$ref": "#/$defs/__schema21"
|
|
296
|
+
},
|
|
297
|
+
"__schema32": {
|
|
298
|
+
"description": "The UCSUR codepoint for this word.",
|
|
299
|
+
"$ref": "#/$defs/__schema33"
|
|
300
|
+
},
|
|
301
|
+
"__schema33": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"pattern": "^U\\+[\\da-fA-F]{4,6}$"
|
|
304
|
+
},
|
|
305
|
+
"__schema34": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"minLength": 1,
|
|
308
|
+
"description": "The language this word originated from"
|
|
309
|
+
},
|
|
310
|
+
"__schema35": {
|
|
138
311
|
"type": "string",
|
|
139
312
|
"enum": [
|
|
140
313
|
"core",
|
|
@@ -142,53 +315,63 @@
|
|
|
142
315
|
"uncommon",
|
|
143
316
|
"obscure",
|
|
144
317
|
"sandbox"
|
|
145
|
-
]
|
|
318
|
+
],
|
|
319
|
+
"description": "The word's usage category, derived from the data of the annual Linku word survey."
|
|
146
320
|
},
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
321
|
+
"__schema36": {
|
|
322
|
+
"type": "boolean",
|
|
323
|
+
"description": "Whether this word is considered deprecated by its author(s)."
|
|
150
324
|
},
|
|
151
|
-
"
|
|
325
|
+
"__schema37": {
|
|
152
326
|
"type": "array",
|
|
153
327
|
"items": {
|
|
154
|
-
"description": "Audio files of the words pronounced out loud",
|
|
155
328
|
"type": "object",
|
|
156
329
|
"properties": {
|
|
157
330
|
"author": {
|
|
158
|
-
"
|
|
159
|
-
"$ref": "#/$defs/__schema1"
|
|
331
|
+
"$ref": "#/$defs/__schema38"
|
|
160
332
|
},
|
|
161
333
|
"link": {
|
|
162
|
-
"
|
|
163
|
-
"$ref": "#/$defs/__schema4"
|
|
334
|
+
"$ref": "#/$defs/__schema39"
|
|
164
335
|
}
|
|
165
336
|
},
|
|
166
337
|
"required": [
|
|
167
338
|
"author",
|
|
168
339
|
"link"
|
|
169
340
|
],
|
|
170
|
-
"additionalProperties": false
|
|
341
|
+
"additionalProperties": false,
|
|
342
|
+
"description": "Audio files of the words pronounced out loud"
|
|
171
343
|
}
|
|
172
344
|
},
|
|
173
|
-
"
|
|
345
|
+
"__schema38": {
|
|
346
|
+
"description": "The author of the audio file in `link`.",
|
|
347
|
+
"$ref": "#/$defs/__schema11"
|
|
348
|
+
},
|
|
349
|
+
"__schema39": {
|
|
350
|
+
"description": "A link to the audio file for the word, pronounced by `author`.",
|
|
351
|
+
"$ref": "#/$defs/__schema21"
|
|
352
|
+
},
|
|
353
|
+
"__schema40": {
|
|
174
354
|
"description": "The definition of the word in specific language editions of Toki Pona: The Language of Good",
|
|
355
|
+
"$ref": "#/$defs/__schema41"
|
|
356
|
+
},
|
|
357
|
+
"__schema41": {
|
|
175
358
|
"type": "object",
|
|
176
359
|
"properties": {
|
|
177
360
|
"en": {
|
|
178
361
|
"description": "The word's definition in the English edition of Toki Pona: The Language of Good",
|
|
179
|
-
"$ref": "#/$defs/
|
|
362
|
+
"$ref": "#/$defs/__schema42"
|
|
180
363
|
},
|
|
181
364
|
"fr": {
|
|
182
365
|
"description": "The word's definition in the French edition of Toki Pona: The Language of Good",
|
|
183
|
-
"$ref": "#/$defs/
|
|
366
|
+
"$ref": "#/$defs/__schema42"
|
|
184
367
|
},
|
|
185
368
|
"de": {
|
|
186
369
|
"description": "The word's definition in the German edition of Toki Pona: The Language of Good",
|
|
187
|
-
"$ref": "#/$defs/
|
|
370
|
+
"$ref": "#/$defs/__schema42"
|
|
188
371
|
},
|
|
189
372
|
"eo": {
|
|
190
373
|
"description": "The word's definition in the Esperanto edition of Toki Pona: The Language of Good",
|
|
191
|
-
"$ref": "#/$defs/
|
|
374
|
+
"$ref": "#/$defs/__schema42"
|
|
192
375
|
}
|
|
193
376
|
},
|
|
194
377
|
"required": [
|
|
@@ -199,48 +382,60 @@
|
|
|
199
382
|
],
|
|
200
383
|
"additionalProperties": false
|
|
201
384
|
},
|
|
202
|
-
"
|
|
203
|
-
"
|
|
385
|
+
"__schema42": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"minLength": 1,
|
|
388
|
+
"description": "Localized definition on the parent, such as a word or luka pona sign"
|
|
389
|
+
},
|
|
390
|
+
"__schema43": {
|
|
204
391
|
"type": "object",
|
|
205
392
|
"propertyNames": {
|
|
206
|
-
"
|
|
207
|
-
"pattern": "^(?<year>20\\d{2})(?:-(?<month>0[1-9]|1[0-2])(?:-(?<day>0[1-9]|[12]\\d|3[01]))?)?$"
|
|
393
|
+
"$ref": "#/$defs/__schema44"
|
|
208
394
|
},
|
|
209
395
|
"additionalProperties": {
|
|
210
|
-
"$ref": "#/$defs/
|
|
211
|
-
}
|
|
396
|
+
"$ref": "#/$defs/__schema14"
|
|
397
|
+
},
|
|
398
|
+
"description": "The percentage of respondents to the annual Linku word survey who report to use this word, by the date of the survey."
|
|
212
399
|
},
|
|
213
|
-
"
|
|
400
|
+
"__schema44": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"pattern": "^(?<year>20\\d{2})(?:-(?<month>0[1-9]|1[0-2])(?:-(?<day>0[1-9]|[12]\\d|3[01]))?)?$"
|
|
403
|
+
},
|
|
404
|
+
"__schema45": {
|
|
214
405
|
"description": "The IDs of all sitelen pona glyphs which represent the word. The usage category of each fetched glyph may be used to show or hide glyphs.",
|
|
215
|
-
"$ref": "#/$defs/
|
|
406
|
+
"$ref": "#/$defs/__schema18"
|
|
216
407
|
},
|
|
217
|
-
"
|
|
408
|
+
"__schema46": {
|
|
218
409
|
"description": "The ID of the glyph most commonly used to represent this word in sitelen pona.",
|
|
410
|
+
"$ref": "#/$defs/__schema47"
|
|
411
|
+
},
|
|
412
|
+
"__schema47": {
|
|
219
413
|
"type": "string",
|
|
220
|
-
"minLength": 3
|
|
414
|
+
"minLength": 3,
|
|
415
|
+
"$ref": "#/$defs/__schema16"
|
|
221
416
|
},
|
|
222
|
-
"
|
|
417
|
+
"__schema48": {
|
|
223
418
|
"description": "Link to a PNG of the primary sitelen pona glyph for this word.",
|
|
224
|
-
"$ref": "#/$defs/
|
|
419
|
+
"$ref": "#/$defs/__schema21"
|
|
225
420
|
},
|
|
226
|
-
"
|
|
421
|
+
"__schema49": {
|
|
227
422
|
"description": "Link to an SVG of the primary sitelen pona glyph for this word.",
|
|
228
|
-
"$ref": "#/$defs/
|
|
423
|
+
"$ref": "#/$defs/__schema21"
|
|
229
424
|
},
|
|
230
|
-
"
|
|
425
|
+
"__schema50": {
|
|
231
426
|
"type": "object",
|
|
232
427
|
"properties": {
|
|
233
428
|
"commentary": {
|
|
234
|
-
"
|
|
235
|
-
"
|
|
429
|
+
"type": "string",
|
|
430
|
+
"description": "Localized commentary on this word, such as history, clarifications, or trivia."
|
|
236
431
|
},
|
|
237
432
|
"etymology": {
|
|
238
|
-
"
|
|
239
|
-
"
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "Localized etymology of this word."
|
|
240
435
|
},
|
|
241
436
|
"definition": {
|
|
242
437
|
"description": "Localized definition of this word.",
|
|
243
|
-
"$ref": "#/$defs/
|
|
438
|
+
"$ref": "#/$defs/__schema42"
|
|
244
439
|
}
|
|
245
440
|
},
|
|
246
441
|
"required": [
|
|
@@ -250,57 +445,5 @@
|
|
|
250
445
|
],
|
|
251
446
|
"additionalProperties": false
|
|
252
447
|
}
|
|
253
|
-
},
|
|
254
|
-
"required": [
|
|
255
|
-
"id",
|
|
256
|
-
"word",
|
|
257
|
-
"book",
|
|
258
|
-
"coined_era",
|
|
259
|
-
"creation_date",
|
|
260
|
-
"author",
|
|
261
|
-
"see_also",
|
|
262
|
-
"resources",
|
|
263
|
-
"representations",
|
|
264
|
-
"source_language",
|
|
265
|
-
"usage_category",
|
|
266
|
-
"deprecated",
|
|
267
|
-
"audio",
|
|
268
|
-
"usage",
|
|
269
|
-
"glyph_ids",
|
|
270
|
-
"translations"
|
|
271
|
-
],
|
|
272
|
-
"additionalProperties": false,
|
|
273
|
-
"$defs": {
|
|
274
|
-
"__schema0": {
|
|
275
|
-
"description": "A unique identifier for an object in Linku. Generally named after the object.",
|
|
276
|
-
"type": "string",
|
|
277
|
-
"minLength": 1
|
|
278
|
-
},
|
|
279
|
-
"__schema1": {
|
|
280
|
-
"type": "string",
|
|
281
|
-
"minLength": 1
|
|
282
|
-
},
|
|
283
|
-
"__schema2": {
|
|
284
|
-
"type": "number",
|
|
285
|
-
"minimum": 0,
|
|
286
|
-
"maximum": 100
|
|
287
|
-
},
|
|
288
|
-
"__schema3": {
|
|
289
|
-
"description": "The IDs of one or more objects related to this one.",
|
|
290
|
-
"type": "array",
|
|
291
|
-
"items": {
|
|
292
|
-
"$ref": "#/$defs/__schema0"
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"__schema4": {
|
|
296
|
-
"description": "A URL pointing to some external resource.",
|
|
297
|
-
"type": "string",
|
|
298
|
-
"format": "uri"
|
|
299
|
-
},
|
|
300
|
-
"__schema5": {
|
|
301
|
-
"description": "Localized definition on the parent, such as a word or luka pona sign",
|
|
302
|
-
"type": "string",
|
|
303
|
-
"minLength": 1
|
|
304
|
-
}
|
|
305
448
|
}
|
|
306
449
|
}
|