@ue-shed/protocol 0.5.0 → 0.6.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.
- package/contracts/cameras/map-tile/v1/README.md +20 -6
- package/contracts/cameras/map-tile/v1/capture-operation.schema.json +69 -0
- package/contracts/cameras/map-tile/v1/capture-request.schema.json +2 -1
- package/contracts/cameras/map-tile/v1/fixtures/capture-operation-finished-valid.json +41 -0
- package/contracts/cameras/map-tile/v1/fixtures/capture-operation-progress-valid.json +13 -0
- package/contracts/cameras/map-tile/v1/fixtures/capture-operation-running-valid.json +5 -0
- package/contracts/cameras/map-tile/v1/fixtures/capture-request-lit-valid.json +59 -0
- package/contracts/cameras/map-tile/v1/fixtures/readiness-blocked.json +11 -0
- package/contracts/cameras/map-tile/v1/fixtures/readiness-ready.json +7 -0
- package/contracts/cameras/map-tile/v1/fixtures/selection-ready.json +21 -0
- package/contracts/cameras/map-tile/v1/fixtures/selection-unavailable.json +6 -0
- package/contracts/cameras/map-tile/v1/inspection.md +16 -0
- package/contracts/cameras/map-tile/v1/plan.schema.json +1 -0
- package/contracts/cameras/map-tile/v1/readiness.schema.json +39 -0
- package/contracts/cameras/map-tile/v1/selection.schema.json +105 -0
- package/contracts/cameras/review/v1/README.md +9 -1
- package/contracts/cameras/review/v1/capture-request.schema.json +54 -5
- package/contracts/cameras/review/v1/capture-response.schema.json +80 -5
- package/contracts/cameras/review/v1/fixtures/capture-guid.json +53 -0
- package/contracts/cameras/review/v1/fixtures/capture-request-guid-valid.json +28 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-alternate-actor-guid.json +23 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-clear-before-minor-4.json +26 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-empty-diagnostic-label.json +24 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-future-minor.json +26 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-guid-before-minor-5.json +26 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-malformed-last-known-path.json +24 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-nil-actor-guid.json +23 -0
- package/contracts/cameras/review/v1/fixtures/invalid-capture-request-nil-operation-id.json +23 -0
- package/contracts/cameras/review/v1/fixtures/selection-selected.json +2 -1
- package/contracts/cameras/review/v1/selection-response.schema.json +5 -0
- package/contracts/core/v1/producer-identity.schema.json +44 -0
- package/contracts/niagara/preview/v1/common.schema.json +224 -30
- package/contracts/niagara/preview/v1/fixtures/background-manifest.json +136 -0
- package/contracts/niagara/preview/v1/fixtures/background-receipt.json +112 -0
- package/contracts/niagara/preview/v1/fixtures/background-request.json +39 -0
- package/contracts/niagara/preview/v1/fixtures/progress.json +8 -0
- package/contracts/niagara/preview/v1/fixtures/scene-manifest.json +108 -0
- package/contracts/niagara/preview/v1/fixtures/scene-receipt.json +84 -0
- package/contracts/niagara/preview/v1/fixtures/scene-request.json +25 -0
- package/contracts/niagara/preview/v1/manifest.schema.json +110 -25
- package/contracts/niagara/preview/v1/progress.schema.json +37 -0
- package/contracts/niagara/preview/v1/receipt.schema.json +75 -16
- package/contracts/niagara/preview/v1/request.schema.json +20 -5
- package/contracts/niagara/preview/v1/session.md +25 -0
- package/contracts/observatory/v1/actor-metadata.schema.json +33 -0
- package/contracts/uasset-io/v1/README.md +26 -1
- package/contracts/uasset-io/v1/event.schema.json +511 -1
- package/contracts/uasset-io/v1/fixtures/invalid/project-index-count-empty-filters.json +23 -0
- package/contracts/uasset-io/v1/fixtures/invalid/project-index-dictionary-page-negative-index.json +35 -0
- package/contracts/uasset-io/v1/fixtures/valid/blueprint-request.json +6 -0
- package/contracts/uasset-io/v1/fixtures/valid/blueprint-result-event.json +58 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-count-request.json +32 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-count-result-event.json +20 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-dictionary-page-result-event.json +35 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-dictionary-query-request.json +26 -0
- package/contracts/uasset-io/v1/request.schema.json +174 -0
- package/dist/authoring-review.d.ts +36 -36
- package/dist/authoring.d.ts +45 -45
- package/dist/authoring.d.ts.map +1 -1
- package/dist/blueprint-graph.d.ts +628 -0
- package/dist/blueprint-graph.d.ts.map +1 -0
- package/dist/blueprint-graph.js +111 -0
- package/dist/blueprint-graph.js.map +1 -0
- package/dist/companion.d.ts +34 -3
- package/dist/companion.d.ts.map +1 -1
- package/dist/companion.js +11 -0
- package/dist/companion.js.map +1 -1
- package/dist/editor-asset-navigation.d.ts +12 -12
- package/dist/editor-play-session.d.ts +6 -6
- package/dist/editor-world-control.d.ts +8 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/saved-world.d.ts +20 -14
- package/dist/saved-world.d.ts.map +1 -1
- package/dist/saved-world.js +1 -0
- package/dist/saved-world.js.map +1 -1
- package/dist/uasset-inspection.d.ts +6 -5
- package/dist/uasset-inspection.d.ts.map +1 -1
- package/dist/uasset-inspection.js +1 -1
- package/dist/uasset-inspection.js.map +1 -1
- package/dist/uasset-io.d.ts +648 -129
- package/dist/uasset-io.d.ts.map +1 -1
- package/dist/uasset-io.js +51 -1
- package/dist/uasset-io.js.map +1 -1
- package/package.json +1 -1
|
@@ -46,7 +46,28 @@
|
|
|
46
46
|
"mapPackageDirtyAfter": { "type": "boolean" },
|
|
47
47
|
"subjectProjection": { "$ref": "#/$defs/subjectProjection" },
|
|
48
48
|
"visibility": { "$ref": "#/$defs/visibilityMeasurement" }
|
|
49
|
-
}
|
|
49
|
+
},
|
|
50
|
+
"allOf": [
|
|
51
|
+
{
|
|
52
|
+
"if": {
|
|
53
|
+
"properties": {
|
|
54
|
+
"resolvedSubject": {
|
|
55
|
+
"required": ["kind"],
|
|
56
|
+
"properties": { "kind": { "const": "actor_guid" } }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"then": {
|
|
61
|
+
"properties": {
|
|
62
|
+
"contract": {
|
|
63
|
+
"properties": {
|
|
64
|
+
"version": { "properties": { "minor": { "const": 5 } } }
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
50
71
|
},
|
|
51
72
|
{
|
|
52
73
|
"type": "object",
|
|
@@ -73,7 +94,7 @@
|
|
|
73
94
|
"status": { "const": "captured" },
|
|
74
95
|
"operationId": { "type": "string", "minLength": 1 },
|
|
75
96
|
"viewId": { "$ref": "#/$defs/safeId" },
|
|
76
|
-
"resolvedSubject": { "$ref": "#/$defs/
|
|
97
|
+
"resolvedSubject": { "$ref": "#/$defs/resolvedSubjectPrevious" },
|
|
77
98
|
"effectiveWorldPose": { "$ref": "#/$defs/pose" },
|
|
78
99
|
"mapPath": { "type": "string", "minLength": 1 },
|
|
79
100
|
"stagingPath": { "type": "string", "minLength": 1 },
|
|
@@ -111,7 +132,7 @@
|
|
|
111
132
|
"status": { "const": "captured" },
|
|
112
133
|
"operationId": { "type": "string", "minLength": 1 },
|
|
113
134
|
"viewId": { "$ref": "#/$defs/safeId" },
|
|
114
|
-
"resolvedSubject": { "$ref": "#/$defs/
|
|
135
|
+
"resolvedSubject": { "$ref": "#/$defs/resolvedSubjectPrevious" },
|
|
115
136
|
"effectiveWorldPose": { "$ref": "#/$defs/pose" },
|
|
116
137
|
"mapPath": { "type": "string", "minLength": 1 },
|
|
117
138
|
"stagingPath": { "type": "string", "minLength": 1 },
|
|
@@ -216,7 +237,7 @@
|
|
|
216
237
|
"required": ["major", "minor"],
|
|
217
238
|
"properties": {
|
|
218
239
|
"major": { "const": 1 },
|
|
219
|
-
"minor": { "
|
|
240
|
+
"minor": { "enum": [4, 5] }
|
|
220
241
|
}
|
|
221
242
|
}
|
|
222
243
|
}
|
|
@@ -267,7 +288,7 @@
|
|
|
267
288
|
"required": ["major", "minor"],
|
|
268
289
|
"properties": {
|
|
269
290
|
"major": { "const": 1 },
|
|
270
|
-
"minor": { "type": "integer", "minimum": 0, "maximum":
|
|
291
|
+
"minor": { "type": "integer", "minimum": 0, "maximum": 5 }
|
|
271
292
|
}
|
|
272
293
|
}
|
|
273
294
|
}
|
|
@@ -316,6 +337,60 @@
|
|
|
316
337
|
}
|
|
317
338
|
},
|
|
318
339
|
"resolvedSubject": {
|
|
340
|
+
"oneOf": [
|
|
341
|
+
{
|
|
342
|
+
"type": "object",
|
|
343
|
+
"additionalProperties": false,
|
|
344
|
+
"required": ["kind", "actorGuid", "actorPath", "transform"],
|
|
345
|
+
"properties": {
|
|
346
|
+
"kind": { "const": "actor_guid" },
|
|
347
|
+
"actorGuid": {
|
|
348
|
+
"type": "string",
|
|
349
|
+
"pattern": "^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$",
|
|
350
|
+
"not": { "const": "00000000-00000000-00000000-00000000" }
|
|
351
|
+
},
|
|
352
|
+
"actorPath": { "type": "string", "minLength": 1 },
|
|
353
|
+
"transform": {
|
|
354
|
+
"type": "object",
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"required": ["location", "rotation"],
|
|
357
|
+
"properties": {
|
|
358
|
+
"location": { "$ref": "#/$defs/vector" },
|
|
359
|
+
"rotation": { "$ref": "#/$defs/rotation" }
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "object",
|
|
366
|
+
"additionalProperties": false,
|
|
367
|
+
"required": ["kind", "actorPath", "transform"],
|
|
368
|
+
"properties": {
|
|
369
|
+
"kind": { "const": "actor_path" },
|
|
370
|
+
"actorPath": { "type": "string", "minLength": 1 },
|
|
371
|
+
"transform": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"additionalProperties": false,
|
|
374
|
+
"required": ["location", "rotation"],
|
|
375
|
+
"properties": {
|
|
376
|
+
"location": { "$ref": "#/$defs/vector" },
|
|
377
|
+
"rotation": { "$ref": "#/$defs/rotation" }
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"type": "object",
|
|
384
|
+
"additionalProperties": false,
|
|
385
|
+
"required": ["kind", "bounds"],
|
|
386
|
+
"properties": {
|
|
387
|
+
"kind": { "const": "oriented_bounds" },
|
|
388
|
+
"bounds": { "$ref": "#/$defs/bounds" }
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"resolvedSubjectPrevious": {
|
|
319
394
|
"oneOf": [
|
|
320
395
|
{
|
|
321
396
|
"type": "object",
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": {
|
|
3
|
+
"name": "ue-shed-review-capture",
|
|
4
|
+
"version": { "major": 1, "minor": 5 }
|
|
5
|
+
},
|
|
6
|
+
"status": "captured",
|
|
7
|
+
"operationId": "capture-guid",
|
|
8
|
+
"viewId": "structure-guid-context",
|
|
9
|
+
"resolvedSubject": {
|
|
10
|
+
"kind": "actor_guid",
|
|
11
|
+
"actorGuid": "00000001-00000002-00000003-00000004",
|
|
12
|
+
"actorPath": "/Game/Fixture/Cameras/L_CameraLoad.L_CameraLoad:PersistentLevel.ReviewSubject",
|
|
13
|
+
"transform": {
|
|
14
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
15
|
+
"rotation": { "pitch": 0, "yaw": 45, "roll": 0 }
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"effectiveWorldPose": {
|
|
19
|
+
"aspectRatio": "16:9",
|
|
20
|
+
"fieldOfViewDegrees": 70,
|
|
21
|
+
"projection": "perspective",
|
|
22
|
+
"location": { "x": 1200, "y": -900, "z": 700 },
|
|
23
|
+
"rotation": { "pitch": -20, "yaw": 145, "roll": 0 }
|
|
24
|
+
},
|
|
25
|
+
"mapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
26
|
+
"stagedArtifacts": [
|
|
27
|
+
{
|
|
28
|
+
"variant": "pure",
|
|
29
|
+
"stagingPath": "C:/fixture/Saved/UEShed/ReviewStaging/capture-guid/pure.png"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"clearCompanion": { "status": "not_requested" },
|
|
33
|
+
"width": 1280,
|
|
34
|
+
"height": 720,
|
|
35
|
+
"captureDurationMs": 21.5,
|
|
36
|
+
"mapPackageDirtyBefore": false,
|
|
37
|
+
"mapPackageDirtyAfter": false,
|
|
38
|
+
"subjectProjection": {
|
|
39
|
+
"status": "projected",
|
|
40
|
+
"viewportStatus": "fully_within_viewport",
|
|
41
|
+
"normalizedBounds": { "minX": 0.2, "minY": 0.2, "maxX": 0.8, "maxY": 0.8 },
|
|
42
|
+
"margins": { "left": 0.2, "right": 0.2, "top": 0.2, "bottom": 0.2 }
|
|
43
|
+
},
|
|
44
|
+
"visibility": {
|
|
45
|
+
"status": "assessed",
|
|
46
|
+
"method": { "method": "depth_compare", "version": 1 },
|
|
47
|
+
"visibleFraction": 1,
|
|
48
|
+
"sampleCount": 6400,
|
|
49
|
+
"assessmentDurationMs": 1.5,
|
|
50
|
+
"limitations": ["Bounded depth comparison."],
|
|
51
|
+
"occluders": []
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": {
|
|
3
|
+
"name": "ue-shed-review-capture",
|
|
4
|
+
"version": { "major": 1, "minor": 5 }
|
|
5
|
+
},
|
|
6
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
7
|
+
"viewId": "structure-guid-context",
|
|
8
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
9
|
+
"subject": {
|
|
10
|
+
"kind": "actor_guid",
|
|
11
|
+
"actorGuid": "00000001-00000002-00000003-00000004",
|
|
12
|
+
"lastKnownActorPath": "/Game/Fixture/Cameras/L_CameraLoad.L_CameraLoad:PersistentLevel.ReviewSubject",
|
|
13
|
+
"diagnosticLabel": "ReviewSubject"
|
|
14
|
+
},
|
|
15
|
+
"viewpoint": {
|
|
16
|
+
"kind": "world_fixed",
|
|
17
|
+
"approvedPose": {
|
|
18
|
+
"aspectRatio": "16:9",
|
|
19
|
+
"fieldOfViewDegrees": 70,
|
|
20
|
+
"projection": "perspective",
|
|
21
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
22
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
26
|
+
"assessment": { "method": "automatic" },
|
|
27
|
+
"clearCompanion": { "status": "not_requested" }
|
|
28
|
+
}
|
package/contracts/cameras/review/v1/fixtures/invalid-capture-request-alternate-actor-guid.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": { "name": "ue-shed-review-capture", "version": { "major": 1, "minor": 5 } },
|
|
3
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
4
|
+
"viewId": "alternate-actor-guid",
|
|
5
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
6
|
+
"subject": {
|
|
7
|
+
"kind": "actor_guid",
|
|
8
|
+
"actorGuid": "12345678-1234-1234-1234-123456789abc"
|
|
9
|
+
},
|
|
10
|
+
"viewpoint": {
|
|
11
|
+
"kind": "world_fixed",
|
|
12
|
+
"approvedPose": {
|
|
13
|
+
"aspectRatio": "16:9",
|
|
14
|
+
"fieldOfViewDegrees": 70,
|
|
15
|
+
"projection": "perspective",
|
|
16
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
17
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
21
|
+
"assessment": { "method": "automatic" },
|
|
22
|
+
"clearCompanion": { "status": "not_requested" }
|
|
23
|
+
}
|
package/contracts/cameras/review/v1/fixtures/invalid-capture-request-clear-before-minor-4.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": {
|
|
3
|
+
"name": "ue-shed-review-capture",
|
|
4
|
+
"version": { "major": 1, "minor": 2 }
|
|
5
|
+
},
|
|
6
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
7
|
+
"viewId": "clear-on-old-minor",
|
|
8
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
9
|
+
"subject": {
|
|
10
|
+
"kind": "actor_path",
|
|
11
|
+
"actorPath": "/Game/Fixture/Cameras/L_CameraLoad.L_CameraLoad:PersistentLevel.ReviewSubject"
|
|
12
|
+
},
|
|
13
|
+
"viewpoint": {
|
|
14
|
+
"kind": "world_fixed",
|
|
15
|
+
"approvedPose": {
|
|
16
|
+
"aspectRatio": "16:9",
|
|
17
|
+
"fieldOfViewDegrees": 70,
|
|
18
|
+
"projection": "perspective",
|
|
19
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
20
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
24
|
+
"assessment": { "method": "automatic" },
|
|
25
|
+
"clearCompanion": { "status": "not_requested" }
|
|
26
|
+
}
|
package/contracts/cameras/review/v1/fixtures/invalid-capture-request-empty-diagnostic-label.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": { "name": "ue-shed-review-capture", "version": { "major": 1, "minor": 5 } },
|
|
3
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
4
|
+
"viewId": "empty-diagnostic-label",
|
|
5
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
6
|
+
"subject": {
|
|
7
|
+
"kind": "actor_guid",
|
|
8
|
+
"actorGuid": "00000001-00000002-00000003-00000004",
|
|
9
|
+
"diagnosticLabel": ""
|
|
10
|
+
},
|
|
11
|
+
"viewpoint": {
|
|
12
|
+
"kind": "world_fixed",
|
|
13
|
+
"approvedPose": {
|
|
14
|
+
"aspectRatio": "16:9",
|
|
15
|
+
"fieldOfViewDegrees": 70,
|
|
16
|
+
"projection": "perspective",
|
|
17
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
18
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
22
|
+
"assessment": { "method": "automatic" },
|
|
23
|
+
"clearCompanion": { "status": "not_requested" }
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": {
|
|
3
|
+
"name": "ue-shed-review-capture",
|
|
4
|
+
"version": { "major": 1, "minor": 6 }
|
|
5
|
+
},
|
|
6
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
7
|
+
"viewId": "future-minor",
|
|
8
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
9
|
+
"subject": {
|
|
10
|
+
"kind": "actor_guid",
|
|
11
|
+
"actorGuid": "00000001-00000002-00000003-00000004"
|
|
12
|
+
},
|
|
13
|
+
"viewpoint": {
|
|
14
|
+
"kind": "world_fixed",
|
|
15
|
+
"approvedPose": {
|
|
16
|
+
"aspectRatio": "16:9",
|
|
17
|
+
"fieldOfViewDegrees": 70,
|
|
18
|
+
"projection": "perspective",
|
|
19
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
20
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
24
|
+
"assessment": { "method": "automatic" },
|
|
25
|
+
"clearCompanion": { "status": "not_requested" }
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": {
|
|
3
|
+
"name": "ue-shed-review-capture",
|
|
4
|
+
"version": { "major": 1, "minor": 4 }
|
|
5
|
+
},
|
|
6
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
7
|
+
"viewId": "guid-on-old-minor",
|
|
8
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
9
|
+
"subject": {
|
|
10
|
+
"kind": "actor_guid",
|
|
11
|
+
"actorGuid": "00000001-00000002-00000003-00000004"
|
|
12
|
+
},
|
|
13
|
+
"viewpoint": {
|
|
14
|
+
"kind": "world_fixed",
|
|
15
|
+
"approvedPose": {
|
|
16
|
+
"aspectRatio": "16:9",
|
|
17
|
+
"fieldOfViewDegrees": 70,
|
|
18
|
+
"projection": "perspective",
|
|
19
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
20
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
24
|
+
"assessment": { "method": "automatic" },
|
|
25
|
+
"clearCompanion": { "status": "not_requested" }
|
|
26
|
+
}
|
package/contracts/cameras/review/v1/fixtures/invalid-capture-request-malformed-last-known-path.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": { "name": "ue-shed-review-capture", "version": { "major": 1, "minor": 5 } },
|
|
3
|
+
"operationId": "55555555-5555-4555-8555-555555555555",
|
|
4
|
+
"viewId": "malformed-last-known-path",
|
|
5
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
6
|
+
"subject": {
|
|
7
|
+
"kind": "actor_guid",
|
|
8
|
+
"actorGuid": "00000001-00000002-00000003-00000004",
|
|
9
|
+
"lastKnownActorPath": 42
|
|
10
|
+
},
|
|
11
|
+
"viewpoint": {
|
|
12
|
+
"kind": "world_fixed",
|
|
13
|
+
"approvedPose": {
|
|
14
|
+
"aspectRatio": "16:9",
|
|
15
|
+
"fieldOfViewDegrees": 70,
|
|
16
|
+
"projection": "perspective",
|
|
17
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
18
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
22
|
+
"assessment": { "method": "automatic" },
|
|
23
|
+
"clearCompanion": { "status": "not_requested" }
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": { "name": "ue-shed-review-capture", "version": { "major": 1, "minor": 5 } },
|
|
3
|
+
"operationId": "66666666-6666-4666-8666-666666666666",
|
|
4
|
+
"viewId": "nil-actor-guid",
|
|
5
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
6
|
+
"subject": {
|
|
7
|
+
"kind": "actor_guid",
|
|
8
|
+
"actorGuid": "00000000-00000000-00000000-00000000"
|
|
9
|
+
},
|
|
10
|
+
"viewpoint": {
|
|
11
|
+
"kind": "world_fixed",
|
|
12
|
+
"approvedPose": {
|
|
13
|
+
"aspectRatio": "16:9",
|
|
14
|
+
"fieldOfViewDegrees": 70,
|
|
15
|
+
"projection": "perspective",
|
|
16
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
17
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
21
|
+
"assessment": { "method": "automatic" },
|
|
22
|
+
"clearCompanion": { "status": "not_requested" }
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": { "name": "ue-shed-review-capture", "version": { "major": 1, "minor": 5 } },
|
|
3
|
+
"operationId": "00000000-0000-0000-0000-000000000000",
|
|
4
|
+
"viewId": "nil-operation-id",
|
|
5
|
+
"expectedMapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
6
|
+
"subject": {
|
|
7
|
+
"kind": "actor_guid",
|
|
8
|
+
"actorGuid": "00000001-00000002-00000003-00000004"
|
|
9
|
+
},
|
|
10
|
+
"viewpoint": {
|
|
11
|
+
"kind": "world_fixed",
|
|
12
|
+
"approvedPose": {
|
|
13
|
+
"aspectRatio": "16:9",
|
|
14
|
+
"fieldOfViewDegrees": 70,
|
|
15
|
+
"projection": "perspective",
|
|
16
|
+
"location": { "x": 100, "y": 200, "z": 300 },
|
|
17
|
+
"rotation": { "pitch": -20, "yaw": 45, "roll": 0 }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"resolution": { "width": 1280, "height": 720 },
|
|
21
|
+
"assessment": { "method": "automatic" },
|
|
22
|
+
"clearCompanion": { "status": "not_requested" }
|
|
23
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"contract": {
|
|
3
3
|
"name": "ue-shed-review-selection",
|
|
4
|
-
"version": { "major": 1, "minor":
|
|
4
|
+
"version": { "major": 1, "minor": 1 }
|
|
5
5
|
},
|
|
6
6
|
"status": "selected",
|
|
7
|
+
"actorGuid": "00000001-00000002-00000003-00000004",
|
|
7
8
|
"actorPath": "/Game/Fixture/Cameras/L_CameraLoad.L_CameraLoad:PersistentLevel.ReviewSubject",
|
|
8
9
|
"displayName": "ReviewSubject",
|
|
9
10
|
"mapPath": "/Game/Fixture/Cameras/L_CameraLoad",
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
"properties": {
|
|
11
11
|
"contract": { "$ref": "#/$defs/contract" },
|
|
12
12
|
"status": { "const": "selected" },
|
|
13
|
+
"actorGuid": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{8}){3}$",
|
|
16
|
+
"not": { "const": "00000000-00000000-00000000-00000000" }
|
|
17
|
+
},
|
|
13
18
|
"actorPath": { "type": "string", "minLength": 1 },
|
|
14
19
|
"displayName": { "type": "string", "minLength": 1 },
|
|
15
20
|
"mapPath": { "type": "string", "minLength": 1 },
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"required": ["engineVersion", "processId", "sessionId", "plugins"],
|
|
6
|
+
"properties": {
|
|
7
|
+
"engineVersion": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1
|
|
10
|
+
},
|
|
11
|
+
"processId": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 1
|
|
14
|
+
},
|
|
15
|
+
"sessionId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"plugins": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": ["name", "version", "loadedModules"],
|
|
25
|
+
"properties": {
|
|
26
|
+
"name": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1
|
|
29
|
+
},
|
|
30
|
+
"version": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"loadedModules": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 1
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|