@ue-shed/protocol 0.7.1 → 0.8.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.
Files changed (79) hide show
  1. package/contracts/cameras/authoring/v1/README.md +50 -0
  2. package/contracts/cameras/authoring/v1/approval.schema.json +106 -0
  3. package/contracts/cameras/authoring/v1/arrangement.schema.json +1801 -0
  4. package/contracts/cameras/authoring/v1/bridge-request.schema.json +10862 -0
  5. package/contracts/cameras/authoring/v1/bridge-response.schema.json +10323 -0
  6. package/contracts/cameras/authoring/v1/command.schema.json +4109 -0
  7. package/contracts/cameras/authoring/v1/document.schema.json +4409 -0
  8. package/contracts/cameras/authoring/v1/panel-event.schema.json +4885 -0
  9. package/contracts/cameras/authoring/v1/panel-state.schema.json +3548 -0
  10. package/contracts/cameras/authoring/v1/recipe.schema.json +340 -0
  11. package/contracts/cameras/authoring/v1/visibility-preset.schema.json +205 -0
  12. package/contracts/cameras/map-tile/v1/README.md +4 -1
  13. package/contracts/cameras/map-tile/v1/capture-operation.schema.json +1621 -30
  14. package/contracts/cameras/map-tile/v1/capture-request.schema.json +497 -48
  15. package/contracts/cameras/map-tile/v1/capture-response.schema.json +1383 -96
  16. package/contracts/cameras/map-tile/v1/manifest.schema.json +1760 -110
  17. package/contracts/cameras/map-tile/v1/plan.schema.json +394 -200
  18. package/contracts/cameras/map-tile/v1/release-result.schema.json +7 -2
  19. package/contracts/cameras/provisioning/v1/provision-request.schema.json +663 -141
  20. package/contracts/cameras/render/v1/begin-result.schema.json +167 -0
  21. package/contracts/cameras/render/v1/capabilities.schema.json +25 -0
  22. package/contracts/cameras/render/v1/frame-evidence.schema.json +240 -0
  23. package/contracts/cameras/render/v1/frame-status.schema.json +249 -0
  24. package/contracts/cameras/render/v1/policy.schema.json +159 -0
  25. package/contracts/cameras/render/v1/review-inspection-result.schema.json +263 -0
  26. package/contracts/cameras/render/v1/session-request.schema.json +167 -0
  27. package/contracts/cameras/review/v1/README.md +6 -0
  28. package/contracts/cameras/review/v1/capture-request.schema.json +221 -3
  29. package/contracts/cameras/review/v1/capture-response.schema.json +3648 -0
  30. package/contracts/cameras/review/v1/fixtures/capture-authored.json +205 -0
  31. package/contracts/core/v1/WINDOW-ACTIVATION.md +21 -0
  32. package/contracts/core/v1/window-activation-request.schema.json +20 -0
  33. package/contracts/core/v1/window-activation-result.schema.json +49 -0
  34. package/contracts/editor-world/v1/README.md +27 -0
  35. package/contracts/editor-world/v1/operation.schema.json +761 -0
  36. package/contracts/editor-world/v1/state.schema.json +92 -0
  37. package/contracts/uasset-io/v1/event.schema.json +613 -171
  38. package/contracts/uasset-io/v1/fixtures/invalid/inspect-string-table-nonstring-metadata.json +53 -0
  39. package/contracts/uasset-io/v1/fixtures/invalid/negative-instanced-size.json +97 -0
  40. package/contracts/uasset-io/v1/fixtures/invalid/non-string-metadata.json +97 -0
  41. package/contracts/uasset-io/v1/fixtures/invalid/unknown-native-value.json +97 -0
  42. package/contracts/uasset-io/v1/fixtures/valid/extract-text-string-table-occurrence-result-event.json +30 -0
  43. package/contracts/uasset-io/v1/fixtures/valid/inspect-native-result-event.json +97 -0
  44. package/contracts/uasset-io/v1/fixtures/valid/inspect-string-table-metadata-result-event.json +53 -0
  45. package/contracts/world/preparation/v1/fixtures/invalid-contract-version.json +10 -0
  46. package/contracts/world/preparation/v1/fixtures/invalid-extra-field.json +11 -0
  47. package/contracts/world/preparation/v1/fixtures/invalid-negative-budget.json +37 -0
  48. package/contracts/world/preparation/v1/fixtures/invalid-region-negative-extent.json +40 -0
  49. package/contracts/world/preparation/v1/fixtures/valid-actor-context.json +37 -0
  50. package/contracts/world/preparation/v1/fixtures/valid-describe.json +10 -0
  51. package/contracts/world/preparation/v1/request.schema.json +897 -0
  52. package/contracts/world/preparation/v1/response.schema.json +449 -0
  53. package/dist/cameras.d.ts +16 -12
  54. package/dist/cameras.d.ts.map +1 -1
  55. package/dist/cameras.js +1 -0
  56. package/dist/cameras.js.map +1 -1
  57. package/dist/companion.d.ts +6 -0
  58. package/dist/companion.d.ts.map +1 -1
  59. package/dist/companion.js +3 -0
  60. package/dist/companion.js.map +1 -1
  61. package/dist/editor-window-activation.d.ts +16 -0
  62. package/dist/editor-window-activation.d.ts.map +1 -0
  63. package/dist/editor-window-activation.js +19 -0
  64. package/dist/editor-window-activation.js.map +1 -0
  65. package/dist/editor-world-control.d.ts +125 -0
  66. package/dist/editor-world-control.d.ts.map +1 -1
  67. package/dist/editor-world-control.js +25 -0
  68. package/dist/editor-world-control.js.map +1 -1
  69. package/dist/index.d.ts +1 -0
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/index.js +1 -0
  72. package/dist/index.js.map +1 -1
  73. package/dist/uasset-inspection.d.ts +112 -55
  74. package/dist/uasset-inspection.d.ts.map +1 -1
  75. package/dist/uasset-inspection.js +29 -0
  76. package/dist/uasset-inspection.js.map +1 -1
  77. package/dist/uasset-io.d.ts +54 -0
  78. package/dist/uasset-io.d.ts.map +1 -1
  79. package/package.json +1 -1
