@kulupu-linku/sona 0.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.
@@ -0,0 +1,115 @@
1
+ {
2
+ "$ref": "#/definitions/fonts",
3
+ "definitions": {
4
+ "fonts": {
5
+ "type": "object",
6
+ "additionalProperties": {
7
+ "type": "object",
8
+ "properties": {
9
+ "creator": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "string"
13
+ },
14
+ "description": "a list of this font's creators"
15
+ },
16
+ "features": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "string"
20
+ },
21
+ "description": "a list of features this font supports"
22
+ },
23
+ "filename": {
24
+ "type": "string",
25
+ "pattern": "^(?:.+\\.(ttf|otf|woff2|woff))?$",
26
+ "description": "the name of the file this font is stored in at https://github.com/lipu-linku/ijo"
27
+ },
28
+ "last_updated": {
29
+ "type": "string",
30
+ "pattern": "^20\\d{2}-(0[1-9]|1[0-2])$",
31
+ "description": "the rough date of this font's last update"
32
+ },
33
+ "license": {
34
+ "type": "string",
35
+ "description": "an SPDX expression describing this font's license: https://spdx.org/licenses/"
36
+ },
37
+ "ligatures": {
38
+ "type": "boolean",
39
+ "description": "whether this font supports ligatures"
40
+ },
41
+ "name": {
42
+ "type": "string",
43
+ "minLength": 1,
44
+ "description": "this font's name"
45
+ },
46
+ "style": {
47
+ "type": "string",
48
+ "minLength": 1,
49
+ "description": "the general style of this font"
50
+ },
51
+ "ucsur": {
52
+ "type": "boolean",
53
+ "description": "whether this font conforms to the UCSUR standard: https://www.kreativekorp.com/ucsur/charts/sitelen.html"
54
+ },
55
+ "version": {
56
+ "type": "string",
57
+ "description": "the current version of this font"
58
+ },
59
+ "writing_system": {
60
+ "type": "string",
61
+ "enum": [
62
+ "sitelen pona",
63
+ "sitelen sitelen",
64
+ "alphabet",
65
+ "syllabary",
66
+ "logography",
67
+ "tokiponido alphabet",
68
+ "tokiponido syllabary",
69
+ "tokiponido logography"
70
+ ],
71
+ "description": "the writing system this font uses as its script"
72
+ },
73
+ "links": {
74
+ "type": "object",
75
+ "properties": {
76
+ "fontfile": {
77
+ "type": "string",
78
+ "format": "uri",
79
+ "description": "a link to the font file published by the original author (not the mirror on the Linku Project's GitHub)"
80
+ },
81
+ "repo": {
82
+ "type": "string",
83
+ "format": "uri",
84
+ "description": "a link to a web hosted repository of this font's source files (usually hosted on GitHub or GitLab)"
85
+ },
86
+ "webpage": {
87
+ "type": "string",
88
+ "format": "uri",
89
+ "description": "a link to this font's home page, usually showcasing its features and usage/installation"
90
+ }
91
+ },
92
+ "additionalProperties": false
93
+ }
94
+ },
95
+ "required": [
96
+ "creator",
97
+ "features",
98
+ "filename",
99
+ "license",
100
+ "ligatures",
101
+ "name",
102
+ "style",
103
+ "ucsur",
104
+ "version",
105
+ "writing_system",
106
+ "links"
107
+ ],
108
+ "additionalProperties": false,
109
+ "description": "Info on a font for Toki Pona"
110
+ },
111
+ "description": "A raw data object containing all the fonts data in sona"
112
+ }
113
+ },
114
+ "$schema": "http://json-schema.org/draft-07/schema#"
115
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$ref": "#/definitions/icon_translation",
3
+ "definitions": {
4
+ "icon_translation": {
5
+ "type": "object",
6
+ "additionalProperties": {
7
+ "type": "string",
8
+ "minLength": 1
9
+ },
10
+ "description": "Localized descriptions of the thing a sign represents."
11
+ }
12
+ },
13
+ "$schema": "http://json-schema.org/draft-07/schema#"
14
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$ref": "#/definitions/parameters_translation",
3
+ "definitions": {
4
+ "parameters_translation": {
5
+ "type": "object",
6
+ "additionalProperties": {
7
+ "type": "object",
8
+ "properties": {
9
+ "handshape": {
10
+ "type": "string",
11
+ "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"
12
+ },
13
+ "movement": {
14
+ "type": "string",
15
+ "description": "The motion of the hand when signing."
16
+ },
17
+ "placement": {
18
+ "type": "string",
19
+ "description": "The placement of the hand when signing."
20
+ },
21
+ "orientation": {
22
+ "type": "string",
23
+ "description": "The orientation of the hand when signing."
24
+ }
25
+ },
26
+ "additionalProperties": false
27
+ },
28
+ "description": "Partly localized descriptions of how a sign is signed."
29
+ }
30
+ },
31
+ "$schema": "http://json-schema.org/draft-07/schema#"
32
+ }
@@ -0,0 +1,299 @@
1
+ {
2
+ "$ref": "#/definitions/sandbox",
3
+ "definitions": {
4
+ "sandbox": {
5
+ "type": "object",
6
+ "additionalProperties": {
7
+ "type": "object",
8
+ "properties": {
9
+ "author_verbatim": {
10
+ "type": "string",
11
+ "description": "The author's original definition, taken verbatim in their words"
12
+ },
13
+ "author_verbatim_source": {
14
+ "type": "string",
15
+ "description": "Where the author's original definition is located (usually Discord)"
16
+ },
17
+ "book": {
18
+ "type": "string",
19
+ "enum": [
20
+ "pu",
21
+ "ku suli",
22
+ "ku lili",
23
+ "none"
24
+ ],
25
+ "description": "Which official Toki Pona book was this word featured in, if any."
26
+ },
27
+ "coined_era": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "enum": [
32
+ "pre-pu",
33
+ "post-pu",
34
+ "post-ku"
35
+ ]
36
+ },
37
+ {
38
+ "type": "string",
39
+ "const": ""
40
+ }
41
+ ],
42
+ "description": "When this word was coined (relative to the publication dates of the official Toki Pona books, if known)"
43
+ },
44
+ "coined_year": {
45
+ "type": "string",
46
+ "description": "The year when this word was coined (if known)"
47
+ },
48
+ "creator": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "string"
52
+ },
53
+ "description": "The person who created this word (if known)"
54
+ },
55
+ "ku_data": {
56
+ "type": "object",
57
+ "additionalProperties": {
58
+ "type": "number",
59
+ "minimum": 0,
60
+ "maximum": 100
61
+ },
62
+ "description": "The usage data of the word as described in ku (the official Toki Pona dictionary)"
63
+ },
64
+ "see_also": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "string"
68
+ },
69
+ "description": "A list of related words"
70
+ },
71
+ "representations": {
72
+ "type": "object",
73
+ "properties": {
74
+ "sitelen_emosi": {
75
+ "anyOf": [
76
+ {
77
+ "type": "string",
78
+ "pattern": "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$"
79
+ },
80
+ {
81
+ "type": "string",
82
+ "const": ""
83
+ }
84
+ ],
85
+ "description": "The sitelen emosi representation of this word, a script for writing Toki Pona using emoji"
86
+ },
87
+ "sitelen_pona": {
88
+ "type": "array",
89
+ "items": {
90
+ "type": "string"
91
+ },
92
+ "description": "A list of sitelen Lasina representations of this word, to be converted into sitelen pona glyphs"
93
+ },
94
+ "sitelen_sitelen": {
95
+ "anyOf": [
96
+ {
97
+ "type": "string",
98
+ "format": "uri"
99
+ },
100
+ {
101
+ "type": "string",
102
+ "const": ""
103
+ }
104
+ ],
105
+ "description": "A URL pointing to an image of this word's sitelen sitelen hieroglyphic block"
106
+ },
107
+ "ucsur": {
108
+ "anyOf": [
109
+ {
110
+ "type": "string",
111
+ "pattern": "^U\\+[\\da-fA-F]{4,6}$"
112
+ },
113
+ {
114
+ "type": "string",
115
+ "const": ""
116
+ }
117
+ ],
118
+ "description": "The word's UCSUR codepoint, as defined in https://www.kreativekorp.com/ucsur/charts/sitelen.html"
119
+ }
120
+ },
121
+ "required": [
122
+ "sitelen_emosi",
123
+ "sitelen_pona",
124
+ "sitelen_sitelen",
125
+ "ucsur"
126
+ ],
127
+ "additionalProperties": false,
128
+ "description": "Ways of representing this word in the real world, via text/computers"
129
+ },
130
+ "source_language": {
131
+ "type": "string",
132
+ "description": "The language this word originated from"
133
+ },
134
+ "usage_category": {
135
+ "type": "string",
136
+ "enum": [
137
+ "core",
138
+ "widespread",
139
+ "common",
140
+ "uncommon",
141
+ "rare",
142
+ "obscure"
143
+ ],
144
+ "description": "The word's usage category, according to a survey performed by the Linku Project"
145
+ },
146
+ "word": {
147
+ "type": "string",
148
+ "description": "The word's actual text, in case of a word with multiple definitions (like \"we\")"
149
+ },
150
+ "etymology": {
151
+ "type": "array",
152
+ "items": {
153
+ "type": "object",
154
+ "properties": {
155
+ "word": {
156
+ "type": "string",
157
+ "description": "One of the root words of this word, as written out in its language of origin"
158
+ },
159
+ "alt": {
160
+ "type": "string",
161
+ "description": "A latinized representation of the \"word\" field"
162
+ }
163
+ },
164
+ "additionalProperties": false
165
+ },
166
+ "description": "Unlocalized etymological values regarding this word's origin"
167
+ },
168
+ "audio": {
169
+ "type": "object",
170
+ "properties": {
171
+ "jan_lakuse": {
172
+ "type": "string",
173
+ "format": "uri",
174
+ "description": "jan Lakuse's pronounciation of the word, made for jan Sonja's Memrise course: https://archive.org/details/toki-pona-audio-by-jan-lakuse"
175
+ },
176
+ "kala_asi": {
177
+ "type": "string",
178
+ "format": "uri",
179
+ "description": "kala Asi's pronounciation of the word, made for the Linku Project"
180
+ }
181
+ },
182
+ "required": [
183
+ "kala_asi"
184
+ ],
185
+ "additionalProperties": false,
186
+ "description": "Audio files of the words pronounced out loud"
187
+ },
188
+ "pu_verbatim": {
189
+ "type": "object",
190
+ "properties": {
191
+ "en": {
192
+ "type": "string",
193
+ "description": "The original definition in the English version of pu"
194
+ },
195
+ "fr": {
196
+ "type": "string",
197
+ "description": "The original definition in the French version of pu"
198
+ },
199
+ "de": {
200
+ "type": "string",
201
+ "description": "The original definition in the German version of pu"
202
+ },
203
+ "eo": {
204
+ "type": "string",
205
+ "description": "The original definition in the Esperanto version of pu"
206
+ }
207
+ },
208
+ "required": [
209
+ "en",
210
+ "fr",
211
+ "de",
212
+ "eo"
213
+ ],
214
+ "additionalProperties": false,
215
+ "description": "The original definition of the word in pu, the first official Toki Pona book"
216
+ },
217
+ "recognition": {
218
+ "type": "object",
219
+ "additionalProperties": {
220
+ "type": "number",
221
+ "minimum": 0,
222
+ "maximum": 100
223
+ },
224
+ "propertyNames": {
225
+ "pattern": "^20\\d{2}-(0[1-9]|1[0-2])$"
226
+ },
227
+ "description": "The percentage of people in the Toki Pona community who recognize this word, according to surveys performed by the Linku Project"
228
+ },
229
+ "translations": {
230
+ "type": "object",
231
+ "additionalProperties": {
232
+ "type": "object",
233
+ "properties": {
234
+ "commentary": {
235
+ "type": "string"
236
+ },
237
+ "definitions": {
238
+ "type": "string",
239
+ "minLength": 1
240
+ },
241
+ "etymology": {
242
+ "type": "array",
243
+ "items": {
244
+ "type": "object",
245
+ "properties": {
246
+ "definition": {
247
+ "type": "string",
248
+ "description": "The localized definition of the root word in its origin language"
249
+ },
250
+ "language": {
251
+ "type": "string",
252
+ "description": "The localized name of the language this word originated from"
253
+ }
254
+ },
255
+ "required": [
256
+ "language"
257
+ ],
258
+ "additionalProperties": false
259
+ }
260
+ },
261
+ "sp_etymology": {
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "commentary",
267
+ "definitions",
268
+ "etymology",
269
+ "sp_etymology"
270
+ ],
271
+ "additionalProperties": false
272
+ }
273
+ }
274
+ },
275
+ "required": [
276
+ "author_verbatim",
277
+ "author_verbatim_source",
278
+ "book",
279
+ "coined_era",
280
+ "coined_year",
281
+ "creator",
282
+ "see_also",
283
+ "representations",
284
+ "source_language",
285
+ "usage_category",
286
+ "word",
287
+ "etymology",
288
+ "audio",
289
+ "recognition",
290
+ "translations"
291
+ ],
292
+ "additionalProperties": false,
293
+ "description": "General info on a Toki Pona word"
294
+ },
295
+ "description": "A raw data object containing dictionary info about Toki Pona sandbox"
296
+ }
297
+ },
298
+ "$schema": "http://json-schema.org/draft-07/schema#"
299
+ }
@@ -0,0 +1,102 @@
1
+ {
2
+ "$ref": "#/definitions/sign",
3
+ "definitions": {
4
+ "sign": {
5
+ "type": "object",
6
+ "properties": {
7
+ "definition": {
8
+ "type": "string",
9
+ "description": "The definition of the sign as a single toki pona word."
10
+ },
11
+ "id": {
12
+ "type": "string",
13
+ "description": "A globally unique name for the sign which is also a gloss."
14
+ },
15
+ "is_two_handed": {
16
+ "type": "boolean",
17
+ "description": "Whether the sign is two-handed or not."
18
+ },
19
+ "new_gloss": {
20
+ "type": "string",
21
+ "description": "The more recent, preferred gloss for this sign."
22
+ },
23
+ "old_gloss": {
24
+ "type": "string",
25
+ "description": "The older gloss for this sign, similar to `id`."
26
+ },
27
+ "etymology": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "object",
31
+ "properties": {
32
+ "language": {
33
+ "type": "string",
34
+ "description": "The language of the sign."
35
+ },
36
+ "sign": {
37
+ "type": "string",
38
+ "description": "The name of the sign such that it could be found in a sign language dictionary."
39
+ }
40
+ },
41
+ "required": [
42
+ "language"
43
+ ],
44
+ "additionalProperties": false
45
+ },
46
+ "description": "Unlocalized etymological values regarding this sign's origin"
47
+ },
48
+ "signwriting": {
49
+ "type": "object",
50
+ "properties": {
51
+ "fsw": {
52
+ "type": "string",
53
+ "description": "The [Formal SignWriting](https://en.wikipedia.org/wiki/SignWriting) representation of the sign."
54
+ },
55
+ "swu": {
56
+ "type": "string",
57
+ "description": "The [SignWriting with Unicode](https://en.wikipedia.org/wiki/SignWriting) representation of the sign."
58
+ }
59
+ },
60
+ "required": [
61
+ "fsw",
62
+ "swu"
63
+ ],
64
+ "additionalProperties": false,
65
+ "description": "Scripts for representing a sign as characters."
66
+ },
67
+ "video": {
68
+ "type": "object",
69
+ "properties": {
70
+ "gif": {
71
+ "type": "string",
72
+ "description": "A link to a gif of the sign being signed."
73
+ },
74
+ "mp4": {
75
+ "type": "string",
76
+ "description": "a link to an mp4 of the sign being signed."
77
+ }
78
+ },
79
+ "required": [
80
+ "gif",
81
+ "mp4"
82
+ ],
83
+ "additionalProperties": false,
84
+ "description": "Videos of the sign being performed, by format."
85
+ }
86
+ },
87
+ "required": [
88
+ "definition",
89
+ "id",
90
+ "is_two_handed",
91
+ "new_gloss",
92
+ "old_gloss",
93
+ "etymology",
94
+ "signwriting",
95
+ "video"
96
+ ],
97
+ "additionalProperties": false,
98
+ "description": "Unlocalized info on a Luka Pona sign"
99
+ }
100
+ },
101
+ "$schema": "http://json-schema.org/draft-07/schema#"
102
+ }