avatar_properties.json
Copy Json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [{
"type": "object",
"properties": {
"type": {
"enum": ["parametric"]
},
"name": {
"type": "string"
},
"body_resolution": {
"enum": ["normal", "high", "max"]
},
"friction": {
"enum": ["plastic", "human", "cloth"]
},
"skin_tone": {
"type": "string",
"pattern": "^.+\\.mat$"
},
"hair_style": {
"type": "string",
"pattern": "^.+\\.3ds$"
},
"template":
{
"ref": "avatar_template.json"
}
}
}, {
"type": "object",
"properties": {
"type": {
"enum": ["imported"]
},
"name": {
"type": "string"
},
"vertical": {
"type": "integer",
"minimum": 1,
"maximum": 6
},
"facing": {
"enum": [0, 90, 180, 270]
},
"mirror": {
"type": "boolean"
},
"distance_from_ground": {
"type": "number",
"minimum": 0,
"maximum": 200
},
"texture": {
"type": "string"
},
"prepare_pose": {
"type": "string"
},
"friction": {
"enum": ["plastic", "human", "cloth"]
},
"hanging_points": {
"ref": "../../v1.0/avatar/hanging_points.json"
},
"template":
{
"description": "only for browzwear's avatar",
"ref": "avatar_template.json"
}
}
}]
}