From 240504439071a268631cddba2a29424a42f3a3cd Mon Sep 17 00:00:00 2001 From: "Henry H. Andrews" Date: Sun, 18 Sep 2022 14:57:00 -0700 Subject: [PATCH] Missed a "schema document" -> "schema resource" This was just an oversight regarding where $vocabualry is legal. It should have always been "schema resource root." --- jsonschema-core.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 0181a388..1001eb83 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1273,10 +1273,10 @@ The "$vocabulary" keyword SHOULD be used in the root schema of any schema - document intended for use as a meta-schema. It MUST NOT appear in subschemas. + resource intended for use as a meta-schema. It MUST NOT appear in subschemas. - The "$vocabulary" keyword MUST be ignored in schema documents that + The "$vocabulary" keyword MUST be ignored in schema resources that are not being processed as a meta-schema. This allows validating a meta-schema M against its own meta-schema M' without requiring the validator to understand the vocabularies declared by M.