@ue-shed/protocol 0.7.1 → 0.9.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 (100) hide show
  1. package/contracts/cameras/authoring/v1/README.md +63 -0
  2. package/contracts/cameras/authoring/v1/approval.schema.json +106 -0
  3. package/contracts/cameras/authoring/v1/arrangement.schema.json +1807 -0
  4. package/contracts/cameras/authoring/v1/bridge-request.schema.json +11077 -0
  5. package/contracts/cameras/authoring/v1/bridge-response.schema.json +10523 -0
  6. package/contracts/cameras/authoring/v1/command.schema.json +4115 -0
  7. package/contracts/cameras/authoring/v1/document.schema.json +4421 -0
  8. package/contracts/cameras/authoring/v1/panel-event.schema.json +4891 -0
  9. package/contracts/cameras/authoring/v1/panel-state.schema.json +3560 -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 +1643 -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 +1405 -96
  16. package/contracts/cameras/map-tile/v1/manifest.schema.json +1782 -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/README.md +6 -0
  21. package/contracts/cameras/render/v1/begin-result.schema.json +173 -0
  22. package/contracts/cameras/render/v1/capabilities.schema.json +46 -0
  23. package/contracts/cameras/render/v1/fixtures/invalid-session-editor-previews-type.json +41 -0
  24. package/contracts/cameras/render/v1/fixtures/session-editor-previews.json +41 -0
  25. package/contracts/cameras/render/v1/fixtures/session-scene-capture-editor-previews.json +40 -0
  26. package/contracts/cameras/render/v1/frame-evidence.schema.json +262 -0
  27. package/contracts/cameras/render/v1/frame-status.schema.json +271 -0
  28. package/contracts/cameras/render/v1/policy.schema.json +165 -0
  29. package/contracts/cameras/render/v1/review-inspection-result.schema.json +285 -0
  30. package/contracts/cameras/render/v1/session-request.schema.json +173 -0
  31. package/contracts/cameras/review/v1/README.md +6 -0
  32. package/contracts/cameras/review/v1/capture-request.schema.json +221 -3
  33. package/contracts/cameras/review/v1/capture-response.schema.json +3692 -0
  34. package/contracts/cameras/review/v1/fixtures/capture-authored.json +205 -0
  35. package/contracts/core/v1/WINDOW-ACTIVATION.md +21 -0
  36. package/contracts/core/v1/window-activation-request.schema.json +20 -0
  37. package/contracts/core/v1/window-activation-result.schema.json +49 -0
  38. package/contracts/editor-world/v1/README.md +27 -0
  39. package/contracts/editor-world/v1/operation.schema.json +761 -0
  40. package/contracts/editor-world/v1/state.schema.json +92 -0
  41. package/contracts/uasset-io/v1/README.md +24 -0
  42. package/contracts/uasset-io/v1/event.schema.json +2642 -290
  43. package/contracts/uasset-io/v1/fixtures/invalid/inspect-string-table-nonstring-metadata.json +53 -0
  44. package/contracts/uasset-io/v1/fixtures/invalid/level-sequence-version.json +43 -0
  45. package/contracts/uasset-io/v1/fixtures/invalid/negative-instanced-size.json +97 -0
  46. package/contracts/uasset-io/v1/fixtures/invalid/non-string-metadata.json +97 -0
  47. package/contracts/uasset-io/v1/fixtures/invalid/unknown-native-value.json +97 -0
  48. package/contracts/uasset-io/v1/fixtures/valid/blueprint-request.json +15 -3
  49. package/contracts/uasset-io/v1/fixtures/valid/blueprint-result-event.json +22 -5
  50. package/contracts/uasset-io/v1/fixtures/valid/extract-text-string-table-occurrence-result-event.json +30 -0
  51. package/contracts/uasset-io/v1/fixtures/valid/inspect-native-result-event.json +97 -0
  52. package/contracts/uasset-io/v1/fixtures/valid/inspect-string-table-metadata-result-event.json +53 -0
  53. package/contracts/uasset-io/v1/fixtures/valid/level-sequence-request.json +18 -0
  54. package/contracts/uasset-io/v1/fixtures/valid/level-sequence-result-event.json +43 -0
  55. package/contracts/uasset-io/v1/request.schema.json +14 -0
  56. package/contracts/world/preparation/v1/fixtures/invalid-contract-version.json +10 -0
  57. package/contracts/world/preparation/v1/fixtures/invalid-extra-field.json +11 -0
  58. package/contracts/world/preparation/v1/fixtures/invalid-negative-budget.json +37 -0
  59. package/contracts/world/preparation/v1/fixtures/invalid-region-negative-extent.json +40 -0
  60. package/contracts/world/preparation/v1/fixtures/valid-actor-context.json +37 -0
  61. package/contracts/world/preparation/v1/fixtures/valid-describe.json +10 -0
  62. package/contracts/world/preparation/v1/request.schema.json +897 -0
  63. package/contracts/world/preparation/v1/response.schema.json +449 -0
  64. package/dist/blueprint-graph.d.ts +332 -8
  65. package/dist/blueprint-graph.d.ts.map +1 -1
  66. package/dist/blueprint-graph.js +42 -3
  67. package/dist/blueprint-graph.js.map +1 -1
  68. package/dist/cameras.d.ts +16 -12
  69. package/dist/cameras.d.ts.map +1 -1
  70. package/dist/cameras.js +1 -0
  71. package/dist/cameras.js.map +1 -1
  72. package/dist/companion.d.ts +6 -0
  73. package/dist/companion.d.ts.map +1 -1
  74. package/dist/companion.js +3 -0
  75. package/dist/companion.js.map +1 -1
  76. package/dist/editor-window-activation.d.ts +16 -0
  77. package/dist/editor-window-activation.d.ts.map +1 -0
  78. package/dist/editor-window-activation.js +19 -0
  79. package/dist/editor-window-activation.js.map +1 -0
  80. package/dist/editor-world-control.d.ts +125 -0
  81. package/dist/editor-world-control.d.ts.map +1 -1
  82. package/dist/editor-world-control.js +25 -0
  83. package/dist/editor-world-control.js.map +1 -1
  84. package/dist/index.d.ts +2 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +2 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/level-sequence.d.ts +1315 -0
  89. package/dist/level-sequence.d.ts.map +1 -0
  90. package/dist/level-sequence.js +204 -0
  91. package/dist/level-sequence.js.map +1 -0
  92. package/dist/uasset-inspection.d.ts +128 -55
  93. package/dist/uasset-inspection.d.ts.map +1 -1
  94. package/dist/uasset-inspection.js +39 -2
  95. package/dist/uasset-inspection.js.map +1 -1
  96. package/dist/uasset-io.d.ts +1302 -9
  97. package/dist/uasset-io.d.ts.map +1 -1
  98. package/dist/uasset-io.js +4 -0
  99. package/dist/uasset-io.js.map +1 -1
  100. package/package.json +1 -1
