@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/font.json
CHANGED
|
@@ -1,67 +1,129 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"description": "Info on a font for Toki Pona",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
5
|
"id": {
|
|
7
|
-
"
|
|
8
|
-
"type": "string",
|
|
9
|
-
"minLength": 1
|
|
6
|
+
"$ref": "#/$defs/__schema0"
|
|
10
7
|
},
|
|
11
8
|
"author": {
|
|
12
|
-
"
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"minLength": 1
|
|
17
|
-
}
|
|
9
|
+
"$ref": "#/$defs/__schema1"
|
|
18
10
|
},
|
|
19
11
|
"features": {
|
|
20
|
-
"
|
|
21
|
-
"type": "array",
|
|
22
|
-
"items": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"minLength": 1
|
|
25
|
-
}
|
|
12
|
+
"$ref": "#/$defs/__schema3"
|
|
26
13
|
},
|
|
27
14
|
"filename": {
|
|
28
|
-
"
|
|
29
|
-
"type": "string",
|
|
30
|
-
"pattern": "^(?:.+\\.(ttf|otf|woff2|woff))?$"
|
|
15
|
+
"$ref": "#/$defs/__schema5"
|
|
31
16
|
},
|
|
32
17
|
"last_updated": {
|
|
33
|
-
"
|
|
34
|
-
"type": "string",
|
|
35
|
-
"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}))$"
|
|
18
|
+
"$ref": "#/$defs/__schema6"
|
|
36
19
|
},
|
|
37
20
|
"license": {
|
|
38
|
-
"
|
|
39
|
-
"type": "string"
|
|
21
|
+
"$ref": "#/$defs/__schema7"
|
|
40
22
|
},
|
|
41
23
|
"ligatures": {
|
|
42
|
-
"
|
|
43
|
-
"type": "boolean"
|
|
24
|
+
"$ref": "#/$defs/__schema8"
|
|
44
25
|
},
|
|
45
26
|
"name": {
|
|
46
|
-
"
|
|
47
|
-
"type": "string",
|
|
48
|
-
"minLength": 1
|
|
27
|
+
"$ref": "#/$defs/__schema9"
|
|
49
28
|
},
|
|
50
29
|
"style": {
|
|
51
|
-
"
|
|
52
|
-
"type": "string",
|
|
53
|
-
"minLength": 1
|
|
30
|
+
"$ref": "#/$defs/__schema10"
|
|
54
31
|
},
|
|
55
32
|
"ucsur": {
|
|
56
|
-
"
|
|
57
|
-
"type": "boolean"
|
|
33
|
+
"$ref": "#/$defs/__schema11"
|
|
58
34
|
},
|
|
59
35
|
"version": {
|
|
60
|
-
"
|
|
61
|
-
"type": "string"
|
|
36
|
+
"$ref": "#/$defs/__schema12"
|
|
62
37
|
},
|
|
63
38
|
"writing_system": {
|
|
64
|
-
"
|
|
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": {
|
|
65
127
|
"type": "string",
|
|
66
128
|
"enum": [
|
|
67
129
|
"sitelen pona",
|
|
@@ -72,48 +134,31 @@
|
|
|
72
134
|
"tokiponido alphabet",
|
|
73
135
|
"tokiponido syllabary",
|
|
74
136
|
"tokiponido logography"
|
|
75
|
-
]
|
|
137
|
+
],
|
|
138
|
+
"description": "the writing system this font uses as its script"
|
|
76
139
|
},
|
|
77
|
-
"
|
|
140
|
+
"__schema14": {
|
|
78
141
|
"type": "object",
|
|
79
142
|
"properties": {
|
|
80
143
|
"fontfile": {
|
|
81
144
|
"description": "a link to the font file published by the original author (not the mirror on the Linku Project's GitHub)",
|
|
82
|
-
"$ref": "#/$defs/
|
|
145
|
+
"$ref": "#/$defs/__schema15"
|
|
83
146
|
},
|
|
84
147
|
"repo": {
|
|
85
148
|
"description": "a link to a web hosted repository of this font's source files (usually hosted on GitHub or GitLab)",
|
|
86
|
-
"$ref": "#/$defs/
|
|
149
|
+
"$ref": "#/$defs/__schema15"
|
|
87
150
|
},
|
|
88
151
|
"webpage": {
|
|
89
152
|
"description": "a link to this font's home page, usually showcasing its features and usage/installation",
|
|
90
|
-
"$ref": "#/$defs/
|
|
153
|
+
"$ref": "#/$defs/__schema15"
|
|
91
154
|
}
|
|
92
155
|
},
|
|
93
156
|
"additionalProperties": false
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
"required": [
|
|
97
|
-
"id",
|
|
98
|
-
"author",
|
|
99
|
-
"features",
|
|
100
|
-
"filename",
|
|
101
|
-
"last_updated",
|
|
102
|
-
"license",
|
|
103
|
-
"ligatures",
|
|
104
|
-
"name",
|
|
105
|
-
"style",
|
|
106
|
-
"ucsur",
|
|
107
|
-
"version",
|
|
108
|
-
"writing_system",
|
|
109
|
-
"links"
|
|
110
|
-
],
|
|
111
|
-
"additionalProperties": false,
|
|
112
|
-
"$defs": {
|
|
113
|
-
"__schema0": {
|
|
114
|
-
"description": "A URL pointing to some external resource.",
|
|
157
|
+
},
|
|
158
|
+
"__schema15": {
|
|
115
159
|
"type": "string",
|
|
116
|
-
"format": "uri"
|
|
160
|
+
"format": "uri",
|
|
161
|
+
"description": "A URL pointing to some external resource."
|
|
117
162
|
}
|
|
118
163
|
}
|
|
119
164
|
}
|
package/generated/v2/fonts.json
CHANGED
|
@@ -1,130 +1,178 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"description": "A raw data object containing all fonts data in Linku",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"propertyNames": {
|
|
6
5
|
"$ref": "#/$defs/__schema0"
|
|
7
6
|
},
|
|
8
7
|
"additionalProperties": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
8
|
+
"$ref": "#/$defs/__schema1"
|
|
9
|
+
},
|
|
10
|
+
"description": "A raw data object containing all fonts data in Linku",
|
|
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
|
+
"author": {
|
|
24
|
+
"$ref": "#/$defs/__schema3"
|
|
25
|
+
},
|
|
26
|
+
"features": {
|
|
27
|
+
"$ref": "#/$defs/__schema5"
|
|
28
|
+
},
|
|
29
|
+
"filename": {
|
|
30
|
+
"$ref": "#/$defs/__schema7"
|
|
31
|
+
},
|
|
32
|
+
"last_updated": {
|
|
33
|
+
"$ref": "#/$defs/__schema8"
|
|
34
|
+
},
|
|
35
|
+
"license": {
|
|
36
|
+
"$ref": "#/$defs/__schema9"
|
|
37
|
+
},
|
|
38
|
+
"ligatures": {
|
|
39
|
+
"$ref": "#/$defs/__schema10"
|
|
40
|
+
},
|
|
41
|
+
"name": {
|
|
42
|
+
"$ref": "#/$defs/__schema11"
|
|
43
|
+
},
|
|
44
|
+
"style": {
|
|
45
|
+
"$ref": "#/$defs/__schema12"
|
|
46
|
+
},
|
|
47
|
+
"ucsur": {
|
|
48
|
+
"$ref": "#/$defs/__schema13"
|
|
49
|
+
},
|
|
50
|
+
"version": {
|
|
51
|
+
"$ref": "#/$defs/__schema14"
|
|
52
|
+
},
|
|
53
|
+
"writing_system": {
|
|
54
|
+
"$ref": "#/$defs/__schema15"
|
|
55
|
+
},
|
|
56
|
+
"links": {
|
|
57
|
+
"$ref": "#/$defs/__schema16"
|
|
30
58
|
}
|
|
31
59
|
},
|
|
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
|
-
"minLength": 1
|
|
59
|
-
},
|
|
60
|
-
"ucsur": {
|
|
61
|
-
"description": "whether this font conforms to the UCSUR standard: https://www.kreativekorp.com/ucsur/charts/sitelen.html",
|
|
62
|
-
"type": "boolean"
|
|
63
|
-
},
|
|
64
|
-
"version": {
|
|
65
|
-
"description": "the current version of this font",
|
|
66
|
-
"type": "string"
|
|
60
|
+
"required": [
|
|
61
|
+
"id",
|
|
62
|
+
"author",
|
|
63
|
+
"features",
|
|
64
|
+
"filename",
|
|
65
|
+
"last_updated",
|
|
66
|
+
"license",
|
|
67
|
+
"ligatures",
|
|
68
|
+
"name",
|
|
69
|
+
"style",
|
|
70
|
+
"ucsur",
|
|
71
|
+
"version",
|
|
72
|
+
"writing_system",
|
|
73
|
+
"links"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "Info on a font for Toki Pona"
|
|
77
|
+
},
|
|
78
|
+
"__schema2": {
|
|
79
|
+
"description": "The font's unique ID, identifying it among other fonts",
|
|
80
|
+
"$ref": "#/$defs/__schema0"
|
|
81
|
+
},
|
|
82
|
+
"__schema3": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"$ref": "#/$defs/__schema4"
|
|
67
86
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"tokiponido syllabary",
|
|
79
|
-
"tokiponido logography"
|
|
80
|
-
]
|
|
87
|
+
"description": "a list of this font's authors"
|
|
88
|
+
},
|
|
89
|
+
"__schema4": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"minLength": 1
|
|
92
|
+
},
|
|
93
|
+
"__schema5": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"$ref": "#/$defs/__schema6"
|
|
81
97
|
},
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"fontfile": {
|
|
86
|
-
"description": "a link to the font file published by the original author (not the mirror on the Linku Project's GitHub)",
|
|
87
|
-
"$ref": "#/$defs/__schema1"
|
|
88
|
-
},
|
|
89
|
-
"repo": {
|
|
90
|
-
"description": "a link to a web hosted repository of this font's source files (usually hosted on GitHub or GitLab)",
|
|
91
|
-
"$ref": "#/$defs/__schema1"
|
|
92
|
-
},
|
|
93
|
-
"webpage": {
|
|
94
|
-
"description": "a link to this font's home page, usually showcasing its features and usage/installation",
|
|
95
|
-
"$ref": "#/$defs/__schema1"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"additionalProperties": false
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"required": [
|
|
102
|
-
"id",
|
|
103
|
-
"author",
|
|
104
|
-
"features",
|
|
105
|
-
"filename",
|
|
106
|
-
"last_updated",
|
|
107
|
-
"license",
|
|
108
|
-
"ligatures",
|
|
109
|
-
"name",
|
|
110
|
-
"style",
|
|
111
|
-
"ucsur",
|
|
112
|
-
"version",
|
|
113
|
-
"writing_system",
|
|
114
|
-
"links"
|
|
115
|
-
],
|
|
116
|
-
"additionalProperties": false
|
|
117
|
-
},
|
|
118
|
-
"$defs": {
|
|
119
|
-
"__schema0": {
|
|
120
|
-
"description": "A unique identifier for an object in Linku. Generally named after the object.",
|
|
98
|
+
"description": "a list of features this font supports"
|
|
99
|
+
},
|
|
100
|
+
"__schema6": {
|
|
121
101
|
"type": "string",
|
|
122
102
|
"minLength": 1
|
|
123
103
|
},
|
|
124
|
-
"
|
|
125
|
-
"
|
|
104
|
+
"__schema7": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"pattern": "^(?:.+\\.(ttf|otf|woff2|woff))?$",
|
|
107
|
+
"description": "the name of the file this font is stored in at https://github.com/lipu-linku/ijo"
|
|
108
|
+
},
|
|
109
|
+
"__schema8": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"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}))$",
|
|
112
|
+
"description": "the rough date of this font's last update"
|
|
113
|
+
},
|
|
114
|
+
"__schema9": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "an SPDX expression describing this font's license: https://spdx.org/licenses/"
|
|
117
|
+
},
|
|
118
|
+
"__schema10": {
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"description": "whether this font supports ligatures"
|
|
121
|
+
},
|
|
122
|
+
"__schema11": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"minLength": 1,
|
|
125
|
+
"description": "this font's name"
|
|
126
|
+
},
|
|
127
|
+
"__schema12": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"minLength": 1,
|
|
130
|
+
"description": "the general style of this font"
|
|
131
|
+
},
|
|
132
|
+
"__schema13": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"description": "whether this font conforms to the UCSUR standard: https://www.kreativekorp.com/ucsur/charts/sitelen.html"
|
|
135
|
+
},
|
|
136
|
+
"__schema14": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "the current version of this font"
|
|
139
|
+
},
|
|
140
|
+
"__schema15": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enum": [
|
|
143
|
+
"sitelen pona",
|
|
144
|
+
"sitelen sitelen",
|
|
145
|
+
"alphabet",
|
|
146
|
+
"syllabary",
|
|
147
|
+
"logography",
|
|
148
|
+
"tokiponido alphabet",
|
|
149
|
+
"tokiponido syllabary",
|
|
150
|
+
"tokiponido logography"
|
|
151
|
+
],
|
|
152
|
+
"description": "the writing system this font uses as its script"
|
|
153
|
+
},
|
|
154
|
+
"__schema16": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"fontfile": {
|
|
158
|
+
"description": "a link to the font file published by the original author (not the mirror on the Linku Project's GitHub)",
|
|
159
|
+
"$ref": "#/$defs/__schema17"
|
|
160
|
+
},
|
|
161
|
+
"repo": {
|
|
162
|
+
"description": "a link to a web hosted repository of this font's source files (usually hosted on GitHub or GitLab)",
|
|
163
|
+
"$ref": "#/$defs/__schema17"
|
|
164
|
+
},
|
|
165
|
+
"webpage": {
|
|
166
|
+
"description": "a link to this font's home page, usually showcasing its features and usage/installation",
|
|
167
|
+
"$ref": "#/$defs/__schema17"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"additionalProperties": false
|
|
171
|
+
},
|
|
172
|
+
"__schema17": {
|
|
126
173
|
"type": "string",
|
|
127
|
-
"format": "uri"
|
|
174
|
+
"format": "uri",
|
|
175
|
+
"description": "A URL pointing to some external resource."
|
|
128
176
|
}
|
|
129
177
|
}
|
|
130
178
|
}
|