{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.stfform.at/stf.node.schema.json",
	"title": "STF Node",
	"description": "Represents a node in a 3d hierarchy. Analogous to a Blender Object, Unity GameObject, Godot Node3D.",
	"allOf": [{ "$ref": "https://schema.stfform.at/stf.schema.json#/$defs/stf_node_resource" }],
	"properties": {
		"type": {
			"const": "stf.node"
		},
		"trs": {
			"type": "array",
			"prefixItems": [
				{
					"type": "array",
					"items": {
						"type": "number"
					},
					"minItems": 3,
					"maxItems": 3,
					"description": "Translation (XYZ)"
				},
				{
					"type": "array",
					"items": {
						"type": "number"
					},
					"minItems": 4,
					"maxItems": 4,
					"description": "Quaternion rotation (XYZW)"
				},
				{
					"type": "array",
					"items": {
						"type": "number"
					},
					"minItems": 3,
					"maxItems": 3,
					"description": "Scale (XYZ)"
				}
			],
			"minItems": 3,
			"maxItems": 3,
			"items": false,
			"unevaluatedItems": false,
			"default": [[0, 0, 0], [0, 0, 0, 1], [1, 1, 1]],
			"description": "Translation - Rotation - Scale"
		},
		"instance": {
			"type": "integer",
			"minimum": 0,
			"description": "Index of an ID in the `referenced_resources` array."
		}
	},
	"required": [
		"type"
	],
	"additionalProperties": false
}