From 8a0f3f328c992f072ac0c135b1494a644b52e81a Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Sun, 6 Sep 2020 21:48:51 -0700 Subject: [PATCH 1/3] Fix CDATA indentation. --- jsonschema-core.xml | 46 ++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 62c0c84b..47522d58 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1692,18 +1692,18 @@ @@ -1764,11 +1764,11 @@ @@ -1787,15 +1787,15 @@ From f2c130c9d12101e90cbb2a163910ad3649c6a587 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Sun, 6 Sep 2020 21:49:36 -0700 Subject: [PATCH 2/3] Fix category number --- jsonschema-core.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 47522d58..0fd9b2af 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -314,7 +314,7 @@ Object properties that are applied to the instance are called keywords, or schema keywords. Broadly speaking, keywords fall into one - of four categories: + of five categories: control schema identification through setting the schema's From 799ecc673c87808f321905e31bf09b2644eafa26 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Wed, 16 Sep 2020 10:26:27 -0700 Subject: [PATCH 3/3] Fix "$id" that should have been "$anchor" Looks like we missed one, h/t jimblackler. Also fix wording as the value of "$anchor" is not a URI reference. --- jsonschema-core.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 0fd9b2af..71ee47d8 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -1710,8 +1710,8 @@ When an implementation encounters the <#/$defs/single> schema, - it resolves the "$id" URI reference against the current base URI to form - <https://example.net/root.json#item>. + it resolves the "$anchor" value as a fragment name against the current + base URI to form <https://example.net/root.json#item>. When an implementation then looks inside the <#/items> schema, it