feat: define moving source trajectories
This commit is contained in:
@@ -31,6 +31,13 @@
|
||||
"type": "array", "prefixItems": [{ "type": "number" }, { "type": "number" }, { "type": "number" }],
|
||||
"items": false, "minItems": 3, "maxItems": 3
|
||||
},
|
||||
"trajectoryKeyframe": {
|
||||
"type": "object", "additionalProperties": false, "required": ["time", "position"],
|
||||
"properties": {
|
||||
"time": { "type": "number", "minimum": 0 },
|
||||
"position": { "$ref": "#/$defs/position" }
|
||||
}
|
||||
},
|
||||
"image": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["assetId", "widthPixels", "heightPixels", "plane"],
|
||||
@@ -80,6 +87,10 @@
|
||||
"properties": {
|
||||
"id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]*$" },
|
||||
"name": { "type": "string", "minLength": 1, "maxLength": 120 }, "position": { "$ref": "#/$defs/position" },
|
||||
"trajectory": {
|
||||
"type": "array", "minItems": 2, "maxItems": 4096,
|
||||
"items": { "$ref": "#/$defs/trajectoryKeyframe" }
|
||||
},
|
||||
"gainDb": { "type": "number", "minimum": -120, "maximum": 24 }, "startTime": { "type": "number", "minimum": 0 },
|
||||
"duration": { "type": "number", "exclusiveMinimum": 0 }, "signal": { "$ref": "#/$defs/signal" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user