From b95681c3151c38879c288abf5dec91f4047f405e Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Mon, 3 Feb 2020 12:45:29 +0000 Subject: [PATCH 1/2] Note that referenced schemas which identify as needing to be processed differently MAY be supported, or an error SHOULD be thrown Fixes #808 --- jsonschema-core.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 64ea001a..22deeb05 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1767,6 +1767,10 @@ URI to identify more than one schema. When multiple schemas try to identify as the same URI, validators SHOULD raise an error condition. + + As with all schemas, a referenced schema SHOULD be processed according to its define "$schema" + and "$vocabulary" values, if defined. +
From 5a4582a1c2bd190c0315e8bb9f34bc729aa718db Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Wed, 5 Feb 2020 13:21:52 +0000 Subject: [PATCH 2/2] Remove first "defined" --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 22deeb05..5907afc9 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1768,7 +1768,7 @@ as the same URI, validators SHOULD raise an error condition. - As with all schemas, a referenced schema SHOULD be processed according to its define "$schema" + As with all schemas, a referenced schema SHOULD be processed according to its "$schema" and "$vocabulary" values, if defined.