From 056760d493093dad33a354c78322935d103b1a9d Mon Sep 17 00:00:00 2001 From: Clemens Vasters Date: Mon, 8 Jun 2026 10:27:42 +0200 Subject: [PATCH] Editorial: fix obsolete RFC reference and phrasing - Update RFC4646 to RFC5646 (BCP 47) - Fix terminology: \ is an array, not a clause - Remove awkward parenthetical in 'has' keyword definition Fixes #2 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- draft-vasters-json-structure-validation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/draft-vasters-json-structure-validation.md b/draft-vasters-json-structure-validation.md index 7c4f68b..c7e89e8 100644 --- a/draft-vasters-json-structure-validation.md +++ b/draft-vasters-json-structure-validation.md @@ -28,7 +28,7 @@ author: normative: RFC2119: - RFC4646: + RFC5646: RFC8174: JSTRUCT-CORE: title: "JSON Structure Core" @@ -405,8 +405,8 @@ Example: ### `has` {#has} -The `has` keyword validates that an object or map has at least one (property) -value that matches the schema. The schema MUST be of type `object`. +The `has` keyword validates that an object or map has at least one value +that matches the schema. The schema MUST be of type `object`. Example: @@ -441,8 +441,8 @@ Example: ## Enabling the Extensions {#enabling-the-extensions} Validation extensions can be enabled in a schema or -meta-schema by adding the `JSONSchemaValidation` key to the `$uses` -clause when referencing the extended meta-schema: +meta-schema by adding `JSONSchemaValidation` to the `$uses` +array when referencing the extended meta-schema: ~~~ json {