feat: define moving source trajectories

This commit is contained in:
Codex
2026-08-28 15:48:16 +09:00
parent b678d1f9c7
commit a7befa0270
6 changed files with 253 additions and 10 deletions
+11
View File
@@ -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" }
}