@@ -124,6 +124,104 @@
124
124
  "evidence": {
125
125
  "type": "object",
126
126
  "properties": {
127
+ "visibilityDiagnostics": {
128
+ "type": "array",
129
+ "items": {
130
+ "type": "object",
131
+ "properties": {
132
+ "locator": {
133
+ "anyOf": [
134
+ {
135
+ "type": "object",
136
+ "properties": {
137
+ "kind": {
138
+ "type": "string",
139
+ "enum": ["actor_path"]
140
+ },
141
+ "actorPath": {
142
+ "type": "string",
143
+ "allOf": [
144
+ {
145
+ "pattern": "^\\/Game\\/"
146
+ },
147
+ {
148
+ "maxLength": 4096
149
+ }
150
+ ]
151
+ }
152
+ },
153
+ "required": ["kind", "actorPath"],
154
+ "additionalProperties": false
155
+ },
156
+ {
157
+ "type": "object",
158
+ "properties": {
159
+ "kind": {
160
+ "type": "string",
161
+ "enum": ["actor_guid"]
162
+ },
163
+ "actorGuid": {
164
+ "type": "string",
165
+ "allOf": [
166
+ {
167
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
168
+ }
169
+ ]
170
+ },
171
+ "lastKnownActorPath": {
172
+ "type": "string",
173
+ "allOf": [
174
+ {
175
+ "maxLength": 4096
176
+ }
177
+ ]
178
+ }
179
+ },
180
+ "required": [
181
+ "kind",
182
+ "actorGuid",
183
+ "lastKnownActorPath"
184
+ ],
185
+ "additionalProperties": false
186
+ }
187
+ ]
188
+ },
189
+ "status": {
190
+ "type": "string",
191
+ "enum": [
192
+ "resolved",
193
+ "missing_or_unloaded",
194
+ "ambiguous",
195
+ "unsupported"
196
+ ]
197
+ },
198
+ "actorPath": {
199
+ "type": "string"
200
+ },
201
+ "message": {
202
+ "type": "string"
203
+ }
204
+ },
205
+ "required": ["locator", "status", "actorPath", "message"],
206
+ "additionalProperties": false
207
+ }
208
+ },
209
+ "editorPreviews": {
210
+ "type": "object",
211
+ "properties": {
212
+ "revealedChildActors": {
213
+ "type": "integer",
214
+ "allOf": [
215
+ {
216
+ "minimum": 0,
217
+ "maximum": 1000000
218
+ }
219
+ ]
220
+ }
221
+ },
222
+ "required": ["revealedChildActors"],
223
+ "additionalProperties": false
224
+ },
127
225
  "editorState": {
128
226
  "type": "object",
129
227
  "properties": {
@@ -250,6 +348,173 @@
250
348
  "policy": {
251
349
  "type": "object",
252
350
  "properties": {
351
+ "visibility": {
352
+ "type": "object",
353
+ "properties": {
354
+ "hide": {
355
+ "type": "array",
356
+ "items": {
357
+ "type": "object",
358
+ "properties": {
359
+ "locator": {
360
+ "anyOf": [
361
+ {
362
+ "type": "object",
363
+ "properties": {
364
+ "kind": {
365
+ "type": "string",
366
+ "enum": ["actor_path"]
367
+ },
368
+ "actorPath": {
369
+ "type": "string",
370
+ "allOf": [
371
+ {
372
+ "pattern": "^\\/Game\\/"
373
+ },
374
+ {
375
+ "maxLength": 4096
376
+ }
377
+ ]
378
+ }
379
+ },
380
+ "required": ["kind", "actorPath"],
381
+ "additionalProperties": false
382
+ },
383
+ {
384
+ "type": "object",
385
+ "properties": {
386
+ "kind": {
387
+ "type": "string",
388
+ "enum": ["actor_guid"]
389
+ },
390
+ "actorGuid": {
391
+ "type": "string",
392
+ "allOf": [
393
+ {
394
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
395
+ }
396
+ ]
397
+ },
398
+ "lastKnownActorPath": {
399
+ "type": "string",
400
+ "allOf": [
401
+ {
402
+ "maxLength": 4096
403
+ }
404
+ ]
405
+ }
406
+ },
407
+ "required": [
408
+ "kind",
409
+ "actorGuid",
410
+ "lastKnownActorPath"
411
+ ],
412
+ "additionalProperties": false
413
+ }
414
+ ]
415
+ },
416
+ "label": {
417
+ "type": "string",
418
+ "allOf": [
419
+ {
420
+ "maxLength": 256
421
+ }
422
+ ]
423
+ }
424
+ },
425
+ "required": ["locator", "label"],
426
+ "additionalProperties": false
427
+ },
428
+ "allOf": [
429
+ {
430
+ "maxItems": 256
431
+ }
432
+ ]
433
+ },
434
+ "protect": {
435
+ "type": "array",
436
+ "items": {
437
+ "type": "object",
438
+ "properties": {
439
+ "locator": {
440
+ "anyOf": [
441
+ {
442
+ "type": "object",
443
+ "properties": {
444
+ "kind": {
445
+ "type": "string",
446
+ "enum": ["actor_path"]
447
+ },
448
+ "actorPath": {
449
+ "type": "string",
450
+ "allOf": [
451
+ {
452
+ "pattern": "^\\/Game\\/"
453
+ },
454
+ {
455
+ "maxLength": 4096
456
+ }
457
+ ]
458
+ }
459
+ },
460
+ "required": ["kind", "actorPath"],
461
+ "additionalProperties": false
462
+ },
463
+ {
464
+ "type": "object",
465
+ "properties": {
466
+ "kind": {
467
+ "type": "string",
468
+ "enum": ["actor_guid"]
469
+ },
470
+ "actorGuid": {
471
+ "type": "string",
472
+ "allOf": [
473
+ {
474
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
475
+ }
476
+ ]
477
+ },
478
+ "lastKnownActorPath": {
479
+ "type": "string",
480
+ "allOf": [
481
+ {
482
+ "maxLength": 4096
483
+ }
484
+ ]
485
+ }
486
+ },
487
+ "required": [
488
+ "kind",
489
+ "actorGuid",
490
+ "lastKnownActorPath"
491
+ ],
492
+ "additionalProperties": false
493
+ }
494
+ ]
495
+ },
496
+ "label": {
497
+ "type": "string",
498
+ "allOf": [
499
+ {
500
+ "maxLength": 256
501
+ }
502
+ ]
503
+ }
504
+ },
505
+ "required": ["locator", "label"],
506
+ "additionalProperties": false
507
+ },
508
+ "allOf": [
509
+ {
510
+ "maxItems": 256
511
+ }
512
+ ]
513
+ }
514
+ },
515
+ "required": ["hide", "protect"],
516
+ "additionalProperties": false
517
+ },
253
518
  "renderer": {
254
519
  "anyOf": [
255
520
  {
@@ -276,6 +541,9 @@
276
541
  },
277
542
  "volumetricFog": {
278
543
  "type": "boolean"
544
+ },
545
+ "editorPreviews": {
546
+ "type": "boolean"
279
547
  }
280
548
  },
281
549
  "required": [
@@ -318,6 +586,9 @@
318
586
  },
319
587
  "volumetricFog": {
320
588
  "type": "boolean"
589
+ },
590
+ "editorPreviews": {
591
+ "type": "boolean"
321
592
  }
322
593
  },
323
594
  "required": [
@@ -3,6 +3,165 @@
3
3
  "$id": "https://ue-shed.dev/contracts/cameras/render/v1/policy.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "visibility": {
7
+ "type": "object",
8
+ "properties": {
9
+ "hide": {
10
+ "type": "array",
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "locator": {
15
+ "anyOf": [
16
+ {
17
+ "type": "object",
18
+ "properties": {
19
+ "kind": {
20
+ "type": "string",
21
+ "enum": ["actor_path"]
22
+ },
23
+ "actorPath": {
24
+ "type": "string",
25
+ "allOf": [
26
+ {
27
+ "pattern": "^\\/Game\\/"
28
+ },
29
+ {
30
+ "maxLength": 4096
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ "required": ["kind", "actorPath"],
36
+ "additionalProperties": false
37
+ },
38
+ {
39
+ "type": "object",
40
+ "properties": {
41
+ "kind": {
42
+ "type": "string",
43
+ "enum": ["actor_guid"]
44
+ },
45
+ "actorGuid": {
46
+ "type": "string",
47
+ "allOf": [
48
+ {
49
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
50
+ }
51
+ ]
52
+ },
53
+ "lastKnownActorPath": {
54
+ "type": "string",
55
+ "allOf": [
56
+ {
57
+ "maxLength": 4096
58
+ }
59
+ ]
60
+ }
61
+ },
62
+ "required": ["kind", "actorGuid", "lastKnownActorPath"],
63
+ "additionalProperties": false
64
+ }
65
+ ]
66
+ },
67
+ "label": {
68
+ "type": "string",
69
+ "allOf": [
70
+ {
71
+ "maxLength": 256
72
+ }
73
+ ]
74
+ }
75
+ },
76
+ "required": ["locator", "label"],
77
+ "additionalProperties": false
78
+ },
79
+ "allOf": [
80
+ {
81
+ "maxItems": 256
82
+ }
83
+ ]
84
+ },
85
+ "protect": {
86
+ "type": "array",
87
+ "items": {
88
+ "type": "object",
89
+ "properties": {
90
+ "locator": {
91
+ "anyOf": [
92
+ {
93
+ "type": "object",
94
+ "properties": {
95
+ "kind": {
96
+ "type": "string",
97
+ "enum": ["actor_path"]
98
+ },
99
+ "actorPath": {
100
+ "type": "string",
101
+ "allOf": [
102
+ {
103
+ "pattern": "^\\/Game\\/"
104
+ },
105
+ {
106
+ "maxLength": 4096
107
+ }
108
+ ]
109
+ }
110
+ },
111
+ "required": ["kind", "actorPath"],
112
+ "additionalProperties": false
113
+ },
114
+ {
115
+ "type": "object",
116
+ "properties": {
117
+ "kind": {
118
+ "type": "string",
119
+ "enum": ["actor_guid"]
120
+ },
121
+ "actorGuid": {
122
+ "type": "string",
123
+ "allOf": [
124
+ {
125
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
126
+ }
127
+ ]
128
+ },
129
+ "lastKnownActorPath": {
130
+ "type": "string",
131
+ "allOf": [
132
+ {
133
+ "maxLength": 4096
134
+ }
135
+ ]
136
+ }
137
+ },
138
+ "required": ["kind", "actorGuid", "lastKnownActorPath"],
139
+ "additionalProperties": false
140
+ }
141
+ ]
142
+ },
143
+ "label": {
144
+ "type": "string",
145
+ "allOf": [
146
+ {
147
+ "maxLength": 256
148
+ }
149
+ ]
150
+ }
151
+ },
152
+ "required": ["locator", "label"],
153
+ "additionalProperties": false
154
+ },
155
+ "allOf": [
156
+ {
157
+ "maxItems": 256
158
+ }
159
+ ]
160
+ }
161
+ },
162
+ "required": ["hide", "protect"],
163
+ "additionalProperties": false
164
+ },
6
165
  "renderer": {
7
166
  "anyOf": [
8
167
  {
@@ -29,6 +188,9 @@
29
188
  },
30
189
  "volumetricFog": {
31
190
  "type": "boolean"
191
+ },
192
+ "editorPreviews": {
193
+ "type": "boolean"
32
194
  }
33
195
  },
34
196
  "required": ["kind", "strategy", "profile", "vignette", "fog", "volumetricFog"],
@@ -64,6 +226,9 @@
64
226
  },
65
227
  "volumetricFog": {
66
228
  "type": "boolean"
229
+ },
230
+ "editorPreviews": {
231
+ "type": "boolean"
67
232
  }
68
233
  },
69
234
  "required": ["kind", "profile", "lodDistanceScale", "fog", "volumetricFog"],