diff --git a/schemas/assetCostume.schema.json b/schemas/assetCostume.schema.json index d7cce63..9bd95b3 100644 --- a/schemas/assetCostume.schema.json +++ b/schemas/assetCostume.schema.json @@ -38,7 +38,7 @@ { "if": { "properties": { - "name": { "const": "Wolf3D_Body_Custom" } + "name": { "enum": ["Wolf3D_Body", "Wolf3D_Body_Custom"] } } }, "then": { @@ -69,7 +69,7 @@ { "if": { "properties": { - "name": { "const": "Wolf3D_Head_Custom" } + "name": { "enum": ["Wolf3D_Head", "Wolf3D_Head_Custom"] } } }, "then": { diff --git a/schemas/meshNames.schema.json b/schemas/meshNames.schema.json index b14ba57..7cb5b1d 100644 --- a/schemas/meshNames.schema.json +++ b/schemas/meshNames.schema.json @@ -60,8 +60,8 @@ "enum": [ "EyeLeft", "EyeRight", - "Wolf3D_Body_Custom", - "Wolf3D_Head_Custom", + "Wolf3D_Body", + "Wolf3D_Head", "Wolf3D_Outfit_Bottom", "Wolf3D_Outfit_Footwear", "Wolf3D_Outfit_Top", @@ -70,9 +70,12 @@ "Wolf3D_Facewear", "Wolf3D_Glasses", "Wolf3D_Hair", - "Wolf3D_Headwear" + "Wolf3D_Headwear", + "Wolf3D_Body_Custom", + "Wolf3D_Head_Custom" ], - "errorMessage": "Mesh name should be one of 'EyeLeft', 'EyeRight', 'Wolf3D_Body_Custom', 'Wolf3D_Head_Custom', 'Wolf3D_Outfit_Bottom', 'Wolf3D_Outfit_Footwear', 'Wolf3D_Outfit_Top', 'Wolf3D_Teeth', 'Wolf3D_Beard', 'Wolf3D_Facewear', 'Wolf3D_Glasses', 'Wolf3D_Hair', 'Wolf3D_Headwear'. Found ${0} instead." + "$comment": "Wolf3D_Body_Custom and Wolf3D_Head_Custom are deprecated, but allowed for backwards compatibility.", + "errorMessage": "Mesh name should be one of 'EyeLeft', 'EyeRight', 'Wolf3D_Body', 'Wolf3D_Head', 'Wolf3D_Outfit_Bottom', 'Wolf3D_Outfit_Footwear', 'Wolf3D_Outfit_Top', 'Wolf3D_Teeth', 'Wolf3D_Beard', 'Wolf3D_Facewear', 'Wolf3D_Glasses', 'Wolf3D_Hair', 'Wolf3D_Headwear'. Found ${0} instead." }, "outfit": { "type": "string",