Copy Json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Avatar Joint Schema",
"description": "A schema representing the properties of a joint in an avatar",
"type": "object",
"properties": {
"rotation": {
"type": "object",
"description": "Rotation in radians for each axis",
"properties": {
"x": {
"type": "number",
"description": "Rotation in radians around the X-axis"
},
"y": {
"type": "number",
"description": "Rotation in radians around the Y-axis"
},
"z": {
"type": "number",
"description": "Rotation in radians around the Z-axis"
}
},
"required": [
"x",
"y",
"z"
]
},
"children": {
"type": "array",
"description": "List of child joint ids of this joint",
"items": {
"type": "string"
}
},
"root": {
"type": "boolean",
"description": "Whether this joint is the root joint of the avatar"
}
}
}