-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
animation.schema.json
29 lines (29 loc) · 1.06 KB
/
animation.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Animation",
"type": "object",
"description": "A keyframe animation.",
"allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"channels": {
"type": "array",
"description": "An array of channels, each of which targets an animation's sampler at a node's property. Different channels of the same animation can't have equal targets.",
"items": {
"$ref": "animation.channel.schema.json"
},
"minItems": 1
},
"samplers": {
"type": "array",
"description": "An array of samplers that combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).",
"items": {
"$ref": "animation.sampler.schema.json"
},
"minItems": 1
},
"name": { },
"extensions": { },
"extras": { }
},
"required": [ "channels", "samplers" ]
}