From 3dd9f1c605a4181c41da85b7be2ee44f6cc8f876 Mon Sep 17 00:00:00 2001 From: Olaf Haag <83961384+Olaf-Wolf3D@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:49:00 +0100 Subject: [PATCH] fix(schema): add missing subschemas (#21) subschemas were wrongly removed in a previous PR #18 --- schemas/meshTriangleCount.schema.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/schemas/meshTriangleCount.schema.json b/schemas/meshTriangleCount.schema.json index cf3ea01..8f438a2 100644 --- a/schemas/meshTriangleCount.schema.json +++ b/schemas/meshTriangleCount.schema.json @@ -23,6 +23,22 @@ "maximum": "Mesh ${1/name} exceeds triangle count budget. Allowed: 30000. Found: ${0}." } }, + "facewear": { + "type": "integer", + "maximum": 2000, + "errorMessage": { + "minimum": "Too few triangles! This asset must have at least 1 triangle.", + "maximum": "Mesh ${1/name} exceeds triangle count budget. Allowed: 2000. Found: ${0}." + } + }, + "glasses": { + "type": "integer", + "maximum": 1000, + "errorMessage": { + "minimum": "Too few triangles! This asset must have at least 1 triangle.", + "maximum": "Mesh ${1/name} exceeds triangle count budget. Allowed: 1000. Found: ${0}." + } + }, "hair": { "type": "integer", "minimum": 1,