@hyprune/schema 0.5.1 → 0.5.2

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 +2 -2
  2. package/v0/common.schema.json +85 -0
  3. package/v0/extension.schema.json +121 -0
  4. package/v0/ipc.schema.json +1725 -0
  5. package/v0/screen-type.schema.json +115 -0
  6. package/v0/world.schema.json +363 -0
  7. package/v0.10/ipc.schema.json +8811 -0
  8. package/v0.11/ipc.schema.json +8863 -0
  9. package/v0.12/ipc.schema.json +9541 -0
  10. package/v0.13/ipc.schema.json +10032 -0
  11. package/v0.14/ipc.schema.json +10127 -0
  12. package/v0.15/ipc.schema.json +10534 -0
  13. package/v0.16/ipc.schema.json +10550 -0
  14. package/v0.17/ipc.schema.json +10703 -0
  15. package/v0.18/ipc.schema.json +10801 -0
  16. package/v0.19/ipc.schema.json +11587 -0
  17. package/v0.2/common.schema.json +86 -0
  18. package/v0.2/ipc.schema.json +3570 -0
  19. package/v0.2/world.schema.json +363 -0
  20. package/v0.3/common.schema.json +477 -0
  21. package/v0.3/ipc.schema.json +4044 -0
  22. package/v0.3/world.schema.json +390 -0
  23. package/v0.4/common.schema.json +477 -0
  24. package/v0.4/ipc.schema.json +5561 -0
  25. package/v0.4/world.schema.json +496 -0
  26. package/v0.5/common.schema.json +477 -0
  27. package/v0.5/ipc.schema.json +5781 -0
  28. package/v0.5/world.schema.json +790 -0
  29. package/v0.6/common.schema.json +478 -0
  30. package/v0.6/input.schema.json +519 -0
  31. package/v0.6/ipc.schema.json +7375 -0
  32. package/v0.6/world.schema.json +1062 -0
  33. package/v0.7/common.schema.json +478 -0
  34. package/v0.7/ipc.schema.json +7905 -0
  35. package/v0.7/world.schema.json +1062 -0
  36. package/v0.8/ipc.schema.json +7945 -0
  37. package/v0.9/input.schema.json +518 -0
  38. package/v0.9/ipc.schema.json +8613 -0
