@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
@@ -25,7 +25,7 @@
25
25
  "minor": {
26
26
  "type": "integer",
27
27
  "minimum": 0,
28
- "maximum": 6
28
+ "maximum": 7
29
29
  }
30
30
  }
31
31
  }
@@ -161,7 +161,198 @@
161
161
  "$ref": "#/$defs/viewpoint"
162
162
  },
163
163
  "renderPolicy": {
164
- "$ref": "../../render/v1/policy.schema.json"
164
+ "allOf": [
165
+ {
166
+ "$ref": "../../render/v1/policy.schema.json"
167
+ },
168
+ {
169
+ "not": {
170
+ "required": ["visibility"]
171
+ }
172
+ }
173
+ ]
174
+ },
175
+ "authoredVisibility": {
176
+ "type": "object",
177
+ "properties": {
178
+ "version": {
179
+ "type": "number",
180
+ "enum": [1]
181
+ },
182
+ "output": {
183
+ "type": "string",
184
+ "enum": ["natural_only", "authored_only", "natural_and_authored"]
185
+ },
186
+ "actors": {
187
+ "type": "object",
188
+ "properties": {
189
+ "hide": {
190
+ "type": "array",
191
+ "items": {
192
+ "type": "object",
193
+ "properties": {
194
+ "locator": {
195
+ "anyOf": [
196
+ {
197
+ "type": "object",
198
+ "properties": {
199
+ "kind": {
200
+ "type": "string",
201
+ "enum": ["actor_path"]
202
+ },
203
+ "actorPath": {
204
+ "type": "string",
205
+ "allOf": [
206
+ {
207
+ "pattern": "^\\/Game\\/"
208
+ },
209
+ {
210
+ "maxLength": 4096
211
+ }
212
+ ]
213
+ }
214
+ },
215
+ "required": ["kind", "actorPath"],
216
+ "additionalProperties": false
217
+ },
218
+ {
219
+ "type": "object",
220
+ "properties": {
221
+ "kind": {
222
+ "type": "string",
223
+ "enum": ["actor_guid"]
224
+ },
225
+ "actorGuid": {
226
+ "type": "string",
227
+ "allOf": [
228
+ {
229
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
230
+ }
231
+ ]
232
+ },
233
+ "lastKnownActorPath": {
234
+ "type": "string",
235
+ "allOf": [
236
+ {
237
+ "maxLength": 4096
238
+ }
239
+ ]
240
+ }
241
+ },
242
+ "required": [
243
+ "kind",
244
+ "actorGuid",
245
+ "lastKnownActorPath"
246
+ ],
247
+ "additionalProperties": false
248
+ }
249
+ ]
250
+ },
251
+ "label": {
252
+ "type": "string",
253
+ "allOf": [
254
+ {
255
+ "maxLength": 256
256
+ }
257
+ ]
258
+ }
259
+ },
260
+ "required": ["locator", "label"],
261
+ "additionalProperties": false
262
+ },
263
+ "allOf": [
264
+ {
265
+ "maxItems": 256
266
+ }
267
+ ]
268
+ },
269
+ "protect": {
270
+ "type": "array",
271
+ "items": {
272
+ "type": "object",
273
+ "properties": {
274
+ "locator": {
275
+ "anyOf": [
276
+ {
277
+ "type": "object",
278
+ "properties": {
279
+ "kind": {
280
+ "type": "string",
281
+ "enum": ["actor_path"]
282
+ },
283
+ "actorPath": {
284
+ "type": "string",
285
+ "allOf": [
286
+ {
287
+ "pattern": "^\\/Game\\/"
288
+ },
289
+ {
290
+ "maxLength": 4096
291
+ }
292
+ ]
293
+ }
294
+ },
295
+ "required": ["kind", "actorPath"],
296
+ "additionalProperties": false
297
+ },
298
+ {
299
+ "type": "object",
300
+ "properties": {
301
+ "kind": {
302
+ "type": "string",
303
+ "enum": ["actor_guid"]
304
+ },
305
+ "actorGuid": {
306
+ "type": "string",
307
+ "allOf": [
308
+ {
309
+ "pattern": "^(?!00000000-00000000-00000000-00000000$)[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$"
310
+ }
311
+ ]
312
+ },
313
+ "lastKnownActorPath": {
314
+ "type": "string",
315
+ "allOf": [
316
+ {
317
+ "maxLength": 4096
318
+ }
319
+ ]
320
+ }
321
+ },
322
+ "required": [
323
+ "kind",
324
+ "actorGuid",
325
+ "lastKnownActorPath"
326
+ ],
327
+ "additionalProperties": false
328
+ }
329
+ ]
330
+ },
331
+ "label": {
332
+ "type": "string",
333
+ "allOf": [
334
+ {
335
+ "maxLength": 256
336
+ }
337
+ ]
338
+ }
339
+ },
340
+ "required": ["locator", "label"],
341
+ "additionalProperties": false
342
+ },
343
+ "allOf": [
344
+ {
345
+ "maxItems": 256
346
+ }
347
+ ]
348
+ }
349
+ },
350
+ "required": ["hide", "protect"],
351
+ "additionalProperties": false
352
+ }
353
+ },
354
+ "required": ["version", "output", "actors"],
355
+ "additionalProperties": false
165
356
  }
166
357
  },
167
358
  "allOf": [
@@ -250,7 +441,7 @@
250
441
  "version": {
251
442
  "properties": {
252
443
  "minor": {
253
- "const": 6
444
+ "enum": [6, 7]
254
445
  }
255
446
  }
256
447
  }
@@ -266,6 +457,33 @@
266
457
  "required": ["renderPolicy"]
267
458
  }
268
459
  }
460
+ },
461
+ {
462
+ "if": {
463
+ "required": ["authoredVisibility"]
464
+ },
465
+ "then": {
466
+ "properties": {
467
+ "contract": {
468
+ "properties": {
469
+ "version": {
470
+ "properties": {
471
+ "minor": {
472
+ "const": 7
473
+ }
474
+ }
475
+ }
476
+ }
477
+ },
478
+ "clearCompanion": {
479
+ "properties": {
480
+ "status": {
481
+ "const": "not_requested"
482
+ }
483
+ }
484
+ }
485
+ }
486
+ }
269
487
  }
270
488
  ],
271
489
  "$defs": {