@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.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/v0/common.schema.json +0 -85
  3. package/v0/extension.schema.json +0 -121
  4. package/v0/ipc.schema.json +0 -1725
  5. package/v0/screen-type.schema.json +0 -115
  6. package/v0/world.schema.json +0 -363
  7. package/v0.10/ipc.schema.json +0 -8811
  8. package/v0.11/ipc.schema.json +0 -8863
  9. package/v0.12/ipc.schema.json +0 -9541
  10. package/v0.13/ipc.schema.json +0 -10032
  11. package/v0.14/ipc.schema.json +0 -10127
  12. package/v0.15/ipc.schema.json +0 -10534
  13. package/v0.16/ipc.schema.json +0 -10550
  14. package/v0.17/ipc.schema.json +0 -10703
  15. package/v0.18/ipc.schema.json +0 -10801
  16. package/v0.19/ipc.schema.json +0 -11587
  17. package/v0.2/common.schema.json +0 -86
  18. package/v0.2/ipc.schema.json +0 -3570
  19. package/v0.2/world.schema.json +0 -363
  20. package/v0.3/common.schema.json +0 -477
  21. package/v0.3/ipc.schema.json +0 -4044
  22. package/v0.3/world.schema.json +0 -390
  23. package/v0.4/common.schema.json +0 -477
  24. package/v0.4/ipc.schema.json +0 -5561
  25. package/v0.4/world.schema.json +0 -496
  26. package/v0.5/common.schema.json +0 -477
  27. package/v0.5/ipc.schema.json +0 -5781
  28. package/v0.5/world.schema.json +0 -790
  29. package/v0.6/common.schema.json +0 -478
  30. package/v0.6/input.schema.json +0 -519
  31. package/v0.6/ipc.schema.json +0 -7375
  32. package/v0.6/world.schema.json +0 -1062
  33. package/v0.7/common.schema.json +0 -478
  34. package/v0.7/ipc.schema.json +0 -7905
  35. package/v0.7/world.schema.json +0 -1062
  36. package/v0.8/ipc.schema.json +0 -7945
  37. package/v0.9/input.schema.json +0 -518
  38. package/v0.9/ipc.schema.json +0 -8613
