From 28f7b3cbe0bb8e9639d049250941a0dacca434bb Mon Sep 17 00:00:00 2001 From: Marco Hutter Date: Tue, 15 Feb 2022 16:27:36 +0100 Subject: [PATCH 1/2] Plural for property mappings array --- .../schema/mesh.primitive.EXT_structural_metadata.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/2.0/Vendor/EXT_structural_metadata/schema/mesh.primitive.EXT_structural_metadata.schema.json b/extensions/2.0/Vendor/EXT_structural_metadata/schema/mesh.primitive.EXT_structural_metadata.schema.json index 39ff09a5cd..3a064f81f8 100644 --- a/extensions/2.0/Vendor/EXT_structural_metadata/schema/mesh.primitive.EXT_structural_metadata.schema.json +++ b/extensions/2.0/Vendor/EXT_structural_metadata/schema/mesh.primitive.EXT_structural_metadata.schema.json @@ -18,7 +18,7 @@ "$ref": "propertyTexture.schema.json" } }, - "propertyMapping": { + "propertyMappings": { "type": "array", "description": "An array of indexes of property mappings in the root `EXT_structural_metadata` object.", "minItems": 1, From 9f74b2c0dbf014c41e87c794802d3139c6147ee7 Mon Sep 17 00:00:00 2001 From: Marco Hutter Date: Tue, 15 Feb 2022 16:28:47 +0100 Subject: [PATCH 2/2] Mention restrictions to numeric component types in schema --- .../schema/class.property.schema.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/2.0/Vendor/EXT_structural_metadata/schema/class.property.schema.json b/extensions/2.0/Vendor/EXT_structural_metadata/schema/class.property.schema.json index dc177bc512..09d70d25dc 100644 --- a/extensions/2.0/Vendor/EXT_structural_metadata/schema/class.property.schema.json +++ b/extensions/2.0/Vendor/EXT_structural_metadata/schema/class.property.schema.json @@ -122,7 +122,7 @@ "$ref": "definitions.schema.json#/definitions/numericValue" } ], - "description": "An offset to apply to property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types." + "description": "An offset to apply to property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types with numeric `componentType`." }, "scale": { "allOf": [ @@ -130,7 +130,7 @@ "$ref": "definitions.schema.json#/definitions/numericValue" } ], - "description": "A scale to apply to property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types." + "description": "A scale to apply to property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types with numeric `componentType`." }, "max": { "allOf": [ @@ -138,7 +138,7 @@ "$ref": "definitions.schema.json#/definitions/numericValue" } ], - "description": "Maximum allowed value for the property. Only applicable to `SCALAR`, `VECN`, and `MATN` types. The `normalized`, `offset`, and `scale` properties have no effect on the maximum, it always corresponds to the actual value." + "description": "Maximum allowed value for the property. Only applicable to `SCALAR`, `VECN`, and `MATN` types with numeric `componentType`. The `normalized`, `offset`, and `scale` properties have no effect on the maximum, it always corresponds to the actual value." }, "min": { "allOf": [ @@ -146,7 +146,7 @@ "$ref": "definitions.schema.json#/definitions/numericValue" } ], - "description": "Minimum allowed value for the property. Only applicable to `SCALAR`, `VECN`, and `MATN` types. The `normalized`, `offset`, and `scale` properties have no effect on the minimum, it always corresponds to the actual value." + "description": "Minimum allowed value for the property. Only applicable to `SCALAR`, `VECN`, and `MATN` types with numeric `componentType`. The `normalized`, `offset`, and `scale` properties have no effect on the minimum, it always corresponds to the actual value." }, "required": { "type": "boolean",