Skip to content

Commit

Permalink
node.children, scene.nodes, and skin.joints can't be empty when defined
Browse files Browse the repository at this point in the history
  • Loading branch information
lexaknyazev committed Apr 29, 2017
1 parent 92b1f14 commit f44c3bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specification/2.0/schema/node.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"$ref": "glTFid.schema.json"
},
"uniqueItems": true,
"default": [ ]
"minItems": 1
},
"skin": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
Expand Down
2 changes: 1 addition & 1 deletion specification/2.0/schema/scene.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"$ref": "glTFid.schema.json"
},
"uniqueItems": true,
"default": [ ]
"minItems": 1
},
"name": { },
"extensions": { },
Expand Down
1 change: 1 addition & 0 deletions specification/2.0/schema/skin.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"$ref": "glTFid.schema.json"
},
"uniqueItems": true,
"minItems": 1,
"gltf_detailedDescription": "Indices of skeleton nodes, used as joints in this skin. The array length must be the same as the `count` property of the `inverseBindMatrices` accessor (when defined)."
},
"name": { },
Expand Down

0 comments on commit f44c3bd

Please sign in to comment.