@hyprune/schema 0.5.0 → 0.5.1
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/package.json +1 -1
- package/v0/common.schema.json +0 -85
- package/v0/extension.schema.json +0 -121
- package/v0/ipc.schema.json +0 -1725
- package/v0/screen-type.schema.json +0 -115
- package/v0/world.schema.json +0 -363
- package/v0.10/ipc.schema.json +0 -8811
- package/v0.11/ipc.schema.json +0 -8863
- package/v0.12/ipc.schema.json +0 -9541
- package/v0.13/ipc.schema.json +0 -10032
- package/v0.14/ipc.schema.json +0 -10127
- package/v0.15/ipc.schema.json +0 -10534
- package/v0.16/ipc.schema.json +0 -10550
- package/v0.17/ipc.schema.json +0 -10703
- package/v0.18/ipc.schema.json +0 -10801
- package/v0.19/ipc.schema.json +0 -11587
- package/v0.2/common.schema.json +0 -86
- package/v0.2/ipc.schema.json +0 -3570
- package/v0.2/world.schema.json +0 -363
- package/v0.3/common.schema.json +0 -477
- package/v0.3/ipc.schema.json +0 -4044
- package/v0.3/world.schema.json +0 -390
- package/v0.4/common.schema.json +0 -477
- package/v0.4/ipc.schema.json +0 -5561
- package/v0.4/world.schema.json +0 -496
- package/v0.5/common.schema.json +0 -477
- package/v0.5/ipc.schema.json +0 -5781
- package/v0.5/world.schema.json +0 -790
- package/v0.6/common.schema.json +0 -478
- package/v0.6/input.schema.json +0 -519
- package/v0.6/ipc.schema.json +0 -7375
- package/v0.6/world.schema.json +0 -1062
- package/v0.7/common.schema.json +0 -478
- package/v0.7/ipc.schema.json +0 -7905
- package/v0.7/world.schema.json +0 -1062
- package/v0.8/ipc.schema.json +0 -7945
- package/v0.9/input.schema.json +0 -518
- package/v0.9/ipc.schema.json +0 -8613
package/v0.2/world.schema.json
DELETED
|
@@ -1,363 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://hyprune.com/schema/v0.2/world.schema.json",
|
|
4
|
-
"title": "Hyprune 0.2 world",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"formatVersion": {
|
|
8
|
-
"const": "0.2"
|
|
9
|
-
},
|
|
10
|
-
"id": {
|
|
11
|
-
"$ref": "common.schema.json#/$defs/id"
|
|
12
|
-
},
|
|
13
|
-
"version": {
|
|
14
|
-
"$ref": "common.schema.json#/$defs/version"
|
|
15
|
-
},
|
|
16
|
-
"name": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"minLength": 1,
|
|
19
|
-
"maxLength": 256
|
|
20
|
-
},
|
|
21
|
-
"description": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"minLength": 0,
|
|
24
|
-
"maxLength": 4096
|
|
25
|
-
},
|
|
26
|
-
"license": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"minLength": 1,
|
|
29
|
-
"maxLength": 256
|
|
30
|
-
},
|
|
31
|
-
"scene": {
|
|
32
|
-
"allOf": [
|
|
33
|
-
{
|
|
34
|
-
"$ref": "common.schema.json#/$defs/path"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"pattern": "\\.(gltf|glb)$",
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"preview": {
|
|
43
|
-
"$ref": "common.schema.json#/$defs/path"
|
|
44
|
-
},
|
|
45
|
-
"defaultSpawn": {
|
|
46
|
-
"$ref": "common.schema.json#/$defs/slug"
|
|
47
|
-
},
|
|
48
|
-
"spawns": {
|
|
49
|
-
"type": "array",
|
|
50
|
-
"items": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"properties": {
|
|
53
|
-
"id": {
|
|
54
|
-
"$ref": "common.schema.json#/$defs/slug"
|
|
55
|
-
},
|
|
56
|
-
"pose": {
|
|
57
|
-
"$ref": "common.schema.json#/$defs/pose"
|
|
58
|
-
},
|
|
59
|
-
"node": {
|
|
60
|
-
"$ref": "common.schema.json#/$defs/index"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"required": [
|
|
64
|
-
"id",
|
|
65
|
-
"pose"
|
|
66
|
-
],
|
|
67
|
-
"additionalProperties": false
|
|
68
|
-
},
|
|
69
|
-
"minItems": 1
|
|
70
|
-
},
|
|
71
|
-
"attribution": {
|
|
72
|
-
"type": "array",
|
|
73
|
-
"items": {
|
|
74
|
-
"type": "object",
|
|
75
|
-
"properties": {
|
|
76
|
-
"path": {
|
|
77
|
-
"anyOf": [
|
|
78
|
-
{
|
|
79
|
-
"$ref": "common.schema.json#/$defs/path"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"const": "."
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"author": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"minLength": 1,
|
|
89
|
-
"maxLength": 256
|
|
90
|
-
},
|
|
91
|
-
"license": {
|
|
92
|
-
"type": "string",
|
|
93
|
-
"minLength": 1,
|
|
94
|
-
"maxLength": 256
|
|
95
|
-
},
|
|
96
|
-
"source": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"minLength": 1,
|
|
99
|
-
"maxLength": 2048,
|
|
100
|
-
"pattern": "^https://"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"required": [
|
|
104
|
-
"path",
|
|
105
|
-
"author",
|
|
106
|
-
"license"
|
|
107
|
-
],
|
|
108
|
-
"additionalProperties": false
|
|
109
|
-
},
|
|
110
|
-
"minItems": 1
|
|
111
|
-
},
|
|
112
|
-
"zones": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"items": {
|
|
115
|
-
"type": "object",
|
|
116
|
-
"properties": {
|
|
117
|
-
"id": {
|
|
118
|
-
"$ref": "common.schema.json#/$defs/slug"
|
|
119
|
-
},
|
|
120
|
-
"name": {
|
|
121
|
-
"type": "string",
|
|
122
|
-
"minLength": 1,
|
|
123
|
-
"maxLength": 256
|
|
124
|
-
},
|
|
125
|
-
"bounds": {
|
|
126
|
-
"type": "object",
|
|
127
|
-
"properties": {
|
|
128
|
-
"min": {
|
|
129
|
-
"type": "array",
|
|
130
|
-
"items": {
|
|
131
|
-
"type": "number"
|
|
132
|
-
},
|
|
133
|
-
"minItems": 3,
|
|
134
|
-
"maxItems": 3
|
|
135
|
-
},
|
|
136
|
-
"max": {
|
|
137
|
-
"type": "array",
|
|
138
|
-
"items": {
|
|
139
|
-
"type": "number"
|
|
140
|
-
},
|
|
141
|
-
"minItems": 3,
|
|
142
|
-
"maxItems": 3
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"required": [
|
|
146
|
-
"min",
|
|
147
|
-
"max"
|
|
148
|
-
],
|
|
149
|
-
"additionalProperties": false
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"required": [
|
|
153
|
-
"id",
|
|
154
|
-
"name",
|
|
155
|
-
"bounds"
|
|
156
|
-
],
|
|
157
|
-
"additionalProperties": false
|
|
158
|
-
},
|
|
159
|
-
"minItems": 0
|
|
160
|
-
},
|
|
161
|
-
"anchors": {
|
|
162
|
-
"type": "array",
|
|
163
|
-
"items": {
|
|
164
|
-
"type": "object",
|
|
165
|
-
"properties": {
|
|
166
|
-
"id": {
|
|
167
|
-
"$ref": "common.schema.json#/$defs/slug"
|
|
168
|
-
},
|
|
169
|
-
"pose": {
|
|
170
|
-
"$ref": "common.schema.json#/$defs/pose"
|
|
171
|
-
},
|
|
172
|
-
"size": {
|
|
173
|
-
"type": "array",
|
|
174
|
-
"items": {
|
|
175
|
-
"type": "number",
|
|
176
|
-
"exclusiveMinimum": 0
|
|
177
|
-
},
|
|
178
|
-
"minItems": 2,
|
|
179
|
-
"maxItems": 2
|
|
180
|
-
},
|
|
181
|
-
"screenType": {
|
|
182
|
-
"$ref": "common.schema.json#/$defs/id"
|
|
183
|
-
},
|
|
184
|
-
"node": {
|
|
185
|
-
"$ref": "common.schema.json#/$defs/index"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"required": [
|
|
189
|
-
"id",
|
|
190
|
-
"pose",
|
|
191
|
-
"size",
|
|
192
|
-
"screenType"
|
|
193
|
-
],
|
|
194
|
-
"additionalProperties": false
|
|
195
|
-
},
|
|
196
|
-
"minItems": 0
|
|
197
|
-
},
|
|
198
|
-
"navigation": {
|
|
199
|
-
"type": "object",
|
|
200
|
-
"properties": {
|
|
201
|
-
"kind": {
|
|
202
|
-
"const": "mesh"
|
|
203
|
-
},
|
|
204
|
-
"node": {
|
|
205
|
-
"$ref": "common.schema.json#/$defs/index"
|
|
206
|
-
},
|
|
207
|
-
"agentRadius": {
|
|
208
|
-
"type": "number",
|
|
209
|
-
"exclusiveMinimum": 0
|
|
210
|
-
},
|
|
211
|
-
"agentHeight": {
|
|
212
|
-
"type": "number",
|
|
213
|
-
"exclusiveMinimum": 0
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"required": [
|
|
217
|
-
"kind",
|
|
218
|
-
"node",
|
|
219
|
-
"agentRadius",
|
|
220
|
-
"agentHeight"
|
|
221
|
-
],
|
|
222
|
-
"additionalProperties": false
|
|
223
|
-
},
|
|
224
|
-
"collision": {
|
|
225
|
-
"type": "array",
|
|
226
|
-
"items": {
|
|
227
|
-
"type": "object",
|
|
228
|
-
"properties": {
|
|
229
|
-
"node": {
|
|
230
|
-
"$ref": "common.schema.json#/$defs/index"
|
|
231
|
-
},
|
|
232
|
-
"shape": {
|
|
233
|
-
"enum": [
|
|
234
|
-
"mesh",
|
|
235
|
-
"convex"
|
|
236
|
-
]
|
|
237
|
-
},
|
|
238
|
-
"layer": {
|
|
239
|
-
"const": "static"
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"required": [
|
|
243
|
-
"node",
|
|
244
|
-
"shape",
|
|
245
|
-
"layer"
|
|
246
|
-
],
|
|
247
|
-
"additionalProperties": false
|
|
248
|
-
},
|
|
249
|
-
"minItems": 0
|
|
250
|
-
},
|
|
251
|
-
"audio": {
|
|
252
|
-
"type": "array",
|
|
253
|
-
"items": {
|
|
254
|
-
"type": "object",
|
|
255
|
-
"properties": {
|
|
256
|
-
"id": {
|
|
257
|
-
"$ref": "common.schema.json#/$defs/slug"
|
|
258
|
-
},
|
|
259
|
-
"path": {
|
|
260
|
-
"allOf": [
|
|
261
|
-
{
|
|
262
|
-
"$ref": "common.schema.json#/$defs/path"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"pattern": "\\.(ogg|wav)$",
|
|
266
|
-
"type": "string"
|
|
267
|
-
}
|
|
268
|
-
]
|
|
269
|
-
},
|
|
270
|
-
"position": {
|
|
271
|
-
"type": "array",
|
|
272
|
-
"items": {
|
|
273
|
-
"type": "number"
|
|
274
|
-
},
|
|
275
|
-
"minItems": 3,
|
|
276
|
-
"maxItems": 3
|
|
277
|
-
},
|
|
278
|
-
"radius": {
|
|
279
|
-
"type": "number",
|
|
280
|
-
"exclusiveMinimum": 0
|
|
281
|
-
},
|
|
282
|
-
"gain": {
|
|
283
|
-
"type": "number",
|
|
284
|
-
"minimum": 0,
|
|
285
|
-
"maximum": 1
|
|
286
|
-
},
|
|
287
|
-
"loop": {
|
|
288
|
-
"type": "boolean"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"required": [
|
|
292
|
-
"id",
|
|
293
|
-
"path",
|
|
294
|
-
"position",
|
|
295
|
-
"radius",
|
|
296
|
-
"gain",
|
|
297
|
-
"loop"
|
|
298
|
-
],
|
|
299
|
-
"additionalProperties": false
|
|
300
|
-
},
|
|
301
|
-
"minItems": 0
|
|
302
|
-
},
|
|
303
|
-
"lightmaps": {
|
|
304
|
-
"type": "array",
|
|
305
|
-
"items": {
|
|
306
|
-
"type": "object",
|
|
307
|
-
"properties": {
|
|
308
|
-
"material": {
|
|
309
|
-
"$ref": "common.schema.json#/$defs/index"
|
|
310
|
-
},
|
|
311
|
-
"texture": {
|
|
312
|
-
"$ref": "common.schema.json#/$defs/index"
|
|
313
|
-
},
|
|
314
|
-
"texCoord": {
|
|
315
|
-
"const": 1
|
|
316
|
-
},
|
|
317
|
-
"encoding": {
|
|
318
|
-
"enum": [
|
|
319
|
-
"linear",
|
|
320
|
-
"srgb"
|
|
321
|
-
]
|
|
322
|
-
},
|
|
323
|
-
"intensity": {
|
|
324
|
-
"type": "number",
|
|
325
|
-
"minimum": 0
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
"required": [
|
|
329
|
-
"material",
|
|
330
|
-
"texture",
|
|
331
|
-
"texCoord",
|
|
332
|
-
"encoding",
|
|
333
|
-
"intensity"
|
|
334
|
-
],
|
|
335
|
-
"additionalProperties": false
|
|
336
|
-
},
|
|
337
|
-
"minItems": 0
|
|
338
|
-
},
|
|
339
|
-
"extensions": {
|
|
340
|
-
"$ref": "common.schema.json#/$defs/extensions"
|
|
341
|
-
},
|
|
342
|
-
"requiredExtensions": {
|
|
343
|
-
"type": "array",
|
|
344
|
-
"items": {
|
|
345
|
-
"$ref": "common.schema.json#/$defs/id"
|
|
346
|
-
},
|
|
347
|
-
"minItems": 0,
|
|
348
|
-
"uniqueItems": true
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
"required": [
|
|
352
|
-
"formatVersion",
|
|
353
|
-
"id",
|
|
354
|
-
"version",
|
|
355
|
-
"name",
|
|
356
|
-
"license",
|
|
357
|
-
"scene",
|
|
358
|
-
"defaultSpawn",
|
|
359
|
-
"spawns",
|
|
360
|
-
"attribution"
|
|
361
|
-
],
|
|
362
|
-
"additionalProperties": false
|
|
363
|
-
}
|