Skip to content

Commit

Permalink
fix(schema): remove non-GLB asset types (#19)
Browse files Browse the repository at this point in the history
Remove asset types that are not based on GLB files and, therefore, cannot be validated by this schema.

Issue: TECHART-336
  • Loading branch information
Olaf-Wolf3D authored Nov 10, 2023
1 parent ee6f93e commit d030624
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions schemas/gltf-asset.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,19 @@
"enum": [
"beard",
"bottom",
"eye",
"eyebrows",
"eyeshape",
"facemask",
"faceshape",
"facewear",
"footwear",
"glasses",
"hair",
"headwear",
"lipshape",
"costume",
"noseshape",
"outfit",
"shirt",
"top"
],
"errorMessage": {
"type": "Asset type should be a string.",
"enum": "Asset type should be one of the following: beard, bottom, eye, eyebrows, eyeshape, facemask, faceshape, facewear, footwear, glasses, hair, headwear, lipshape, costume, noseshape, outfit, shirt, top. Found ${0}."
"enum": "Asset type should be one of the following: beard, bottom, facemask, facewear, footwear, glasses, hair, headwear, costume, outfit, shirt, top. Found ${0}."
}
},
"transforms": {
Expand Down

0 comments on commit d030624

Please sign in to comment.