Skip to content

Commit

Permalink
fix(schema): add missing subschemas (#21)
Browse files Browse the repository at this point in the history
subschemas were wrongly removed in a previous PR #18
  • Loading branch information
Olaf-Wolf3D authored Nov 10, 2023
1 parent d030624 commit 3dd9f1c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions schemas/meshTriangleCount.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3dd9f1c

Please sign in to comment.