Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"type": "array",
"items": {
"type": "object",
"allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ],
"description": "An object defining a valid material variant",
"gltf_detailedDescription": "An object defining a valid material variant",
"properties": {
Expand All @@ -19,11 +20,15 @@
},
"extras": {
"type": "object"
}
},
"extensions": { }
},
"required": [ "name" ]
}
}
},
"minItems": 1
},
"extensions": { },
"extras": { }
},
"required": [ "variants" ]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"gltf_detailedDescription": "An array of object values that associate an indexed material to a set of variants.",
"items": {
"type": "object",
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
"properties": {
"variants": {
"uniqueItems": true,
Expand Down Expand Up @@ -37,8 +38,11 @@
"extensions": { }
},
"required": [ "variants", "material" ]
}
}
},
"minItems": 1
},
"extensions": { },
"extras": { }
},
"required": [ "mappings" ]
}