@@ -1,477 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://hyprune.com/schema/v0.3/common.schema.json",
4
- "title": "Hyprune 0.3 common",
5
- "$defs": {
6
- "id": {
7
- "type": "string",
8
- "minLength": 1,
9
- "maxLength": 128,
10
- "pattern": "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
11
- },
12
- "slug": {
13
- "type": "string",
14
- "minLength": 1,
15
- "maxLength": 64,
16
- "pattern": "^[a-z][a-z0-9-]*$"
17
- },
18
- "version": {
19
- "type": "string",
20
- "minLength": 1,
21
- "maxLength": 256,
22
- "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$"
23
- },
24
- "path": {
25
- "type": "string",
26
- "minLength": 1,
27
- "maxLength": 512,
28
- "pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))[A-Za-z0-9_.-]+(?:/[A-Za-z0-9_.-]+)*$"
29
- },
30
- "pose": {
31
- "type": "object",
32
- "properties": {
33
- "position": {
34
- "type": "array",
35
- "items": {
36
- "type": "number"
37
- },
38
- "minItems": 3,
39
- "maxItems": 3
40
- },
41
- "rotation": {
42
- "type": "array",
43
- "items": {
44
- "type": "number"
45
- },
46
- "minItems": 4,
47
- "maxItems": 4
48
- }
49
- },
50
- "required": [
51
- "position",
52
- "rotation"
53
- ],
54
- "additionalProperties": false
55
- },
56
- "index": {
57
- "type": "integer",
58
- "minimum": 0
59
- },
60
- "capability": {
61
- "enum": [
62
- "state.read",
63
- "world.control",
64
- "surface.control",
65
- "movement.control",
66
- "shell.control",
67
- "runtime.control",
68
- "data.publish"
69
- ]
70
- },
71
- "extensions": {
72
- "type": "object",
73
- "propertyNames": {
74
- "$ref": "common.schema.json#/$defs/id"
75
- },
76
- "additionalProperties": {
77
- "type": "object"
78
- }
79
- },
80
- "revision": {
81
- "type": "integer",
82
- "minimum": 0,
83
- "maximum": 9007199254740991
84
- },
85
- "mount": {
86
- "type": "object",
87
- "properties": {
88
- "type": {
89
- "enum": [
90
- "facade-wall",
91
- "hanging-wall",
92
- "wall-inset-console",
93
- "banner",
94
- "lectern",
95
- "operator-desk",
96
- "field-rig",
97
- "kiosk-pillar",
98
- "globe",
99
- "crate",
100
- "blast-door-screen",
101
- "terminal-bench",
102
- "radar-dish"
103
- ]
104
- },
105
- "role": {
106
- "enum": [
107
- "mounted-workspace",
108
- "tool-mount",
109
- "data-object"
110
- ]
111
- },
112
- "frameNode": {
113
- "type": "integer",
114
- "minimum": 0
115
- },
116
- "limits": {
117
- "type": "object",
118
- "properties": {
119
- "minAspect": {
120
- "type": "number",
121
- "minimum": 0.05,
122
- "maximum": 20
123
- },
124
- "maxAspect": {
125
- "type": "number",
126
- "minimum": 0.05,
127
- "maximum": 20
128
- },
129
- "minSize": {
130
- "$ref": "common.schema.json#/$defs/size2"
131
- },
132
- "maxSize": {
133
- "$ref": "common.schema.json#/$defs/size2"
134
- }
135
- },
136
- "required": [
137
- "minAspect",
138
- "maxAspect",
139
- "minSize",
140
- "maxSize"
141
- ],
142
- "additionalProperties": false
143
- },
144
- "interaction": {
145
- "enum": [
146
- "focus-in",
147
- "in-place",
148
- "none"
149
- ]
150
- }
151
- },
152
- "required": [
153
- "type",
154
- "role",
155
- "interaction"
156
- ],
157
- "additionalProperties": false
158
- },
159
- "area": {
160
- "type": "object",
161
- "properties": {
162
- "id": {
163
- "$ref": "common.schema.json#/$defs/slug"
164
- },
165
- "workspaceSlot": {
166
- "type": "string",
167
- "pattern": "^[0-9]{2,4}$"
168
- },
169
- "primaryAnchor": {
170
- "$ref": "common.schema.json#/$defs/slug"
171
- },
172
- "toolAnchors": {
173
- "type": "array",
174
- "items": {
175
- "$ref": "common.schema.json#/$defs/slug"
176
- },
177
- "maxItems": 128
178
- },
179
- "dataAnchors": {
180
- "type": "array",
181
- "items": {
182
- "$ref": "common.schema.json#/$defs/slug"
183
- },
184
- "maxItems": 128
185
- },
186
- "theme": {
187
- "type": "string",
188
- "maxLength": 256
189
- },
190
- "spawnId": {
191
- "$ref": "common.schema.json#/$defs/slug"
192
- },
193
- "freePlacementZones": {
194
- "type": "array",
195
- "items": {
196
- "$ref": "common.schema.json#/$defs/slug"
197
- },
198
- "maxItems": 32
199
- }
200
- },
201
- "required": [
202
- "id",
203
- "workspaceSlot",
204
- "primaryAnchor",
205
- "toolAnchors",
206
- "dataAnchors",
207
- "theme"
208
- ],
209
- "additionalProperties": false
210
- },
211
- "atmosphere": {
212
- "type": "object",
213
- "properties": {
214
- "fog": {
215
- "type": "object",
216
- "properties": {
217
- "color": {
218
- "$ref": "common.schema.json#/$defs/vec3"
219
- },
220
- "density": {
221
- "type": "number",
222
- "minimum": 0,
223
- "maximum": 1
224
- },
225
- "heightFalloff": {
226
- "type": "number",
227
- "minimum": 0,
228
- "maximum": 10
229
- },
230
- "baseHeight": {
231
- "type": "number",
232
- "minimum": -10000,
233
- "maximum": 10000
234
- },
235
- "excludeUnlit": {
236
- "type": "boolean"
237
- }
238
- },
239
- "required": [
240
- "color",
241
- "density",
242
- "heightFalloff",
243
- "baseHeight",
244
- "excludeUnlit"
245
- ],
246
- "additionalProperties": false
247
- },
248
- "sky": {
249
- "type": "object",
250
- "properties": {
251
- "zenith": {
252
- "$ref": "common.schema.json#/$defs/vec3"
253
- },
254
- "horizon": {
255
- "$ref": "common.schema.json#/$defs/vec3"
256
- },
257
- "ground": {
258
- "$ref": "common.schema.json#/$defs/vec3"
259
- },
260
- "sun": {
261
- "type": "object",
262
- "properties": {
263
- "direction": {
264
- "$ref": "common.schema.json#/$defs/vec3"
265
- },
266
- "color": {
267
- "$ref": "common.schema.json#/$defs/vec3"
268
- },
269
- "intensity": {
270
- "type": "number",
271
- "minimum": 0,
272
- "maximum": 10000
273
- },
274
- "angularRadius": {
275
- "type": "number",
276
- "minimum": 0.001,
277
- "maximum": 1
278
- }
279
- },
280
- "required": [
281
- "direction",
282
- "color",
283
- "intensity",
284
- "angularRadius"
285
- ],
286
- "additionalProperties": false
287
- }
288
- },
289
- "required": [
290
- "zenith",
291
- "horizon",
292
- "ground",
293
- "sun"
294
- ],
295
- "additionalProperties": false
296
- },
297
- "environment": {
298
- "type": "object",
299
- "properties": {
300
- "faces": {
301
- "type": "array",
302
- "items": {
303
- "$ref": "common.schema.json#/$defs/path"
304
- },
305
- "minItems": 6,
306
- "maxItems": 6
307
- },
308
- "encoding": {
309
- "enum": [
310
- "srgb",
311
- "linear"
312
- ]
313
- },
314
- "intensity": {
315
- "type": "number",
316
- "minimum": 0,
317
- "maximum": 10000
318
- },
319
- "rotation": {
320
- "type": "number",
321
- "minimum": -6.283186,
322
- "maximum": 6.283186
323
- },
324
- "maxResolution": {
325
- "type": "integer",
326
- "minimum": 16,
327
- "maximum": 512
328
- }
329
- },
330
- "required": [
331
- "faces",
332
- "encoding",
333
- "intensity",
334
- "rotation",
335
- "maxResolution"
336
- ],
337
- "additionalProperties": false
338
- },
339
- "exposure": {
340
- "type": "number",
341
- "minimum": 0.01,
342
- "maximum": 100
343
- },
344
- "toneMapping": {
345
- "enum": [
346
- "aces",
347
- "reinhard",
348
- "linear"
349
- ]
350
- },
351
- "bloom": {
352
- "type": "object",
353
- "properties": {
354
- "strength": {
355
- "type": "number",
356
- "minimum": 0,
357
- "maximum": 2
358
- },
359
- "threshold": {
360
- "type": "number",
361
- "minimum": 0,
362
- "maximum": 100
363
- },
364
- "radius": {
365
- "type": "number",
366
- "minimum": 1,
367
- "maximum": 8
368
- }
369
- },
370
- "required": [
371
- "strength",
372
- "threshold",
373
- "radius"
374
- ],
375
- "additionalProperties": false
376
- }
377
- },
378
- "required": [
379
- "fog",
380
- "sky",
381
- "exposure",
382
- "toneMapping",
383
- "bloom"
384
- ],
385
- "additionalProperties": false
386
- },
387
- "vec3": {
388
- "type": "array",
389
- "items": {
390
- "type": "number"
391
- },
392
- "minItems": 3,
393
- "maxItems": 3
394
- },
395
- "size2": {
396
- "type": "array",
397
- "items": {
398
- "type": "number",
399
- "exclusiveMinimum": 0
400
- },
401
- "minItems": 2,
402
- "maxItems": 2
403
- },
404
- "placementZone": {
405
- "type": "object",
406
- "properties": {
407
- "id": {
408
- "$ref": "common.schema.json#/$defs/slug"
409
- },
410
- "bounds": {
411
- "type": "object",
412
- "properties": {
413
- "min": {
414
- "$ref": "common.schema.json#/$defs/vec3"
415
- },
416
- "max": {
417
- "$ref": "common.schema.json#/$defs/vec3"
418
- }
419
- },
420
- "required": [
421
- "min",
422
- "max"
423
- ],
424
- "additionalProperties": false
425
- },
426
- "windowSizes": {
427
- "type": "array",
428
- "items": {
429
- "$ref": "common.schema.json#/$defs/size2"
430
- },
431
- "maxItems": 8,
432
- "minItems": 1
433
- },
434
- "clearance": {
435
- "type": "number",
436
- "minimum": 0.04,
437
- "maximum": 1
438
- }
439
- },
440
- "required": [
441
- "id",
442
- "bounds",
443
- "windowSizes",
444
- "clearance"
445
- ],
446
- "additionalProperties": false
447
- },
448
- "dataObject": {
449
- "type": "object",
450
- "properties": {
451
- "id": {
452
- "$ref": "common.schema.json#/$defs/slug"
453
- },
454
- "areaId": {
455
- "$ref": "common.schema.json#/$defs/slug"
456
- },
457
- "pose": {
458
- "$ref": "common.schema.json#/$defs/pose"
459
- },
460
- "mount": {
461
- "$ref": "common.schema.json#/$defs/mount"
462
- },
463
- "node": {
464
- "type": "integer",
465
- "minimum": 0
466
- }
467
- },
468
- "required": [
469
- "id",
470
- "areaId",
471
- "pose",
472
- "mount"
473
- ],
474
- "additionalProperties": false
475
- }
476
- }
477
- }