@@ -0,0 +1,518 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://hyprune.com/schema/v0.9/input.schema.json",
4
+ "type": "object",
5
+ "properties": {
6
+ "version": {
7
+ "const": 2
8
+ },
9
+ "longHoldMs": {
10
+ "type": "integer",
11
+ "minimum": 100,
12
+ "maximum": 5000
13
+ },
14
+ "scopeVignette": {
15
+ "type": "boolean"
16
+ },
17
+ "useDistance": {
18
+ "type": "number",
19
+ "minimum": 0.2,
20
+ "maximum": 30
21
+ },
22
+ "useTolerance": {
23
+ "type": "number",
24
+ "minimum": 0,
25
+ "maximum": 0.5
26
+ },
27
+ "captureInputLimit": {
28
+ "type": "integer",
29
+ "minimum": 16,
30
+ "maximum": 1024
31
+ },
32
+ "modes": {
33
+ "type": "object",
34
+ "properties": {
35
+ "world": {
36
+ "type": "object",
37
+ "properties": {
38
+ "look": {
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string",
42
+ "minLength": 1,
43
+ "maxLength": 96
44
+ },
45
+ "maxItems": 3,
46
+ "uniqueItems": true
47
+ },
48
+ "forward": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "string",
52
+ "minLength": 1,
53
+ "maxLength": 96
54
+ },
55
+ "maxItems": 3,
56
+ "uniqueItems": true
57
+ },
58
+ "back": {
59
+ "type": "array",
60
+ "items": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 96
64
+ },
65
+ "maxItems": 3,
66
+ "uniqueItems": true
67
+ },
68
+ "left": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "string",
72
+ "minLength": 1,
73
+ "maxLength": 96
74
+ },
75
+ "maxItems": 3,
76
+ "uniqueItems": true
77
+ },
78
+ "right": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 96
84
+ },
85
+ "maxItems": 3,
86
+ "uniqueItems": true
87
+ },
88
+ "menu": {
89
+ "type": "array",
90
+ "items": {
91
+ "type": "string",
92
+ "minLength": 1,
93
+ "maxLength": 96
94
+ },
95
+ "maxItems": 3,
96
+ "uniqueItems": true
97
+ },
98
+ "sprint": {
99
+ "type": "array",
100
+ "items": {
101
+ "type": "string",
102
+ "minLength": 1,
103
+ "maxLength": 96
104
+ },
105
+ "maxItems": 3,
106
+ "uniqueItems": true
107
+ },
108
+ "up": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 96
114
+ },
115
+ "maxItems": 3,
116
+ "uniqueItems": true
117
+ },
118
+ "down": {
119
+ "type": "array",
120
+ "items": {
121
+ "type": "string",
122
+ "minLength": 1,
123
+ "maxLength": 96
124
+ },
125
+ "maxItems": 3,
126
+ "uniqueItems": true
127
+ },
128
+ "use": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "string",
132
+ "minLength": 1,
133
+ "maxLength": 96
134
+ },
135
+ "maxItems": 3,
136
+ "uniqueItems": true
137
+ },
138
+ "focus": {
139
+ "type": "array",
140
+ "items": {
141
+ "type": "string",
142
+ "minLength": 1,
143
+ "maxLength": 96
144
+ },
145
+ "maxItems": 3,
146
+ "uniqueItems": true
147
+ },
148
+ "noclip": {
149
+ "type": "array",
150
+ "items": {
151
+ "type": "string",
152
+ "minLength": 1,
153
+ "maxLength": 96
154
+ },
155
+ "maxItems": 3,
156
+ "uniqueItems": true
157
+ },
158
+ "scope": {
159
+ "type": "array",
160
+ "items": {
161
+ "type": "string",
162
+ "minLength": 1,
163
+ "maxLength": 96
164
+ },
165
+ "maxItems": 3,
166
+ "uniqueItems": true
167
+ },
168
+ "debug": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "string",
172
+ "minLength": 1,
173
+ "maxLength": 96
174
+ },
175
+ "maxItems": 3,
176
+ "uniqueItems": true
177
+ },
178
+ "capture": {
179
+ "type": "array",
180
+ "items": {
181
+ "type": "string",
182
+ "minLength": 1,
183
+ "maxLength": 96
184
+ },
185
+ "maxItems": 3,
186
+ "uniqueItems": true
187
+ },
188
+ "carry": {
189
+ "type": "array",
190
+ "items": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 96
194
+ },
195
+ "maxItems": 3,
196
+ "uniqueItems": true
197
+ },
198
+ "resize": {
199
+ "type": "array",
200
+ "items": {
201
+ "type": "string",
202
+ "minLength": 1,
203
+ "maxLength": 96
204
+ },
205
+ "maxItems": 3,
206
+ "uniqueItems": true
207
+ },
208
+ "distance": {
209
+ "type": "array",
210
+ "items": {
211
+ "type": "string",
212
+ "minLength": 1,
213
+ "maxLength": 96
214
+ },
215
+ "maxItems": 3,
216
+ "uniqueItems": true
217
+ },
218
+ "rotate": {
219
+ "type": "array",
220
+ "items": {
221
+ "type": "string",
222
+ "minLength": 1,
223
+ "maxLength": 96
224
+ },
225
+ "maxItems": 3,
226
+ "uniqueItems": true
227
+ },
228
+ "tool1": {
229
+ "type": "array",
230
+ "items": {
231
+ "type": "string",
232
+ "minLength": 1,
233
+ "maxLength": 96
234
+ },
235
+ "maxItems": 3,
236
+ "uniqueItems": true
237
+ },
238
+ "tool2": {
239
+ "type": "array",
240
+ "items": {
241
+ "type": "string",
242
+ "minLength": 1,
243
+ "maxLength": 96
244
+ },
245
+ "maxItems": 3,
246
+ "uniqueItems": true
247
+ },
248
+ "tool3": {
249
+ "type": "array",
250
+ "items": {
251
+ "type": "string",
252
+ "minLength": 1,
253
+ "maxLength": 96
254
+ },
255
+ "maxItems": 3,
256
+ "uniqueItems": true
257
+ },
258
+ "tool4": {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string",
262
+ "minLength": 1,
263
+ "maxLength": 96
264
+ },
265
+ "maxItems": 3,
266
+ "uniqueItems": true
267
+ },
268
+ "hud.cycle": {
269
+ "type": "array",
270
+ "items": {
271
+ "type": "string",
272
+ "minLength": 1,
273
+ "maxLength": 96
274
+ },
275
+ "maxItems": 3,
276
+ "uniqueItems": true
277
+ },
278
+ "transport": {
279
+ "type": "array",
280
+ "items": {
281
+ "type": "string",
282
+ "minLength": 1,
283
+ "maxLength": 96
284
+ },
285
+ "maxItems": 3,
286
+ "uniqueItems": true
287
+ },
288
+ "autopilot": {
289
+ "type": "array",
290
+ "items": {
291
+ "type": "string",
292
+ "minLength": 1,
293
+ "maxLength": 96
294
+ },
295
+ "maxItems": 3,
296
+ "uniqueItems": true
297
+ },
298
+ "primary": {
299
+ "type": "array",
300
+ "items": {
301
+ "type": "string",
302
+ "minLength": 1,
303
+ "maxLength": 96
304
+ },
305
+ "maxItems": 3,
306
+ "uniqueItems": true
307
+ },
308
+ "secondary": {
309
+ "type": "array",
310
+ "items": {
311
+ "type": "string",
312
+ "minLength": 1,
313
+ "maxLength": 96
314
+ },
315
+ "maxItems": 3,
316
+ "uniqueItems": true
317
+ },
318
+ "wheel": {
319
+ "type": "array",
320
+ "items": {
321
+ "type": "string",
322
+ "minLength": 1,
323
+ "maxLength": 96
324
+ },
325
+ "maxItems": 3,
326
+ "uniqueItems": true
327
+ },
328
+ "fly": {
329
+ "type": "array",
330
+ "items": {
331
+ "type": "string",
332
+ "minLength": 1,
333
+ "maxLength": 96
334
+ },
335
+ "maxItems": 3,
336
+ "uniqueItems": true
337
+ }
338
+ },
339
+ "required": [
340
+ "look",
341
+ "forward",
342
+ "back",
343
+ "left",
344
+ "right",
345
+ "menu",
346
+ "sprint",
347
+ "up",
348
+ "down",
349
+ "use",
350
+ "focus",
351
+ "noclip",
352
+ "scope",
353
+ "debug",
354
+ "capture",
355
+ "carry",
356
+ "resize",
357
+ "distance",
358
+ "rotate",
359
+ "tool1",
360
+ "tool2",
361
+ "tool3",
362
+ "tool4",
363
+ "hud.cycle",
364
+ "transport",
365
+ "autopilot",
366
+ "primary",
367
+ "secondary",
368
+ "wheel",
369
+ "fly"
370
+ ],
371
+ "additionalProperties": false
372
+ },
373
+ "interactive": {
374
+ "type": "object",
375
+ "properties": {
376
+ "exit": {
377
+ "type": "array",
378
+ "items": {
379
+ "type": "string",
380
+ "minLength": 1,
381
+ "maxLength": 96
382
+ },
383
+ "maxItems": 3,
384
+ "uniqueItems": true
385
+ },
386
+ "debug": {
387
+ "type": "array",
388
+ "items": {
389
+ "type": "string",
390
+ "minLength": 1,
391
+ "maxLength": 96
392
+ },
393
+ "maxItems": 3,
394
+ "uniqueItems": true
395
+ },
396
+ "capture": {
397
+ "type": "array",
398
+ "items": {
399
+ "type": "string",
400
+ "minLength": 1,
401
+ "maxLength": 96
402
+ },
403
+ "maxItems": 3,
404
+ "uniqueItems": true
405
+ }
406
+ },
407
+ "required": [
408
+ "exit"
409
+ ],
410
+ "additionalProperties": false
411
+ },
412
+ "focus": {
413
+ "type": "object",
414
+ "properties": {
415
+ "exit": {
416
+ "type": "array",
417
+ "items": {
418
+ "type": "string",
419
+ "minLength": 1,
420
+ "maxLength": 96
421
+ },
422
+ "maxItems": 3,
423
+ "uniqueItems": true
424
+ },
425
+ "debug": {
426
+ "type": "array",
427
+ "items": {
428
+ "type": "string",
429
+ "minLength": 1,
430
+ "maxLength": 96
431
+ },
432
+ "maxItems": 3,
433
+ "uniqueItems": true
434
+ },
435
+ "capture": {
436
+ "type": "array",
437
+ "items": {
438
+ "type": "string",
439
+ "minLength": 1,
440
+ "maxLength": 96
441
+ },
442
+ "maxItems": 3,
443
+ "uniqueItems": true
444
+ }
445
+ },
446
+ "required": [
447
+ "exit"
448
+ ],
449
+ "additionalProperties": false
450
+ },
451
+ "menu": {
452
+ "type": "object",
453
+ "properties": {
454
+ "exit": {
455
+ "type": "array",
456
+ "items": {
457
+ "type": "string",
458
+ "minLength": 1,
459
+ "maxLength": 96
460
+ },
461
+ "maxItems": 3,
462
+ "uniqueItems": true
463
+ },
464
+ "debug": {
465
+ "type": "array",
466
+ "items": {
467
+ "type": "string",
468
+ "minLength": 1,
469
+ "maxLength": 96
470
+ },
471
+ "maxItems": 3,
472
+ "uniqueItems": true
473
+ },
474
+ "capture": {
475
+ "type": "array",
476
+ "items": {
477
+ "type": "string",
478
+ "minLength": 1,
479
+ "maxLength": 96
480
+ },
481
+ "maxItems": 3,
482
+ "uniqueItems": true
483
+ }
484
+ },
485
+ "required": [
486
+ "exit"
487
+ ],
488
+ "additionalProperties": false
489
+ }
490
+ },
491
+ "required": [
492
+ "world",
493
+ "interactive",
494
+ "focus",
495
+ "menu"
496
+ ],
497
+ "additionalProperties": false
498
+ },
499
+ "invert_y": {
500
+ "type": "boolean",
501
+ "description": "Invert vertical mouse look; default false."
502
+ },
503
+ "show_area_markers": {
504
+ "type": "boolean",
505
+ "description": "Render optional place/area labels in core; default false."
506
+ }
507
+ },
508
+ "required": [
509
+ "version",
510
+ "longHoldMs",
511
+ "scopeVignette",
512
+ "useDistance",
513
+ "useTolerance",
514
+ "captureInputLimit",
515
+ "modes"
516
+ ],
517
+ "additionalProperties": false
518
+ }