@@ -0,0 +1,897 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://ue-shed.dev/contracts/world/preparation/v1/request.schema.json",
4
+ "anyOf": [
5
+ {
6
+ "type": "object",
7
+ "properties": {
8
+ "contract": {
9
+ "type": "object",
10
+ "properties": {
11
+ "name": {
12
+ "type": "string",
13
+ "enum": ["ue-shed-world-preparation"]
14
+ },
15
+ "version": {
16
+ "type": "object",
17
+ "properties": {
18
+ "major": {
19
+ "type": "number",
20
+ "enum": [1]
21
+ },
22
+ "minor": {
23
+ "type": "number",
24
+ "enum": [0]
25
+ }
26
+ },
27
+ "required": ["major", "minor"],
28
+ "additionalProperties": false
29
+ }
30
+ },
31
+ "required": ["name", "version"],
32
+ "additionalProperties": false
33
+ },
34
+ "action": {
35
+ "type": "string",
36
+ "enum": ["describe"]
37
+ }
38
+ },
39
+ "required": ["contract", "action"],
40
+ "additionalProperties": false
41
+ },
42
+ {
43
+ "type": "object",
44
+ "properties": {
45
+ "contract": {
46
+ "type": "object",
47
+ "properties": {
48
+ "name": {
49
+ "type": "string",
50
+ "enum": ["ue-shed-world-preparation"]
51
+ },
52
+ "version": {
53
+ "type": "object",
54
+ "properties": {
55
+ "major": {
56
+ "type": "number",
57
+ "enum": [1]
58
+ },
59
+ "minor": {
60
+ "type": "number",
61
+ "enum": [0]
62
+ }
63
+ },
64
+ "required": ["major", "minor"],
65
+ "additionalProperties": false
66
+ }
67
+ },
68
+ "required": ["name", "version"],
69
+ "additionalProperties": false
70
+ },
71
+ "action": {
72
+ "type": "string",
73
+ "enum": ["plan"]
74
+ },
75
+ "requirements": {
76
+ "type": "object",
77
+ "properties": {
78
+ "world": {
79
+ "type": "object",
80
+ "properties": {
81
+ "worldId": {
82
+ "type": "string",
83
+ "allOf": [
84
+ {
85
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
86
+ }
87
+ ]
88
+ },
89
+ "mapPath": {
90
+ "type": "string",
91
+ "allOf": [
92
+ {
93
+ "minLength": 1
94
+ },
95
+ {
96
+ "maxLength": 1024
97
+ }
98
+ ]
99
+ },
100
+ "projectName": {
101
+ "type": "string",
102
+ "allOf": [
103
+ {
104
+ "minLength": 1
105
+ },
106
+ {
107
+ "maxLength": 1024
108
+ }
109
+ ]
110
+ },
111
+ "partitioned": {
112
+ "type": "boolean"
113
+ },
114
+ "streamingEnabled": {
115
+ "type": "boolean"
116
+ }
117
+ },
118
+ "required": [
119
+ "worldId",
120
+ "mapPath",
121
+ "projectName",
122
+ "partitioned",
123
+ "streamingEnabled"
124
+ ],
125
+ "additionalProperties": false
126
+ },
127
+ "targets": {
128
+ "type": "array",
129
+ "items": {
130
+ "anyOf": [
131
+ {
132
+ "type": "object",
133
+ "properties": {
134
+ "kind": {
135
+ "type": "string",
136
+ "enum": ["region"]
137
+ },
138
+ "region": {
139
+ "type": "object",
140
+ "properties": {
141
+ "center": {
142
+ "type": "object",
143
+ "properties": {
144
+ "x": {
145
+ "type": "number"
146
+ },
147
+ "y": {
148
+ "type": "number"
149
+ },
150
+ "z": {
151
+ "type": "number"
152
+ }
153
+ },
154
+ "required": ["x", "y", "z"],
155
+ "additionalProperties": false
156
+ },
157
+ "extent": {
158
+ "type": "object",
159
+ "properties": {
160
+ "x": {
161
+ "type": "number",
162
+ "allOf": [
163
+ {
164
+ "minimum": 0,
165
+ "maximum": 10000000
166
+ }
167
+ ]
168
+ },
169
+ "y": {
170
+ "type": "number",
171
+ "allOf": [
172
+ {
173
+ "minimum": 0,
174
+ "maximum": 10000000
175
+ }
176
+ ]
177
+ },
178
+ "z": {
179
+ "type": "number",
180
+ "allOf": [
181
+ {
182
+ "minimum": 0,
183
+ "maximum": 10000000
184
+ }
185
+ ]
186
+ }
187
+ },
188
+ "required": ["x", "y", "z"],
189
+ "additionalProperties": false
190
+ }
191
+ },
192
+ "required": ["center", "extent"],
193
+ "additionalProperties": false
194
+ }
195
+ },
196
+ "required": ["kind", "region"],
197
+ "additionalProperties": false
198
+ },
199
+ {
200
+ "type": "object",
201
+ "properties": {
202
+ "kind": {
203
+ "type": "string",
204
+ "enum": ["actor"]
205
+ },
206
+ "actor": {
207
+ "type": "object",
208
+ "properties": {
209
+ "actorGuid": {
210
+ "type": "string",
211
+ "allOf": [
212
+ {
213
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
214
+ }
215
+ ]
216
+ },
217
+ "containerId": {
218
+ "type": "string",
219
+ "allOf": [
220
+ {
221
+ "minLength": 1
222
+ },
223
+ {
224
+ "maxLength": 1024
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ "required": ["actorGuid", "containerId"],
230
+ "additionalProperties": false
231
+ },
232
+ "contextExtent": {
233
+ "type": "object",
234
+ "properties": {
235
+ "x": {
236
+ "type": "number",
237
+ "allOf": [
238
+ {
239
+ "minimum": 0,
240
+ "maximum": 10000000
241
+ }
242
+ ]
243
+ },
244
+ "y": {
245
+ "type": "number",
246
+ "allOf": [
247
+ {
248
+ "minimum": 0,
249
+ "maximum": 10000000
250
+ }
251
+ ]
252
+ },
253
+ "z": {
254
+ "type": "number",
255
+ "allOf": [
256
+ {
257
+ "minimum": 0,
258
+ "maximum": 10000000
259
+ }
260
+ ]
261
+ }
262
+ },
263
+ "required": ["x", "y", "z"],
264
+ "additionalProperties": false
265
+ }
266
+ },
267
+ "required": ["kind", "actor", "contextExtent"],
268
+ "additionalProperties": false
269
+ }
270
+ ]
271
+ },
272
+ "allOf": [
273
+ {
274
+ "maxItems": 64
275
+ }
276
+ ]
277
+ },
278
+ "dataLayers": {
279
+ "type": "array",
280
+ "items": {
281
+ "type": "object",
282
+ "properties": {
283
+ "assetPath": {
284
+ "type": "string",
285
+ "allOf": [
286
+ {
287
+ "minLength": 1
288
+ },
289
+ {
290
+ "maxLength": 1024
291
+ }
292
+ ]
293
+ },
294
+ "loaded": {
295
+ "type": "boolean"
296
+ },
297
+ "visible": {
298
+ "type": "boolean"
299
+ }
300
+ },
301
+ "required": ["assetPath", "loaded", "visible"],
302
+ "additionalProperties": false
303
+ },
304
+ "allOf": [
305
+ {
306
+ "maxItems": 64
307
+ }
308
+ ]
309
+ },
310
+ "maximumActors": {
311
+ "type": "integer",
312
+ "allOf": [
313
+ {
314
+ "minimum": 1,
315
+ "maximum": 100000
316
+ }
317
+ ]
318
+ }
319
+ },
320
+ "required": ["world", "targets", "dataLayers", "maximumActors"],
321
+ "additionalProperties": false
322
+ }
323
+ },
324
+ "required": ["contract", "action", "requirements"],
325
+ "additionalProperties": false
326
+ },
327
+ {
328
+ "type": "object",
329
+ "properties": {
330
+ "contract": {
331
+ "type": "object",
332
+ "properties": {
333
+ "name": {
334
+ "type": "string",
335
+ "enum": ["ue-shed-world-preparation"]
336
+ },
337
+ "version": {
338
+ "type": "object",
339
+ "properties": {
340
+ "major": {
341
+ "type": "number",
342
+ "enum": [1]
343
+ },
344
+ "minor": {
345
+ "type": "number",
346
+ "enum": [0]
347
+ }
348
+ },
349
+ "required": ["major", "minor"],
350
+ "additionalProperties": false
351
+ }
352
+ },
353
+ "required": ["name", "version"],
354
+ "additionalProperties": false
355
+ },
356
+ "action": {
357
+ "type": "string",
358
+ "enum": ["acquire"]
359
+ },
360
+ "leaseId": {
361
+ "type": "string",
362
+ "allOf": [
363
+ {
364
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
365
+ }
366
+ ]
367
+ },
368
+ "leaseMs": {
369
+ "type": "integer",
370
+ "allOf": [
371
+ {
372
+ "minimum": 1000,
373
+ "maximum": 120000
374
+ }
375
+ ]
376
+ },
377
+ "requirements": {
378
+ "type": "object",
379
+ "properties": {
380
+ "world": {
381
+ "type": "object",
382
+ "properties": {
383
+ "worldId": {
384
+ "type": "string",
385
+ "allOf": [
386
+ {
387
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
388
+ }
389
+ ]
390
+ },
391
+ "mapPath": {
392
+ "type": "string",
393
+ "allOf": [
394
+ {
395
+ "minLength": 1
396
+ },
397
+ {
398
+ "maxLength": 1024
399
+ }
400
+ ]
401
+ },
402
+ "projectName": {
403
+ "type": "string",
404
+ "allOf": [
405
+ {
406
+ "minLength": 1
407
+ },
408
+ {
409
+ "maxLength": 1024
410
+ }
411
+ ]
412
+ },
413
+ "partitioned": {
414
+ "type": "boolean"
415
+ },
416
+ "streamingEnabled": {
417
+ "type": "boolean"
418
+ }
419
+ },
420
+ "required": [
421
+ "worldId",
422
+ "mapPath",
423
+ "projectName",
424
+ "partitioned",
425
+ "streamingEnabled"
426
+ ],
427
+ "additionalProperties": false
428
+ },
429
+ "targets": {
430
+ "type": "array",
431
+ "items": {
432
+ "anyOf": [
433
+ {
434
+ "type": "object",
435
+ "properties": {
436
+ "kind": {
437
+ "type": "string",
438
+ "enum": ["region"]
439
+ },
440
+ "region": {
441
+ "type": "object",
442
+ "properties": {
443
+ "center": {
444
+ "type": "object",
445
+ "properties": {
446
+ "x": {
447
+ "type": "number"
448
+ },
449
+ "y": {
450
+ "type": "number"
451
+ },
452
+ "z": {
453
+ "type": "number"
454
+ }
455
+ },
456
+ "required": ["x", "y", "z"],
457
+ "additionalProperties": false
458
+ },
459
+ "extent": {
460
+ "type": "object",
461
+ "properties": {
462
+ "x": {
463
+ "type": "number",
464
+ "allOf": [
465
+ {
466
+ "minimum": 0,
467
+ "maximum": 10000000
468
+ }
469
+ ]
470
+ },
471
+ "y": {
472
+ "type": "number",
473
+ "allOf": [
474
+ {
475
+ "minimum": 0,
476
+ "maximum": 10000000
477
+ }
478
+ ]
479
+ },
480
+ "z": {
481
+ "type": "number",
482
+ "allOf": [
483
+ {
484
+ "minimum": 0,
485
+ "maximum": 10000000
486
+ }
487
+ ]
488
+ }
489
+ },
490
+ "required": ["x", "y", "z"],
491
+ "additionalProperties": false
492
+ }
493
+ },
494
+ "required": ["center", "extent"],
495
+ "additionalProperties": false
496
+ }
497
+ },
498
+ "required": ["kind", "region"],
499
+ "additionalProperties": false
500
+ },
501
+ {
502
+ "type": "object",
503
+ "properties": {
504
+ "kind": {
505
+ "type": "string",
506
+ "enum": ["actor"]
507
+ },
508
+ "actor": {
509
+ "type": "object",
510
+ "properties": {
511
+ "actorGuid": {
512
+ "type": "string",
513
+ "allOf": [
514
+ {
515
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
516
+ }
517
+ ]
518
+ },
519
+ "containerId": {
520
+ "type": "string",
521
+ "allOf": [
522
+ {
523
+ "minLength": 1
524
+ },
525
+ {
526
+ "maxLength": 1024
527
+ }
528
+ ]
529
+ }
530
+ },
531
+ "required": ["actorGuid", "containerId"],
532
+ "additionalProperties": false
533
+ },
534
+ "contextExtent": {
535
+ "type": "object",
536
+ "properties": {
537
+ "x": {
538
+ "type": "number",
539
+ "allOf": [
540
+ {
541
+ "minimum": 0,
542
+ "maximum": 10000000
543
+ }
544
+ ]
545
+ },
546
+ "y": {
547
+ "type": "number",
548
+ "allOf": [
549
+ {
550
+ "minimum": 0,
551
+ "maximum": 10000000
552
+ }
553
+ ]
554
+ },
555
+ "z": {
556
+ "type": "number",
557
+ "allOf": [
558
+ {
559
+ "minimum": 0,
560
+ "maximum": 10000000
561
+ }
562
+ ]
563
+ }
564
+ },
565
+ "required": ["x", "y", "z"],
566
+ "additionalProperties": false
567
+ }
568
+ },
569
+ "required": ["kind", "actor", "contextExtent"],
570
+ "additionalProperties": false
571
+ }
572
+ ]
573
+ },
574
+ "allOf": [
575
+ {
576
+ "maxItems": 64
577
+ }
578
+ ]
579
+ },
580
+ "dataLayers": {
581
+ "type": "array",
582
+ "items": {
583
+ "type": "object",
584
+ "properties": {
585
+ "assetPath": {
586
+ "type": "string",
587
+ "allOf": [
588
+ {
589
+ "minLength": 1
590
+ },
591
+ {
592
+ "maxLength": 1024
593
+ }
594
+ ]
595
+ },
596
+ "loaded": {
597
+ "type": "boolean"
598
+ },
599
+ "visible": {
600
+ "type": "boolean"
601
+ }
602
+ },
603
+ "required": ["assetPath", "loaded", "visible"],
604
+ "additionalProperties": false
605
+ },
606
+ "allOf": [
607
+ {
608
+ "maxItems": 64
609
+ }
610
+ ]
611
+ },
612
+ "maximumActors": {
613
+ "type": "integer",
614
+ "allOf": [
615
+ {
616
+ "minimum": 1,
617
+ "maximum": 100000
618
+ }
619
+ ]
620
+ }
621
+ },
622
+ "required": ["world", "targets", "dataLayers", "maximumActors"],
623
+ "additionalProperties": false
624
+ }
625
+ },
626
+ "required": ["contract", "action", "leaseId", "leaseMs", "requirements"],
627
+ "additionalProperties": false
628
+ },
629
+ {
630
+ "type": "object",
631
+ "properties": {
632
+ "contract": {
633
+ "type": "object",
634
+ "properties": {
635
+ "name": {
636
+ "type": "string",
637
+ "enum": ["ue-shed-world-preparation"]
638
+ },
639
+ "version": {
640
+ "type": "object",
641
+ "properties": {
642
+ "major": {
643
+ "type": "number",
644
+ "enum": [1]
645
+ },
646
+ "minor": {
647
+ "type": "number",
648
+ "enum": [0]
649
+ }
650
+ },
651
+ "required": ["major", "minor"],
652
+ "additionalProperties": false
653
+ }
654
+ },
655
+ "required": ["name", "version"],
656
+ "additionalProperties": false
657
+ },
658
+ "leaseId": {
659
+ "type": "string",
660
+ "allOf": [
661
+ {
662
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
663
+ }
664
+ ]
665
+ },
666
+ "worldId": {
667
+ "type": "string",
668
+ "allOf": [
669
+ {
670
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
671
+ }
672
+ ]
673
+ },
674
+ "action": {
675
+ "type": "string",
676
+ "enum": ["replace"]
677
+ },
678
+ "revision": {
679
+ "type": "integer",
680
+ "allOf": [
681
+ {
682
+ "minimum": 1,
683
+ "maximum": 1000000
684
+ }
685
+ ]
686
+ },
687
+ "targets": {
688
+ "type": "array",
689
+ "items": {
690
+ "anyOf": [
691
+ {
692
+ "type": "object",
693
+ "properties": {
694
+ "kind": {
695
+ "type": "string",
696
+ "enum": ["region"]
697
+ },
698
+ "region": {
699
+ "type": "object",
700
+ "properties": {
701
+ "center": {
702
+ "type": "object",
703
+ "properties": {
704
+ "x": {
705
+ "type": "number"
706
+ },
707
+ "y": {
708
+ "type": "number"
709
+ },
710
+ "z": {
711
+ "type": "number"
712
+ }
713
+ },
714
+ "required": ["x", "y", "z"],
715
+ "additionalProperties": false
716
+ },
717
+ "extent": {
718
+ "type": "object",
719
+ "properties": {
720
+ "x": {
721
+ "type": "number",
722
+ "allOf": [
723
+ {
724
+ "minimum": 0,
725
+ "maximum": 10000000
726
+ }
727
+ ]
728
+ },
729
+ "y": {
730
+ "type": "number",
731
+ "allOf": [
732
+ {
733
+ "minimum": 0,
734
+ "maximum": 10000000
735
+ }
736
+ ]
737
+ },
738
+ "z": {
739
+ "type": "number",
740
+ "allOf": [
741
+ {
742
+ "minimum": 0,
743
+ "maximum": 10000000
744
+ }
745
+ ]
746
+ }
747
+ },
748
+ "required": ["x", "y", "z"],
749
+ "additionalProperties": false
750
+ }
751
+ },
752
+ "required": ["center", "extent"],
753
+ "additionalProperties": false
754
+ }
755
+ },
756
+ "required": ["kind", "region"],
757
+ "additionalProperties": false
758
+ },
759
+ {
760
+ "type": "object",
761
+ "properties": {
762
+ "kind": {
763
+ "type": "string",
764
+ "enum": ["actor"]
765
+ },
766
+ "actor": {
767
+ "type": "object",
768
+ "properties": {
769
+ "actorGuid": {
770
+ "type": "string",
771
+ "allOf": [
772
+ {
773
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
774
+ }
775
+ ]
776
+ },
777
+ "containerId": {
778
+ "type": "string",
779
+ "allOf": [
780
+ {
781
+ "minLength": 1
782
+ },
783
+ {
784
+ "maxLength": 1024
785
+ }
786
+ ]
787
+ }
788
+ },
789
+ "required": ["actorGuid", "containerId"],
790
+ "additionalProperties": false
791
+ },
792
+ "contextExtent": {
793
+ "type": "object",
794
+ "properties": {
795
+ "x": {
796
+ "type": "number",
797
+ "allOf": [
798
+ {
799
+ "minimum": 0,
800
+ "maximum": 10000000
801
+ }
802
+ ]
803
+ },
804
+ "y": {
805
+ "type": "number",
806
+ "allOf": [
807
+ {
808
+ "minimum": 0,
809
+ "maximum": 10000000
810
+ }
811
+ ]
812
+ },
813
+ "z": {
814
+ "type": "number",
815
+ "allOf": [
816
+ {
817
+ "minimum": 0,
818
+ "maximum": 10000000
819
+ }
820
+ ]
821
+ }
822
+ },
823
+ "required": ["x", "y", "z"],
824
+ "additionalProperties": false
825
+ }
826
+ },
827
+ "required": ["kind", "actor", "contextExtent"],
828
+ "additionalProperties": false
829
+ }
830
+ ]
831
+ },
832
+ "allOf": [
833
+ {
834
+ "maxItems": 64
835
+ }
836
+ ]
837
+ }
838
+ },
839
+ "required": ["contract", "leaseId", "worldId", "action", "revision", "targets"],
840
+ "additionalProperties": false
841
+ },
842
+ {
843
+ "type": "object",
844
+ "properties": {
845
+ "contract": {
846
+ "type": "object",
847
+ "properties": {
848
+ "name": {
849
+ "type": "string",
850
+ "enum": ["ue-shed-world-preparation"]
851
+ },
852
+ "version": {
853
+ "type": "object",
854
+ "properties": {
855
+ "major": {
856
+ "type": "number",
857
+ "enum": [1]
858
+ },
859
+ "minor": {
860
+ "type": "number",
861
+ "enum": [0]
862
+ }
863
+ },
864
+ "required": ["major", "minor"],
865
+ "additionalProperties": false
866
+ }
867
+ },
868
+ "required": ["name", "version"],
869
+ "additionalProperties": false
870
+ },
871
+ "leaseId": {
872
+ "type": "string",
873
+ "allOf": [
874
+ {
875
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
876
+ }
877
+ ]
878
+ },
879
+ "worldId": {
880
+ "type": "string",
881
+ "allOf": [
882
+ {
883
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
884
+ }
885
+ ]
886
+ },
887
+ "action": {
888
+ "type": "string",
889
+ "enum": ["poll", "release"]
890
+ }
891
+ },
892
+ "required": ["contract", "leaseId", "worldId", "action"],
893
+ "additionalProperties": false
894
+ }
895
+ ],
896
+ "$defs": {}
897
+ }