From 00fe6c9c3f9486c1e438f32681aa4f3772a35078 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 17 Dec 2025 09:27:47 +0100 Subject: [PATCH] Revise metaschemas Signed-off-by: Juan Cruz Viotti --- meta/schemas-root.json | 17 +---------------- meta/schemas.json | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/meta/schemas-root.json b/meta/schemas-root.json index a2e501d..48ee008 100644 --- a/meta/schemas-root.json +++ b/meta/schemas-root.json @@ -33,24 +33,9 @@ "$schema": { "const": "https://json-schema.org/draft/2020-12/schema" }, - "$comment": { - "not": { - "$ref": "../schemas/2020-12/ietf/uri/uri-reference.json" - } - }, "x-license": { "const": "https://github.com/sourcemeta/std/blob/main/LICENSE" }, - "x-symbol": { - "type": "string" - }, - "x-links": { - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "$ref": "../schemas/2020-12/ietf/http/https-url.json" - } - } + "x-links": true } } diff --git a/meta/schemas.json b/meta/schemas.json index 0ddb9c4..bfa1535 100644 --- a/meta/schemas.json +++ b/meta/schemas.json @@ -15,7 +15,21 @@ "properties": { "$id": false, "$comment": { - "$ref": "../schemas/2020-12/misc/single-line-text.json" + "$ref": "../schemas/2020-12/misc/single-line-text.json", + "not": { + "$ref": "../schemas/2020-12/ietf/uri/uri-reference.json" + } + }, + "x-symbol": { + "type": "string" + }, + "x-links": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "items": { + "$ref": "../schemas/2020-12/ietf/http/https-url.json" + } }, "title": { "$ref": "../schemas/2020-12/misc/single-line-text.json"