Skip to content

Commit

Permalink
Fix schemas: remove mimetype and added in extensionsUsed.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwokcb committed Sep 25, 2024
1 parent 95d1828 commit 67bf359
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@
},
"extensionsUsed": {
"type": "array",
"items": { "type": "string" }
"items": { "type": "string" },
"contains": { "enum": ["KHR_texture_procedurals"] }
},
"extensions": {
"type": "object",
"properties": {
"KHR_texture_procedurals": {
"type": "object",
"properties": {
"mimetype": { "type": "string" },

"procedurals": {
"_doc": "A list of procedural texture graphs",
Expand All @@ -345,7 +345,7 @@
"items": { "$ref": "#/definitions/definition_item" }
}
},
"required": ["mimetype", "procedurals"]
"required": ["procedurals"]
}
},
"required": ["KHR_texture_procedurals"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"materials": {},
"textures": {},
"images": {},
"extensionsUsed": {},
"extensionsUsed": {
"type": "array",
"items": { "type": "string" },
"contains": { "enum": ["KHR_texture_procedurals", "EXT_texture_procedurals_mx_1_39"] }
},
"extensions": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 67bf359

Please sign in to comment.