{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.stfform.at/stf.armature.schema.json",
	"title": "STF Armature",
	"description": "Represents a skeleton comprised of bones in a 3d hierarchy. Analogous to a Blender Armature, Unity Prefab/GameObject, Godot Skeleton3D.",
	"allOf": [{ "$ref": "https://schema.stfform.at/stf.schema.json#/$defs/stf_data_resource" }],
	"properties": {
		"type": {
			"const": "stf.armature"
		},
		"root_bones": {
			"type": "array",
			"items": {
				"type": "integer",
				"minimum": 0,
				"description": "Index of an ID in the `referenced_resources` array. The referenced resource must have a `type` of `stf.bone`."
			}
		}
	},
	"required": [
		"type",
		"root_nodes"
	],
	"additionalProperties": false
}