From d030624369e8b7d3aeb517b5d605264a112d8bea Mon Sep 17 00:00:00 2001 From: Olaf Haag <83961384+Olaf-Wolf3D@users.noreply.github.com> Date: Fri, 10 Nov 2023 15:24:25 +0100 Subject: [PATCH] fix(schema): remove non-GLB asset types (#19) Remove asset types that are not based on GLB files and, therefore, cannot be validated by this schema. Issue: TECHART-336 --- schemas/gltf-asset.schema.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/schemas/gltf-asset.schema.json b/schemas/gltf-asset.schema.json index 5dd8564..b82cbe4 100644 --- a/schemas/gltf-asset.schema.json +++ b/schemas/gltf-asset.schema.json @@ -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": {