From 265c62b6ba6def776165ba2ae0bb5e4dc7daf0b4 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 8 Mar 2026 19:34:46 -0700 Subject: [PATCH] Change dependencies to dependentRequired for JSON schema draft 2020-12 --- specification/2.0/schema/accessor.schema.json | 2 +- specification/2.0/schema/glTF.schema.json | 2 +- specification/2.0/schema/image.schema.json | 2 +- specification/2.0/schema/material.schema.json | 2 +- specification/2.0/schema/node.schema.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/2.0/schema/accessor.schema.json b/specification/2.0/schema/accessor.schema.json index 4a0458e431..29f3912c6b 100644 --- a/specification/2.0/schema/accessor.schema.json +++ b/specification/2.0/schema/accessor.schema.json @@ -129,7 +129,7 @@ "extensions": { }, "extras": { } }, - "dependencies": { + "dependentRequired": { "byteOffset": [ "bufferView" ] }, "required": [ "componentType", "count", "type" ] diff --git a/specification/2.0/schema/glTF.schema.json b/specification/2.0/schema/glTF.schema.json index e587e0106b..ab649bbeb7 100644 --- a/specification/2.0/schema/glTF.schema.json +++ b/specification/2.0/schema/glTF.schema.json @@ -149,7 +149,7 @@ "extensions": { }, "extras": { } }, - "dependencies": { + "dependentRequired": { "scene": [ "scenes" ] }, "required": [ "asset" ] diff --git a/specification/2.0/schema/image.schema.json b/specification/2.0/schema/image.schema.json index 3a0fafd16a..30720a6a9d 100644 --- a/specification/2.0/schema/image.schema.json +++ b/specification/2.0/schema/image.schema.json @@ -35,7 +35,7 @@ "extensions": { }, "extras": { } }, - "dependencies": { + "dependentRequired": { "bufferView": [ "mimeType" ] }, "oneOf": [ diff --git a/specification/2.0/schema/material.schema.json b/specification/2.0/schema/material.schema.json index ebfb8406b5..89c7048b3b 100644 --- a/specification/2.0/schema/material.schema.json +++ b/specification/2.0/schema/material.schema.json @@ -77,7 +77,7 @@ "gltf_detailedDescription": "Specifies whether the material is double sided. When this value is false, back-face culling is enabled. When this value is true, back-face culling is disabled and double-sided lighting is enabled. The back-face **MUST** have its normals reversed before the lighting equation is evaluated." } }, - "dependencies" : { + "dependentRequired" : { "alphaCutoff" : ["alphaMode"] } } diff --git a/specification/2.0/schema/node.schema.json b/specification/2.0/schema/node.schema.json index cb5946796f..3c0ffeb79f 100644 --- a/specification/2.0/schema/node.schema.json +++ b/specification/2.0/schema/node.schema.json @@ -83,7 +83,7 @@ "extensions": { }, "extras": { } }, - "dependencies": { + "dependentRequired": { "weights": [ "mesh" ], "skin": [ "mesh" ] },