{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/needle-tools/simready/main/extensions/NEEDLE_simready/schema/glTF.NEEDLE_simready.schema.json", "title": "NEEDLE_simready glTF document extension", "type": "object", "allOf": [ { "$ref": "common.schema.json#/$defs/property" } ], "properties": { "version": { "const": 1 }, "stageNode": { "$ref": "common.schema.json#/$defs/index", "description": "Index into glTF nodes; the asset-local reference root. Its ordinary glTF transform places the asset in the scene." }, "snapshot": { "$ref": "runtime-snapshot.schema.json" }, "bindings": { "type": "array", "items": { "type": "object", "allOf": [ { "$ref": "common.schema.json#/$defs/property" } ], "properties": { "node": { "$ref": "common.schema.json#/$defs/index", "description": "Index into glTF nodes." }, "path": { "$ref": "common.schema.json#/$defs/identity" }, "body": { "$ref": "common.schema.json#/$defs/bodyReference" } }, "required": [ "node", "path" ], "propertyNames": { "enum": [ "node", "path", "body", "extensions", "extras" ] } } }, "mappingIssues": { "type": "array", "items": { "$ref": "common.schema.json#/$defs/issue" }, "default": [] }, "semantics": { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "path": { "$ref": "common.schema.json#/$defs/identity" }, "taxonomy": { "type": "string", "minLength": 1 }, "labels": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } } }, "required": [ "path", "taxonomy", "labels" ] } } }, "required": [ "version", "stageNode", "snapshot", "bindings", "semantics" ], "propertyNames": { "enum": [ "version", "stageNode", "snapshot", "bindings", "mappingIssues", "semantics", "extensions", "extras" ] } }