From 836da3e3cc810cf1f390e91732f42723e8b7d70f Mon Sep 17 00:00:00 2001 From: Arkadii Yakovets Date: Tue, 28 Jan 2025 18:00:38 -0800 Subject: [PATCH] Update "understanding JSON schema" URL --- CONTRIBUTING.md | 2 +- src/schemas/json/metaschema-draft-07-unofficial-strict.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bfaa964250f..8cfe0d2d21e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,7 +98,7 @@ There is an [unofficial draft-07][draft-07-unofficial-strict] schema that uses J - `type`, `title`, `description` properties are required - There are no empty arrays. For instance, it's impossible to write less than 2 sub-schemas for `allOf` - `type` can't be an array, which is intentional, `anyOf`/`oneOf` should be used in this case -- It links to [understanding-json-schema](https://json-schema.org/understanding-json-schema/index.html) for each hint/check +- It links to [understanding-json-schema](https://json-schema.org/understanding-json-schema) for each hint/check To check your schema against that schema, use `node cli.js check-strict --schema-name=`. diff --git a/src/schemas/json/metaschema-draft-07-unofficial-strict.json b/src/schemas/json/metaschema-draft-07-unofficial-strict.json index 744fb8b55b5..64b10f748a1 100644 --- a/src/schemas/json/metaschema-draft-07-unofficial-strict.json +++ b/src/schemas/json/metaschema-draft-07-unofficial-strict.json @@ -974,5 +974,5 @@ "additionalProperties": false } }, - "description": "A schema\nhttps://json-schema.org/understanding-json-schema/index.html" + "description": "A schema\nhttps://json-schema.org/understanding-json-schema" }