From e0098e1cca6cecfeb3fddea52f455193fb4e8c0b Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 22 Oct 2025 11:39:40 -0400 Subject: [PATCH] Add a new `x-links` property for linking to standards Signed-off-by: Juan Cruz Viotti --- meta/schemas.json | 14 ++- schemas/ieee/posix/path-absolute.json | 2 +- schemas/ieee/posix/path-relative.json | 2 +- schemas/ieee/posix/path.json | 2 +- schemas/ietf/email/address.json | 2 +- schemas/ietf/http/etag-strong.json | 2 +- schemas/ietf/http/etag-weak.json | 2 +- schemas/ietf/http/etag.json | 2 +- schemas/ietf/http/http-url.json | 2 +- schemas/ietf/http/https-url.json | 2 +- schemas/ietf/http/method-standard.json | 9 +- schemas/ietf/http/method.json | 2 +- schemas/ietf/http/status-client-error.json | 2 +- schemas/ietf/http/status-informational.json | 2 +- schemas/ietf/http/status-redirection.json | 2 +- schemas/ietf/http/status-server-error.json | 2 +- schemas/ietf/http/status-standard.json | 2 +- schemas/ietf/http/status-successful.json | 2 +- schemas/ietf/http/status.json | 2 +- schemas/ietf/ip/v4/address.json | 2 +- schemas/ietf/ip/v6/address.json | 2 +- schemas/ietf/jsonpointer/pointer.json | 2 +- schemas/ietf/problem-details/problem.json | 2 +- schemas/ietf/uri/uri-reference.json | 2 +- schemas/ietf/uri/uri-relative.json | 89 +++++++++---------- schemas/ietf/uri/uri.json | 2 +- schemas/ietf/uri/url.json | 2 +- schemas/ietf/uri/urn.json | 2 +- schemas/iso/currency/alpha-code.json | 2 +- schemas/iso/currency/alpha-currency.json | 2 +- schemas/iso/currency/alpha-fund.json | 2 +- .../iso/currency/alpha-precious-metal.json | 2 +- schemas/iso/currency/alpha-test.json | 2 +- schemas/iso/currency/alpha-unknown.json | 2 +- .../iso/currency/historical/alpha-code.json | 2 +- .../currency/historical/alpha-currency.json | 2 +- .../iso/currency/historical/numeric-code.json | 2 +- .../currency/historical/numeric-currency.json | 2 +- .../iso/currency/numeric-code-additional.json | 2 +- schemas/iso/currency/numeric-code.json | 2 +- schemas/iso/currency/numeric-currency.json | 2 +- schemas/iso/currency/numeric-fund.json | 2 +- .../iso/currency/numeric-precious-metal.json | 2 +- schemas/iso/currency/numeric-test.json | 2 +- schemas/iso/currency/numeric-unknown.json | 2 +- .../datetime/2019/date/calendar-basic.json | 2 +- .../datetime/2019/date/calendar-century.json | 2 +- .../datetime/2019/date/calendar-decade.json | 2 +- .../2019/date/calendar-expanded-basic.json | 2 +- .../2019/date/calendar-expanded-century.json | 2 +- .../2019/date/calendar-expanded-decade.json | 2 +- .../2019/date/calendar-expanded-extended.json | 2 +- .../2019/date/calendar-expanded-month.json | 2 +- .../2019/date/calendar-expanded-year.json | 2 +- .../datetime/2019/date/calendar-extended.json | 2 +- .../datetime/2019/date/calendar-month.json | 2 +- .../iso/datetime/2019/date/calendar-year.json | 2 +- .../iso/datetime/2019/date/ordinal-basic.json | 2 +- .../2019/date/ordinal-expanded-basic.json | 2 +- .../2019/date/ordinal-expanded-extended.json | 2 +- .../datetime/2019/date/ordinal-extended.json | 2 +- .../iso/datetime/2019/date/week-basic.json | 2 +- .../2019/date/week-expanded-basic.json | 2 +- .../2019/date/week-expanded-extended.json | 2 +- .../date/week-expanded-reduced-basic.json | 2 +- .../date/week-expanded-reduced-extended.json | 2 +- .../iso/datetime/2019/date/week-extended.json | 2 +- .../2019/date/week-reduced-basic.json | 2 +- .../2019/date/week-reduced-extended.json | 2 +- .../2019/duration/calendar-basic.json | 2 +- .../2019/duration/calendar-extended.json | 2 +- .../datetime/2019/duration/designator.json | 2 +- .../datetime/2019/duration/ordinal-basic.json | 2 +- .../2019/duration/ordinal-extended.json | 2 +- schemas/iso/datetime/2019/duration/weeks.json | 2 +- schemas/iso/it/byte.json | 2 +- schemas/iso/units/percentage.json | 2 +- schemas/jsonrpc/v2.0/batch-request.json | 2 +- schemas/jsonrpc/v2.0/batch-response.json | 2 +- schemas/jsonrpc/v2.0/code-predefined.json | 2 +- schemas/jsonrpc/v2.0/code.json | 2 +- schemas/jsonrpc/v2.0/error.json | 2 +- schemas/jsonrpc/v2.0/identifier.json | 2 +- schemas/jsonrpc/v2.0/method-internal.json | 2 +- schemas/jsonrpc/v2.0/method.json | 2 +- schemas/jsonrpc/v2.0/notification.json | 2 +- schemas/jsonrpc/v2.0/parameters.json | 2 +- schemas/jsonrpc/v2.0/request.json | 2 +- schemas/jsonrpc/v2.0/response.json | 2 +- schemas/jsonschema/schema-like.json | 4 +- 90 files changed, 150 insertions(+), 138 deletions(-) diff --git a/meta/schemas.json b/meta/schemas.json index 54662dc4..7e2caf31 100644 --- a/meta/schemas.json +++ b/meta/schemas.json @@ -26,7 +26,7 @@ "title", "description", "examples", - "$comment", + "x-links", "$schema" ], "properties": { @@ -35,10 +35,20 @@ }, "$id": false, "$comment": { - "$ref": "../schemas/ietf/http/https-url.json" + "not": { + "$ref": "../schemas/ietf/uri/uri-reference.json" + } }, "x-license": { "const": "https://github.com/sourcemeta/std/blob/main/LICENSE" + }, + "x-links": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "items": { + "$ref": "../schemas/ietf/http/https-url.json" + } } } } diff --git a/schemas/ieee/posix/path-absolute.json b/schemas/ieee/posix/path-absolute.json index 91750b17..92fdc3a0 100644 --- a/schemas/ieee/posix/path-absolute.json +++ b/schemas/ieee/posix/path-absolute.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "IEEE Std 1003.1-2017 POSIX File Path (Absolute)", "description": "IEEE Std 1003.1-2017 POSIX absolute pathname", - "$comment": "https://pubs.opengroup.org/onlinepubs/9699919799/", "examples": [ "/", "/home/user/document.txt", @@ -11,6 +10,7 @@ "/tmp/temp_file-123.tmp" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://pubs.opengroup.org/onlinepubs/9699919799/" ], "type": "string", "not": { "$comment": "Cannot contain null bytes", diff --git a/schemas/ieee/posix/path-relative.json b/schemas/ieee/posix/path-relative.json index 3a73025b..45b5ad7d 100644 --- a/schemas/ieee/posix/path-relative.json +++ b/schemas/ieee/posix/path-relative.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "IEEE Std 1003.1-2017 POSIX File Path (Relative)", "description": "IEEE Std 1003.1-2017 POSIX relative pathname", - "$comment": "https://pubs.opengroup.org/onlinepubs/9699919799/", "examples": [ "", "file.txt", @@ -11,6 +10,7 @@ ".ssh/id_rsa" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://pubs.opengroup.org/onlinepubs/9699919799/" ], "type": "string", "not": { "anyOf": [ diff --git a/schemas/ieee/posix/path.json b/schemas/ieee/posix/path.json index bfd1cc7c..6e63bff6 100644 --- a/schemas/ieee/posix/path.json +++ b/schemas/ieee/posix/path.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "IEEE Std 1003.1-2017 POSIX File Path)", "description": "IEEE Std 1003.1-2017 POSIX pathname", - "$comment": "https://pubs.opengroup.org/onlinepubs/9699919799/", "examples": [ "/", "/home/user/document.txt", @@ -12,6 +11,7 @@ "../config/settings.conf" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://pubs.opengroup.org/onlinepubs/9699919799/" ], "anyOf": [ { "$ref": "./path-absolute.json" diff --git a/schemas/ietf/email/address.json b/schemas/ietf/email/address.json index b1ee608c..cb124882 100644 --- a/schemas/ietf/email/address.json +++ b/schemas/ietf/email/address.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 5322 Email Address (Addr-Spec)", "description": "A specific Internet identifier that represents an e-mail box to which messages are delivered", - "$comment": "https://www.rfc-editor.org/rfc/rfc5322#section-3.4.1", "examples": [ "simple@example.com", "\"very.unusual.@.unusual.com\"@example.com", @@ -12,6 +11,7 @@ "user@[abc.def]" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc5322#section-3.4.1" ], "type": "string", "anyOf": [ { diff --git a/schemas/ietf/http/etag-strong.json b/schemas/ietf/http/etag-strong.json index a7065849..51dee22b 100644 --- a/schemas/ietf/http/etag-strong.json +++ b/schemas/ietf/http/etag-strong.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Strong ETag", "description": "A strong HTTP entity tag used for cache validation", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3", "examples": [ "\"abc123\"", "\"686897696a7c876b7e\"", "\"\"" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3" ], "type": "string", "pattern": "^\"[\\x21\\x23-\\x7E\\x80-\\xFF]*\"$" } diff --git a/schemas/ietf/http/etag-weak.json b/schemas/ietf/http/etag-weak.json index 6ff024e6..7082f935 100644 --- a/schemas/ietf/http/etag-weak.json +++ b/schemas/ietf/http/etag-weak.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Weak ETag", "description": "A weak HTTP entity tag used for cache validation with relaxed comparison semantics", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3", "examples": [ "W/\"abc123\"", "W/\"686897696a7c876b7e\"", "W/\"\"" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3" ], "type": "string", "pattern": "^W/\"[\\x21\\x23-\\x7E\\x80-\\xFF]*\"$" } diff --git a/schemas/ietf/http/etag.json b/schemas/ietf/http/etag.json index aaa729b3..0954a523 100644 --- a/schemas/ietf/http/etag.json +++ b/schemas/ietf/http/etag.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP ETag", "description": "An HTTP entity tag used for cache validation, either strong or weak", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3", "examples": [ "\"abc123\"", "W/\"abc123\"", "\"\"" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-8.8.3" ], "anyOf": [ { "$ref": "./etag-strong.json" diff --git a/schemas/ietf/http/http-url.json b/schemas/ietf/http/http-url.json index 34e2b990..f4fcf079 100644 --- a/schemas/ietf/http/http-url.json +++ b/schemas/ietf/http/http-url.json @@ -2,13 +2,13 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "HTTP URL", "description": "A Uniform Resource Locator using the HTTP scheme", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-4.2.1", "examples": [ "http://example.com", "http://example.com/path", "http://user:pass@example.com:8080/api" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-4.2.1" ], "$ref": "../uri/url.json", "pattern": "^[Hh][Tt][Tt][Pp]://" } diff --git a/schemas/ietf/http/https-url.json b/schemas/ietf/http/https-url.json index 4c2b1792..9f6146ae 100644 --- a/schemas/ietf/http/https-url.json +++ b/schemas/ietf/http/https-url.json @@ -2,13 +2,13 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "HTTPS URL", "description": "A Uniform Resource Locator using the HTTPS scheme", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-4.2.2", "examples": [ "https://example.com", "https://example.com/path", "https://user:pass@example.com:443/api" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-4.2.2" ], "$ref": "../uri/url.json", "pattern": "^[Hh][Tt][Tt][Pp][Ss]://" } diff --git a/schemas/ietf/http/method-standard.json b/schemas/ietf/http/method-standard.json index d5765869..bd0eeef1 100644 --- a/schemas/ietf/http/method-standard.json +++ b/schemas/ietf/http/method-standard.json @@ -2,12 +2,15 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "IETF HTTP Standard Method", "description": "An HTTP request method explicitly defined in IETF RFCs (case-sensitive)", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-9.3", "examples": [ "GET", "POST", "PUT", "PATCH" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ + "https://www.rfc-editor.org/rfc/rfc9110#section-9.3", + "https://www.rfc-editor.org/rfc/rfc5789", + "https://www.rfc-editor.org/rfc/rfc4918" + ], "anyOf": [ { - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-9.3", "enum": [ "GET", "HEAD", @@ -20,11 +23,9 @@ ] }, { - "$comment": "https://www.rfc-editor.org/rfc/rfc5789", "const": "PATCH" }, { - "$comment": "https://www.rfc-editor.org/rfc/rfc4918", "enum": [ "PROPFIND", "PROPPATCH", diff --git a/schemas/ietf/http/method.json b/schemas/ietf/http/method.json index 5bea9b87..ddedf46c 100644 --- a/schemas/ietf/http/method.json +++ b/schemas/ietf/http/method.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Method", "description": "An HTTP request method token", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-9", "examples": [ "GET", "POST", "PUT", "PATCH" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-9" ], "type": "string", "not": { "pattern": "[\\x00-\\x1F\\x7F]" diff --git a/schemas/ietf/http/status-client-error.json b/schemas/ietf/http/status-client-error.json index 20137ca5..14e1b46e 100644 --- a/schemas/ietf/http/status-client-error.json +++ b/schemas/ietf/http/status-client-error.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Client Error Status Code", "description": "An HTTP 4xx client error status code indicating the request contains bad syntax or cannot be fulfilled", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15.4", "examples": [ 400, 404, 403 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15.4" ], "type": "integer", "maximum": 499, "minimum": 400 diff --git a/schemas/ietf/http/status-informational.json b/schemas/ietf/http/status-informational.json index ef5267bd..5b18af49 100644 --- a/schemas/ietf/http/status-informational.json +++ b/schemas/ietf/http/status-informational.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Informational Status Code", "description": "An HTTP 1xx informational status code indicating an interim response", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15.1", "examples": [ 100, 101, 102 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15.1" ], "type": "integer", "maximum": 199, "minimum": 100 diff --git a/schemas/ietf/http/status-redirection.json b/schemas/ietf/http/status-redirection.json index 0633b2cc..3cdadf47 100644 --- a/schemas/ietf/http/status-redirection.json +++ b/schemas/ietf/http/status-redirection.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Redirection Status Code", "description": "An HTTP 3xx redirection status code indicating further action needs to be taken to complete the request", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15.3", "examples": [ 301, 302, 304 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15.3" ], "type": "integer", "maximum": 399, "minimum": 300 diff --git a/schemas/ietf/http/status-server-error.json b/schemas/ietf/http/status-server-error.json index edc4fc60..f344779f 100644 --- a/schemas/ietf/http/status-server-error.json +++ b/schemas/ietf/http/status-server-error.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Server Error Status Code", "description": "An HTTP 5xx server error status code indicating the server failed to fulfill a valid request", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15.5", "examples": [ 500, 502, 503 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15.5" ], "type": "integer", "maximum": 599, "minimum": 500 diff --git a/schemas/ietf/http/status-standard.json b/schemas/ietf/http/status-standard.json index 9def5688..3f4039a8 100644 --- a/schemas/ietf/http/status-standard.json +++ b/schemas/ietf/http/status-standard.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Standard Status Code", "description": "An HTTP status code explicitly defined in RFC 9110 section 15", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15", "examples": [ 200, 404, 500 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15" ], "enum": [ 100, 101, diff --git a/schemas/ietf/http/status-successful.json b/schemas/ietf/http/status-successful.json index b2a654b2..59455531 100644 --- a/schemas/ietf/http/status-successful.json +++ b/schemas/ietf/http/status-successful.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Successful Status Code", "description": "An HTTP 2xx successful status code indicating the request was successfully received, understood, and accepted", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15.2", "examples": [ 200, 201, 204 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15.2" ], "type": "integer", "maximum": 299, "minimum": 200 diff --git a/schemas/ietf/http/status.json b/schemas/ietf/http/status.json index fc30a008..e5f02460 100644 --- a/schemas/ietf/http/status.json +++ b/schemas/ietf/http/status.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 9110 HTTP Status Code", "description": "An HTTP status code indicating the result of an HTTP request", - "$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15", "examples": [ 200, 404, 500 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc9110#section-15" ], "type": "integer", "maximum": 599, "minimum": 100 diff --git a/schemas/ietf/ip/v4/address.json b/schemas/ietf/ip/v4/address.json index d6f2260d..2692a1cd 100644 --- a/schemas/ietf/ip/v4/address.json +++ b/schemas/ietf/ip/v4/address.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 3986 IPv4 Address", "description": "An Internet Protocol version 4 address in dotted-decimal notation", - "$comment": "https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2", "examples": [ "0.0.0.0", "127.0.0.1", @@ -11,6 +10,7 @@ "10.0.0.1" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2" ], "type": "string", "pattern": "^([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", "format": "ipv4" diff --git a/schemas/ietf/ip/v6/address.json b/schemas/ietf/ip/v6/address.json index a3aa1e96..1950ce0e 100644 --- a/schemas/ietf/ip/v6/address.json +++ b/schemas/ietf/ip/v6/address.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 3986 IPv6 Address", "description": "An Internet Protocol version 6 address in colon-hexadecimal notation", - "$comment": "https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2", "examples": [ "2001:db8::8a2e:370:7334", "::1", @@ -12,6 +11,7 @@ "fe80::1" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2" ], "type": "string", "pattern": "^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)$", "format": "ipv6" diff --git a/schemas/ietf/jsonpointer/pointer.json b/schemas/ietf/jsonpointer/pointer.json index 99b80f20..d92f32a7 100644 --- a/schemas/ietf/jsonpointer/pointer.json +++ b/schemas/ietf/jsonpointer/pointer.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 6901 JSON Pointer", "description": "A string syntax for identifying a specific value within a JSON document", - "$comment": "https://www.rfc-editor.org/rfc/rfc6901", "examples": [ "", "/foo", "/foo/0" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc6901" ], "type": "string", "not": { "pattern": "~[^01]|~$" diff --git a/schemas/ietf/problem-details/problem.json b/schemas/ietf/problem-details/problem.json index f374462f..b8feb4a8 100644 --- a/schemas/ietf/problem-details/problem.json +++ b/schemas/ietf/problem-details/problem.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 7807 Problem Details for HTTP APIs", "description": "A machine-readable format for specifying errors in HTTP API responses", - "$comment": "https://www.rfc-editor.org/rfc/rfc7807", "examples": [ { "title": "You do not have enough credit.", @@ -34,6 +33,7 @@ } ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc7807" ], "type": "object", "properties": { "title": { diff --git a/schemas/ietf/uri/uri-reference.json b/schemas/ietf/uri/uri-reference.json index 75907416..b354871f 100644 --- a/schemas/ietf/uri/uri-reference.json +++ b/schemas/ietf/uri/uri-reference.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 3986 Uniform Resource Identifier (URI) reference", "description": "A Uniform Resource Identifier (URI) reference", - "$comment": "https://www.rfc-editor.org/rfc/rfc3986#section-4.1", "examples": [ "https://example.com/path/to/resource?query=value#section", "http://user:pass@192.168.1.1:8080/api/v1", @@ -11,6 +10,7 @@ "/absolute/path/to/resource?query=value#section" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc3986#section-4.1" ], "anyOf": [ { "$ref": "./uri.json" diff --git a/schemas/ietf/uri/uri-relative.json b/schemas/ietf/uri/uri-relative.json index 6efb2d77..b0e8901f 100644 --- a/schemas/ietf/uri/uri-relative.json +++ b/schemas/ietf/uri/uri-relative.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 3986 Uniform Resource Identifier (URI) relative reference", "description": "A relative Uniform Resource Identifier (URI) reference to be resolved with a base URI", - "$comment": "https://www.rfc-editor.org/rfc/rfc3986#section-4.2", "examples": [ "../parent/file.html", "//cdn.example.com/assets/style.css", @@ -11,71 +10,71 @@ "?search=term#results" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc3986#section-4.2" ], "type": "string", "allOf": [ { - "$comment": "Network path validations", "anyOf": [ { - "$comment": "Not a network path", - "not": { - "pattern": "^//" - } + "$comment": "Empty string", + "pattern": "^$" + }, + { + "$comment": "Network-path reference", + "pattern": "^//.*$" + }, + { + "$comment": "Absolute-path reference", + "pattern": "^/(?:[^?#]*)?(?:\\?[^#]*)?(?:#.*)?$" }, { - "$comment": "Valid IPv4 or not IPv4-like", - "anyOf": [ - { - "not": { - "pattern": "^//(?:[^@]*@)?[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" + "$comment": "Relative-path reference (not starting with scheme)", + "not": { + "anyOf": [ + { + "pattern": "^[A-Za-z][A-Za-z0-9+\\-.]*://" + }, + { + "pattern": "^[A-Za-z][A-Za-z0-9+\\-.]*:[^/:?#]*@" + }, + { + "pattern": "^urn:[A-Za-z0-9][A-Za-z0-9-]*:" } - }, - { - "pattern": "^//(?:[^@]*@)?(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:[:/?#].*)?$" - } - ], - "pattern": "^//(?:[^@/]*@)?[^:/?#]+(?::[0-9]+)?(?:[/?#].*)?$" + ] + }, + "pattern": "^[^/?#][^?#]*(?:\\?[^#]*)?(?:#.*)?$" }, { - "$comment": "Valid network path with IPv6", - "pattern": "^//(?:[^@/]*@)?\\[[0-9A-Fa-f:.]+\\](?::[0-9]+)?(?:[/?#].*)?$" + "$comment": "Query and/or fragment only", + "pattern": "^(?:\\?[^#]*)?(?:#.*)?$" } ] } ], "anyOf": [ { - "$comment": "Empty string", - "pattern": "^$" - }, - { - "$comment": "Network-path reference", - "pattern": "^//.*$" - }, - { - "$comment": "Absolute-path reference", - "pattern": "^/(?:[^?#]*)?(?:\\?[^#]*)?(?:#.*)?$" + "$comment": "Not a network path", + "not": { + "pattern": "^//" + } }, { - "$comment": "Relative-path reference (not starting with scheme)", - "not": { - "anyOf": [ - { - "pattern": "^[A-Za-z][A-Za-z0-9+\\-.]*://" - }, - { - "pattern": "^[A-Za-z][A-Za-z0-9+\\-.]*:[^/:?#]*@" - }, - { - "pattern": "^urn:[A-Za-z0-9][A-Za-z0-9-]*:" + "$comment": "Valid IPv4 or not IPv4-like", + "anyOf": [ + { + "not": { + "pattern": "^//(?:[^@]*@)?[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" } - ] - }, - "pattern": "^[^/?#][^?#]*(?:\\?[^#]*)?(?:#.*)?$" + }, + { + "pattern": "^//(?:[^@]*@)?(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:[:/?#].*)?$" + } + ], + "pattern": "^//(?:[^@/]*@)?[^:/?#]+(?::[0-9]+)?(?:[/?#].*)?$" }, { - "$comment": "Query and/or fragment only", - "pattern": "^(?:\\?[^#]*)?(?:#.*)?$" + "$comment": "Valid network path with IPv6", + "pattern": "^//(?:[^@/]*@)?\\[[0-9A-Fa-f:.]+\\](?::[0-9]+)?(?:[/?#].*)?$" } ], "not": { diff --git a/schemas/ietf/uri/uri.json b/schemas/ietf/uri/uri.json index 891d8530..a87d9982 100644 --- a/schemas/ietf/uri/uri.json +++ b/schemas/ietf/uri/uri.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 3986 Uniform Resource Identifier (URI)", "description": "A unique sequence of characters that identifies an abstract or physical resource", - "$comment": "https://www.rfc-editor.org/rfc/rfc3986#section-3", "examples": [ "urn:example:foo", "https://example.com/path/to/resource?query=value#section", @@ -10,6 +9,7 @@ "tel:+1-555-555-5555" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc3986#section-3" ], "anyOf": [ { "$ref": "./urn.json" diff --git a/schemas/ietf/uri/url.json b/schemas/ietf/uri/url.json index bbe4e416..4dd5e16e 100644 --- a/schemas/ietf/uri/url.json +++ b/schemas/ietf/uri/url.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 3986 Uniform Resource Locator (URL)", "description": "A locatable absolute Uniform Resource Identifier (URI)", - "$comment": "https://www.rfc-editor.org/rfc/rfc3986#section-3", "examples": [ "https://example.com/path/to/resource?query=value#section", "http://user:pass@192.168.1.1:8080/api/v1", @@ -11,6 +10,7 @@ "custom+scheme://host.example.com/resource" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc3986#section-3" ], "type": "string", "anyOf": [ { diff --git a/schemas/ietf/uri/urn.json b/schemas/ietf/uri/urn.json index 210d93c9..f2b26f87 100644 --- a/schemas/ietf/uri/urn.json +++ b/schemas/ietf/uri/urn.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "RFC 8141 Uniform Resource Name (URN)", "description": "A non-locatable Uniform Resource Identifier (URI) that uses the urn scheme", - "$comment": "https://www.rfc-editor.org/rfc/rfc8141#section-2", "examples": [ "urn:example:foo", "URN:example:foo/bar", @@ -18,6 +17,7 @@ "urn:example:foo/bar/" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.rfc-editor.org/rfc/rfc8141#section-2" ], "type": "string", "not": { "$comment": "Disallow reserved NID value 'urn'", diff --git a/schemas/iso/currency/alpha-code.json b/schemas/iso/currency/alpha-code.json index e863bbe0..3c6510f4 100644 --- a/schemas/iso/currency/alpha-code.json +++ b/schemas/iso/currency/alpha-code.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Currency, Fund, and Precious Metal Code", "description": "A three-letter alphabetic code including currencies, funds, and precious metals (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "AED", "AFN", "ALL", "AMD", "BOV", "CHE", "XAG" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "$ref": "alpha-currency.json" diff --git a/schemas/iso/currency/alpha-currency.json b/schemas/iso/currency/alpha-currency.json index aaa9fc59..d0a4f113 100644 --- a/schemas/iso/currency/alpha-currency.json +++ b/schemas/iso/currency/alpha-currency.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Currency Code", "description": "A three-letter alphabetic currency code, excluding funds and precious metals (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "AED", "AFN", "ALL", "AMD" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "UAE Dirham", diff --git a/schemas/iso/currency/alpha-fund.json b/schemas/iso/currency/alpha-fund.json index 8db72401..4a2dfbf2 100644 --- a/schemas/iso/currency/alpha-fund.json +++ b/schemas/iso/currency/alpha-fund.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Fund Code", "description": "A three-letter alphabetic fund code (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "BOV", "CHE", "CHW", "CLF" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Mvdol", diff --git a/schemas/iso/currency/alpha-precious-metal.json b/schemas/iso/currency/alpha-precious-metal.json index b63c1371..9c3e73df 100644 --- a/schemas/iso/currency/alpha-precious-metal.json +++ b/schemas/iso/currency/alpha-precious-metal.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Precious Metal Code", "description": "A three-letter alphabetic code for precious metals (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "XAU", "XAG", "XPT", "XPD" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Silver", diff --git a/schemas/iso/currency/alpha-test.json b/schemas/iso/currency/alpha-test.json index 2f79a62d..fe0d49c3 100644 --- a/schemas/iso/currency/alpha-test.json +++ b/schemas/iso/currency/alpha-test.json @@ -2,8 +2,8 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Test Currency Code", "description": "The alphabetic code specifically reserved for testing purposes", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "XTS" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "const": "XTS" } diff --git a/schemas/iso/currency/alpha-unknown.json b/schemas/iso/currency/alpha-unknown.json index 7a59768a..b13d728d 100644 --- a/schemas/iso/currency/alpha-unknown.json +++ b/schemas/iso/currency/alpha-unknown.json @@ -2,8 +2,8 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Unknown Currency Code", "description": "The alphabetic code for transactions where no currency is involved", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "XXX" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "const": "XXX" } diff --git a/schemas/iso/currency/historical/alpha-code.json b/schemas/iso/currency/historical/alpha-code.json index 4c9b2be0..4488aa04 100644 --- a/schemas/iso/currency/historical/alpha-code.json +++ b/schemas/iso/currency/historical/alpha-code.json @@ -2,10 +2,10 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Currency, Fund, and Precious Metal Code (Historical)", "description": "A three-letter alphabetic code including withdrawn currencies, funds, and precious metals (2025-03-31)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "ADP", "AFA", "ALK", "ANG" ], "deprecated": true, "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "$ref": "alpha-currency.json" diff --git a/schemas/iso/currency/historical/alpha-currency.json b/schemas/iso/currency/historical/alpha-currency.json index 03bf7173..a25033c2 100644 --- a/schemas/iso/currency/historical/alpha-currency.json +++ b/schemas/iso/currency/historical/alpha-currency.json @@ -2,10 +2,10 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Alphabetic Currency Code (Historical)", "description": "A three-letter alphabetic withdrawn currency code, excluding funds and precious metals (2025-03-31)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ "ADP", "AFA", "ALK", "ANG" ], "deprecated": true, "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Andorran Peseta", diff --git a/schemas/iso/currency/historical/numeric-code.json b/schemas/iso/currency/historical/numeric-code.json index e8a84e29..ac1fab14 100644 --- a/schemas/iso/currency/historical/numeric-code.json +++ b/schemas/iso/currency/historical/numeric-code.json @@ -2,10 +2,10 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Currency, Fund, and Precious Metal Code (Historical)", "description": "A three-digit numeric code including withdrawn currencies, funds, and precious metals (2025-03-31)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 4, 8, 20, 24 ], "deprecated": true, "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "$ref": "numeric-currency.json" diff --git a/schemas/iso/currency/historical/numeric-currency.json b/schemas/iso/currency/historical/numeric-currency.json index d6adea22..3d53399a 100644 --- a/schemas/iso/currency/historical/numeric-currency.json +++ b/schemas/iso/currency/historical/numeric-currency.json @@ -2,10 +2,10 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Currency Code (Historical)", "description": "A three-digit numeric withdrawn currency code, excluding funds and precious metals (2025-03-31)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 4, 8, 20, 24 ], "deprecated": true, "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Afghani", diff --git a/schemas/iso/currency/numeric-code-additional.json b/schemas/iso/currency/numeric-code-additional.json index df9ef3c1..34b7881c 100644 --- a/schemas/iso/currency/numeric-code-additional.json +++ b/schemas/iso/currency/numeric-code-additional.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Additional Currency Code", "description": "User-assigned numeric codes in the range 900-998", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 900, 950, 998 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "type": "integer", "maximum": 998, "minimum": 900 diff --git a/schemas/iso/currency/numeric-code.json b/schemas/iso/currency/numeric-code.json index 5923f199..6a583462 100644 --- a/schemas/iso/currency/numeric-code.json +++ b/schemas/iso/currency/numeric-code.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Currency, Fund, and Precious Metal Code", "description": "A three-digit numeric code including currencies, funds, and precious metals (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 8, 12, 32, 36, 940, 959 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "$ref": "numeric-currency.json" diff --git a/schemas/iso/currency/numeric-currency.json b/schemas/iso/currency/numeric-currency.json index ca846ffb..f7b260df 100644 --- a/schemas/iso/currency/numeric-currency.json +++ b/schemas/iso/currency/numeric-currency.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Currency Code", "description": "A three-digit numeric currency code, excluding funds and precious metals (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 8, 12, 32, 36 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Lek", diff --git a/schemas/iso/currency/numeric-fund.json b/schemas/iso/currency/numeric-fund.json index 402ddfb7..7c8ff189 100644 --- a/schemas/iso/currency/numeric-fund.json +++ b/schemas/iso/currency/numeric-fund.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Fund Code", "description": "A three-digit numeric fund code (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 940, 947, 948, 970 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Uruguay Peso en Unidades Indexadas (UI)", diff --git a/schemas/iso/currency/numeric-precious-metal.json b/schemas/iso/currency/numeric-precious-metal.json index 076b65fa..a73b63d5 100644 --- a/schemas/iso/currency/numeric-precious-metal.json +++ b/schemas/iso/currency/numeric-precious-metal.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Precious Metal Code", "description": "A three-digit numeric code for precious metals (2025-05-12)", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 959, 961, 962, 964 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "anyOf": [ { "title": "Gold", diff --git a/schemas/iso/currency/numeric-test.json b/schemas/iso/currency/numeric-test.json index 8d82f37f..0e4ea965 100644 --- a/schemas/iso/currency/numeric-test.json +++ b/schemas/iso/currency/numeric-test.json @@ -2,8 +2,8 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Test Currency Code", "description": "The numeric code specifically reserved for testing purposes", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 963 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "const": 963 } diff --git a/schemas/iso/currency/numeric-unknown.json b/schemas/iso/currency/numeric-unknown.json index 0b8ad362..e4e19f99 100644 --- a/schemas/iso/currency/numeric-unknown.json +++ b/schemas/iso/currency/numeric-unknown.json @@ -2,8 +2,8 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 4217 Numeric Unknown Currency Code", "description": "The numeric code for transactions where no currency is involved", - "$comment": "https://www.iso.org/iso-4217-currency-codes.html", "examples": [ 999 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/iso-4217-currency-codes.html" ], "const": 999 } diff --git a/schemas/iso/datetime/2019/date/calendar-basic.json b/schemas/iso/datetime/2019/date/calendar-basic.json index 67b5890c..4fb8c7a7 100644 --- a/schemas/iso/datetime/2019/date/calendar-basic.json +++ b/schemas/iso/datetime/2019/date/calendar-basic.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Date (Basic Format)", "description": "A complete representation of a calendar date in basic format [YYYY][MM][DD] (§5.2.2.1 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "19850412", "20000101", "20231231", "00000101", "99991231" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^([0-9]{4}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[0-9]{4}(0[469]|11)(0[1-9]|[12][0-9]|30)|[0-9]{4}02(0[1-9]|1[0-9]|2[0-9]))$" } diff --git a/schemas/iso/datetime/2019/date/calendar-century.json b/schemas/iso/datetime/2019/date/calendar-century.json index d333f3db..ee41e348 100644 --- a/schemas/iso/datetime/2019/date/calendar-century.json +++ b/schemas/iso/datetime/2019/date/calendar-century.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Century", "description": "A calendar date with reduced precision representing a specific century [YY] (§5.2.2.2 d)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "19", "20", "00", "99" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{2}$" } diff --git a/schemas/iso/datetime/2019/date/calendar-decade.json b/schemas/iso/datetime/2019/date/calendar-decade.json index 93fe9058..3c747d9f 100644 --- a/schemas/iso/datetime/2019/date/calendar-decade.json +++ b/schemas/iso/datetime/2019/date/calendar-decade.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Decade", "description": "A calendar date with reduced precision representing a specific decade [YYY] (§5.2.2.2 c)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "198", "200", "202", "000", "999" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{3}$" } diff --git a/schemas/iso/datetime/2019/date/calendar-expanded-basic.json b/schemas/iso/datetime/2019/date/calendar-expanded-basic.json index 477d9e51..caa4b5de 100644 --- a/schemas/iso/datetime/2019/date/calendar-expanded-basic.json +++ b/schemas/iso/datetime/2019/date/calendar-expanded-basic.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Date Expanded (Basic Format)", "description": "An expanded representation of a calendar date in basic format [±][YYYYYY][MM][DD] with six digits for the year (§5.2.2.3 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+0019850412", "-0000010101", @@ -11,6 +10,7 @@ "-0100000101" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^([+-][0-9]{6}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[+-][0-9]{6}(0[469]|11)(0[1-9]|[12][0-9]|30)|[+-][0-9]{6}02(0[1-9]|1[0-9]|2[0-9]))$" } diff --git a/schemas/iso/datetime/2019/date/calendar-expanded-century.json b/schemas/iso/datetime/2019/date/calendar-expanded-century.json index ea4fa6bb..07730937 100644 --- a/schemas/iso/datetime/2019/date/calendar-expanded-century.json +++ b/schemas/iso/datetime/2019/date/calendar-expanded-century.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Century Expanded", "description": "An expanded representation of a calendar century [±][YYYY] with four digits (§5.2.2.3 e)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+0019", "-0000", "+9999", "+0000", "-0100" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{4}$" } diff --git a/schemas/iso/datetime/2019/date/calendar-expanded-decade.json b/schemas/iso/datetime/2019/date/calendar-expanded-decade.json index 2665f77f..fdae2d47 100644 --- a/schemas/iso/datetime/2019/date/calendar-expanded-decade.json +++ b/schemas/iso/datetime/2019/date/calendar-expanded-decade.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Decade Expanded", "description": "An expanded representation of a calendar decade [±][YYYYY] with five digits (§5.2.2.3 d)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+00198", "-00000", "+99999", "+00000", "-01000" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{5}$" } diff --git a/schemas/iso/datetime/2019/date/calendar-expanded-extended.json b/schemas/iso/datetime/2019/date/calendar-expanded-extended.json index 977ef43b..ab9a00fa 100644 --- a/schemas/iso/datetime/2019/date/calendar-expanded-extended.json +++ b/schemas/iso/datetime/2019/date/calendar-expanded-extended.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Date Expanded (Extended Format)", "description": "An expanded representation of a calendar date in extended format [±][YYYYYY][\"-\"][MM][\"-\"][DD] with six digits for the year (§5.2.2.3 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985-04-12", "-000001-01-01", @@ -11,6 +10,7 @@ "-010000-01-01" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^([+-][0-9]{6}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[+-][0-9]{6}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[+-][0-9]{6}-02-(0[1-9]|1[0-9]|2[0-9]))$" } diff --git a/schemas/iso/datetime/2019/date/calendar-expanded-month.json b/schemas/iso/datetime/2019/date/calendar-expanded-month.json index 08e3ef60..dc6c0e69 100644 --- a/schemas/iso/datetime/2019/date/calendar-expanded-month.json +++ b/schemas/iso/datetime/2019/date/calendar-expanded-month.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Month Expanded (Extended Format)", "description": "An expanded representation of a calendar month in extended format [±][YYYYYY][\"-\"][MM] with six digits for the year (§5.2.2.3 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985-04", "-000001-01", @@ -11,6 +10,7 @@ "-010000-12" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}-(0[1-9]|1[0-2])$" } diff --git a/schemas/iso/datetime/2019/date/calendar-expanded-year.json b/schemas/iso/datetime/2019/date/calendar-expanded-year.json index 1f443b18..453708fa 100644 --- a/schemas/iso/datetime/2019/date/calendar-expanded-year.json +++ b/schemas/iso/datetime/2019/date/calendar-expanded-year.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Year Expanded", "description": "An expanded representation of a calendar year [±][YYYYYY] with six digits for the year (§5.2.2.3 c)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985", "-000001", "+999999", "+000000", "-010000" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}$" } diff --git a/schemas/iso/datetime/2019/date/calendar-extended.json b/schemas/iso/datetime/2019/date/calendar-extended.json index 4e84523b..eb5757c7 100644 --- a/schemas/iso/datetime/2019/date/calendar-extended.json +++ b/schemas/iso/datetime/2019/date/calendar-extended.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Date (Extended Format)", "description": "A complete representation of a calendar date in extended format [YYYY][\"-\"][MM][\"-\"][DD] (§5.2.2.1 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985-04-12", "2000-01-01", @@ -11,6 +10,7 @@ "9999-12-31" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^([0-9]{4}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[0-9]{4}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[0-9]{4}-02-(0[1-9]|1[0-9]|2[0-9]))$" } diff --git a/schemas/iso/datetime/2019/date/calendar-month.json b/schemas/iso/datetime/2019/date/calendar-month.json index fd3dd133..a739449e 100644 --- a/schemas/iso/datetime/2019/date/calendar-month.json +++ b/schemas/iso/datetime/2019/date/calendar-month.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Month (Extended Format)", "description": "A calendar date with reduced precision representing a specific calendar month [YYYY][\"-\"][MM] (§5.2.2.2 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985-04", "2000-01", "2023-12", "0000-01", "9999-12" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$" } diff --git a/schemas/iso/datetime/2019/date/calendar-year.json b/schemas/iso/datetime/2019/date/calendar-year.json index 77b82a47..d3179327 100644 --- a/schemas/iso/datetime/2019/date/calendar-year.json +++ b/schemas/iso/datetime/2019/date/calendar-year.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Calendar Year", "description": "A calendar date with reduced precision representing a specific calendar year [YYYY] (§5.2.2.2 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985", "2000", "2023", "0000", "9999" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}$" } diff --git a/schemas/iso/datetime/2019/date/ordinal-basic.json b/schemas/iso/datetime/2019/date/ordinal-basic.json index 17020f6b..e78c1ae4 100644 --- a/schemas/iso/datetime/2019/date/ordinal-basic.json +++ b/schemas/iso/datetime/2019/date/ordinal-basic.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Ordinal Date (Basic Format)", "description": "A complete representation of an ordinal date in basic format [YYYY][DDD] where DDD is the calendar day of year (001-365/366) (§5.2.3.1 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985102", "2000001", "2000366", "2023365", "0000001" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])$" } diff --git a/schemas/iso/datetime/2019/date/ordinal-expanded-basic.json b/schemas/iso/datetime/2019/date/ordinal-expanded-basic.json index 6c6752ac..7831fd2e 100644 --- a/schemas/iso/datetime/2019/date/ordinal-expanded-basic.json +++ b/schemas/iso/datetime/2019/date/ordinal-expanded-basic.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Ordinal Date Expanded (Basic Format)", "description": "An expanded representation of an ordinal date in basic format [±][YYYYYY][DDD] with six digits for the year and DDD as calendar day of year (001-365/366) (§5.2.3.2 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985102", "-000001001", @@ -11,6 +10,7 @@ "-010000365" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])$" } diff --git a/schemas/iso/datetime/2019/date/ordinal-expanded-extended.json b/schemas/iso/datetime/2019/date/ordinal-expanded-extended.json index 8d25275d..08cb783f 100644 --- a/schemas/iso/datetime/2019/date/ordinal-expanded-extended.json +++ b/schemas/iso/datetime/2019/date/ordinal-expanded-extended.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Ordinal Date Expanded (Extended Format)", "description": "An expanded representation of an ordinal date in extended format [±][YYYYYY][\"-\"][DDD] with six digits for the year and DDD as calendar day of year (001-365/366) (§5.2.3.2 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985-102", "-000001-001", @@ -11,6 +10,7 @@ "-010000-365" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}-(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])$" } diff --git a/schemas/iso/datetime/2019/date/ordinal-extended.json b/schemas/iso/datetime/2019/date/ordinal-extended.json index 5db863ff..05bed28e 100644 --- a/schemas/iso/datetime/2019/date/ordinal-extended.json +++ b/schemas/iso/datetime/2019/date/ordinal-extended.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Ordinal Date (Extended Format)", "description": "A complete representation of an ordinal date in extended format [YYYY][\"-\"][DDD] where DDD is the calendar day of year (001-365/366) (§5.2.3.1 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985-102", "2000-001", "2000-366", "2023-365", "0000-001" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}-(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])$" } diff --git a/schemas/iso/datetime/2019/date/week-basic.json b/schemas/iso/datetime/2019/date/week-basic.json index cd881ad2..3c23c8ab 100644 --- a/schemas/iso/datetime/2019/date/week-basic.json +++ b/schemas/iso/datetime/2019/date/week-basic.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date (Basic Format)", "description": "A complete representation of a week date in basic format [YYYY][\"W\"][WW][D] where WW is the calendar week of year (01-53) and D is the calendar day of week (1-7) (§5.2.4.1 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985W155", "2000W011", "2023W527", "0000W011", "9999W537" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}W(0[1-9]|[1-4][0-9]|5[0-3])[1-7]$" } diff --git a/schemas/iso/datetime/2019/date/week-expanded-basic.json b/schemas/iso/datetime/2019/date/week-expanded-basic.json index a9d81c31..bc3638b8 100644 --- a/schemas/iso/datetime/2019/date/week-expanded-basic.json +++ b/schemas/iso/datetime/2019/date/week-expanded-basic.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date Expanded (Basic Format)", "description": "An expanded representation of a week date in basic format [±][YYYYYY][\"W\"][WW][D] with six digits for the year, WW as calendar week of year (01-53), and D as calendar day of week (1-7) (§5.2.4.3 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985W155", "-000001W011", @@ -11,6 +10,7 @@ "-010000W527" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}W(0[1-9]|[1-4][0-9]|5[0-3])[1-7]$" } diff --git a/schemas/iso/datetime/2019/date/week-expanded-extended.json b/schemas/iso/datetime/2019/date/week-expanded-extended.json index 750d4a74..129e126b 100644 --- a/schemas/iso/datetime/2019/date/week-expanded-extended.json +++ b/schemas/iso/datetime/2019/date/week-expanded-extended.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date Expanded (Extended Format)", "description": "An expanded representation of a week date in extended format [±][YYYYYY][\"-\"][\"W\"][WW][\"-\"][D] with six digits for the year, WW as calendar week of year (01-53), and D as calendar day of week (1-7) (§5.2.4.3 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985-W15-5", "-000001-W01-1", @@ -11,6 +10,7 @@ "-010000-W52-7" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}-W(0[1-9]|[1-4][0-9]|5[0-3])-[1-7]$" } diff --git a/schemas/iso/datetime/2019/date/week-expanded-reduced-basic.json b/schemas/iso/datetime/2019/date/week-expanded-reduced-basic.json index 3b299db8..54c11088 100644 --- a/schemas/iso/datetime/2019/date/week-expanded-reduced-basic.json +++ b/schemas/iso/datetime/2019/date/week-expanded-reduced-basic.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date Expanded Reduced Precision (Basic Format)", "description": "An expanded representation of a week date with reduced precision in basic format [±][YYYYYY][\"W\"][WW] with six digits for the year and WW as calendar week of year (01-53) (§5.2.4.3 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985W15", "-000001W01", @@ -11,6 +10,7 @@ "-010000W52" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}W(0[1-9]|[1-4][0-9]|5[0-3])$" } diff --git a/schemas/iso/datetime/2019/date/week-expanded-reduced-extended.json b/schemas/iso/datetime/2019/date/week-expanded-reduced-extended.json index a9347c40..eef46b59 100644 --- a/schemas/iso/datetime/2019/date/week-expanded-reduced-extended.json +++ b/schemas/iso/datetime/2019/date/week-expanded-reduced-extended.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date Expanded Reduced Precision (Extended Format)", "description": "An expanded representation of a week date with reduced precision in extended format [±][YYYYYY][\"-\"][\"W\"][WW] with six digits for the year and WW as calendar week of year (01-53) (§5.2.4.3 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "+001985-W15", "-000001-W01", @@ -11,6 +10,7 @@ "-010000-W52" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[+-][0-9]{6}-W(0[1-9]|[1-4][0-9]|5[0-3])$" } diff --git a/schemas/iso/datetime/2019/date/week-extended.json b/schemas/iso/datetime/2019/date/week-extended.json index cf5b848f..85cb25bb 100644 --- a/schemas/iso/datetime/2019/date/week-extended.json +++ b/schemas/iso/datetime/2019/date/week-extended.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date (Extended Format)", "description": "A complete representation of a week date in extended format [YYYY][\"-\"][\"W\"][WW][\"-\"][D] where WW is the calendar week of year (01-53) and D is the calendar day of week (1-7) (§5.2.4.1 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985-W15-5", "2000-W01-1", @@ -11,6 +10,7 @@ "9999-W53-7" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}-W(0[1-9]|[1-4][0-9]|5[0-3])-[1-7]$" } diff --git a/schemas/iso/datetime/2019/date/week-reduced-basic.json b/schemas/iso/datetime/2019/date/week-reduced-basic.json index 44334522..9d1ffa91 100644 --- a/schemas/iso/datetime/2019/date/week-reduced-basic.json +++ b/schemas/iso/datetime/2019/date/week-reduced-basic.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date Reduced Precision (Basic Format)", "description": "A week date with reduced precision in basic format [YYYY][\"W\"][WW] where WW is the calendar week of year (01-53) (§5.2.4.2 a)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985W15", "2000W01", "2023W52", "0000W01", "9999W53" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}W(0[1-9]|[1-4][0-9]|5[0-3])$" } diff --git a/schemas/iso/datetime/2019/date/week-reduced-extended.json b/schemas/iso/datetime/2019/date/week-reduced-extended.json index ce96b2d9..5e96cb9a 100644 --- a/schemas/iso/datetime/2019/date/week-reduced-extended.json +++ b/schemas/iso/datetime/2019/date/week-reduced-extended.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Week Date Reduced Precision (Extended Format)", "description": "A week date with reduced precision in extended format [YYYY][\"-\"][\"W\"][WW] where WW is the calendar week of year (01-53) (§5.2.4.2 b)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "1985-W15", "2000-W01", "2023-W52", "0000-W01", "9999-W53" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^[0-9]{4}-W(0[1-9]|[1-4][0-9]|5[0-3])$" } diff --git a/schemas/iso/datetime/2019/duration/calendar-basic.json b/schemas/iso/datetime/2019/duration/calendar-basic.json index f29f3609..9aa488f2 100644 --- a/schemas/iso/datetime/2019/duration/calendar-basic.json +++ b/schemas/iso/datetime/2019/duration/calendar-basic.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Duration (Alternative Calendar Basic Format)", "description": "A duration in alternative basic format P[YYYYMMDD]T[HHMMSS] (§5.5.2.4)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "P00020110T223355", "P00010101T000000", "P00001231T235959" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^P(?:[0-9]{4}|[+-][0-9]{5,})(?:(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|(0[469]|11)(0[1-9]|[12][0-9]|30)|02(0[1-9]|1[0-9]|2[0-9]))T(?:[01][0-9]|2[0-3])(?:[0-5][0-9])(?:[0-5][0-9])$" } diff --git a/schemas/iso/datetime/2019/duration/calendar-extended.json b/schemas/iso/datetime/2019/duration/calendar-extended.json index 8032b7de..2dbc8c1f 100644 --- a/schemas/iso/datetime/2019/duration/calendar-extended.json +++ b/schemas/iso/datetime/2019/duration/calendar-extended.json @@ -2,13 +2,13 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Duration (Alternative Calendar Extended Format)", "description": "A duration in alternative extended format P[YYYY-MM-DD]T[HH:MM:SS] (§5.5.2.4)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "P0002-01-10T22:33:55", "P0001-01-01T00:00:00", "P0001-12-31T23:59:59" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^P(?:[0-9]{4}|[+-][0-9]{5,})-(?:(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|02-(0[1-9]|1[0-9]|2[0-9]))T(?:[01][0-9]|2[0-3]):(?:[0-5][0-9]):(?:[0-5][0-9])$" } diff --git a/schemas/iso/datetime/2019/duration/designator.json b/schemas/iso/datetime/2019/duration/designator.json index e09fe71a..90213d2c 100644 --- a/schemas/iso/datetime/2019/duration/designator.json +++ b/schemas/iso/datetime/2019/duration/designator.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Duration (Designator Format)", "description": "A duration in designator format P[n]Y[n]M[n]DT[n]H[n]M[n]S (§5.5.2.2, §5.5.2.3)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "P3Y6M4DT12H30M5S", "P1Y", @@ -13,6 +12,7 @@ "PT0.5H" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "allOf": [ { diff --git a/schemas/iso/datetime/2019/duration/ordinal-basic.json b/schemas/iso/datetime/2019/duration/ordinal-basic.json index 8695dc0c..a2e8a9f1 100644 --- a/schemas/iso/datetime/2019/duration/ordinal-basic.json +++ b/schemas/iso/datetime/2019/duration/ordinal-basic.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Duration (Alternative Ordinal Basic Format)", "description": "A duration in alternative basic format with ordinal date P[YYYYDDD]T[HHMMSS] (§5.5.2.4)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "P0002178T223355", "P0001001T000000", "P0001365T235959" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^P(?:[0-9]{4}|[+-][0-9]{5,})(?:0[0-9][1-9]|0[1-9][0-9]|[12][0-9]{2}|3[0-5][0-9]|36[0-6])T(?:[01][0-9]|2[0-3])(?:[0-5][0-9])(?:[0-5][0-9])$" } diff --git a/schemas/iso/datetime/2019/duration/ordinal-extended.json b/schemas/iso/datetime/2019/duration/ordinal-extended.json index 350491d6..4250ff09 100644 --- a/schemas/iso/datetime/2019/duration/ordinal-extended.json +++ b/schemas/iso/datetime/2019/duration/ordinal-extended.json @@ -2,13 +2,13 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Duration (Alternative Ordinal Extended Format)", "description": "A duration in alternative extended format with ordinal date P[YYYY-DDD]T[HH:MM:SS] (§5.5.2.4)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "P0002-178T22:33:55", "P0001-001T00:00:00", "P0001-365T23:59:59" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^P(?:[0-9]{4}|[+-][0-9]{5,})-(?:0[0-9][1-9]|0[1-9][0-9]|[12][0-9]{2}|3[0-5][0-9]|36[0-6])T(?:[01][0-9]|2[0-3]):(?:[0-5][0-9]):(?:[0-5][0-9])$" } diff --git a/schemas/iso/datetime/2019/duration/weeks.json b/schemas/iso/datetime/2019/duration/weeks.json index be2d0c89..86323790 100644 --- a/schemas/iso/datetime/2019/duration/weeks.json +++ b/schemas/iso/datetime/2019/duration/weeks.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 8601-1:2019 Duration (Weeks Format)", "description": "A duration in complete representation with weeks format P[n]W (§5.5.2.2)", - "$comment": "https://www.iso.org/standard/70907.html", "examples": [ "P10W", "P1W", "P52W", "P0W", "P1.5W" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/70907.html" ], "type": "string", "pattern": "^P[0-9]+(?:\\.[0-9]+)?W$" } diff --git a/schemas/iso/it/byte.json b/schemas/iso/it/byte.json index 248a64cc..10bb0f7b 100644 --- a/schemas/iso/it/byte.json +++ b/schemas/iso/it/byte.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO/IEC 2382:2015 Byte (2121333)", "description": "A non-negative integer representing bytes in information technology", - "$comment": "https://www.iso.org/standard/63598.html", "examples": [ 0, 1024, 1048576 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/63598.html" ], "type": "integer", "minimum": 0 } diff --git a/schemas/iso/units/percentage.json b/schemas/iso/units/percentage.json index 70d2c37f..23121251 100644 --- a/schemas/iso/units/percentage.json +++ b/schemas/iso/units/percentage.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ISO 80000-1:2022 Percentage", "description": "A numeric percentage value between 0 and 100", - "$comment": "https://www.iso.org/standard/76921.html", "examples": [ 0, 50, 100 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.iso.org/standard/76921.html" ], "type": "number", "maximum": 100, "minimum": 0 diff --git a/schemas/jsonrpc/v2.0/batch-request.json b/schemas/jsonrpc/v2.0/batch-request.json index 002e581d..d3d15b9d 100644 --- a/schemas/jsonrpc/v2.0/batch-request.json +++ b/schemas/jsonrpc/v2.0/batch-request.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Batch Request", "description": "An array of request objects sent to the server in a single batch", - "$comment": "https://www.jsonrpc.org/specification#batch", "examples": [ [ { @@ -46,6 +45,7 @@ ] ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#batch" ], "type": "array", "minItems": 1, "items": { diff --git a/schemas/jsonrpc/v2.0/batch-response.json b/schemas/jsonrpc/v2.0/batch-response.json index 87e81815..4bce5f09 100644 --- a/schemas/jsonrpc/v2.0/batch-response.json +++ b/schemas/jsonrpc/v2.0/batch-response.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Batch Response", "description": "An array of response objects returned by the server in response to a batch request", - "$comment": "https://www.jsonrpc.org/specification#batch", "examples": [ [ { @@ -45,6 +44,7 @@ ] ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#batch" ], "type": "array", "minItems": 1, "items": { diff --git a/schemas/jsonrpc/v2.0/code-predefined.json b/schemas/jsonrpc/v2.0/code-predefined.json index f67ba338..54707339 100644 --- a/schemas/jsonrpc/v2.0/code-predefined.json +++ b/schemas/jsonrpc/v2.0/code-predefined.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Predefined Error Code", "description": "An error code from the predefined range reserved by the JSON-RPC 2.0 specification", - "$comment": "https://www.jsonrpc.org/specification#error_object", "examples": [ -32700, -32600, -32601, -32602, -32603, -32000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#error_object" ], "type": "integer", "anyOf": [ { diff --git a/schemas/jsonrpc/v2.0/code.json b/schemas/jsonrpc/v2.0/code.json index d0cc1ad7..41e96d2c 100644 --- a/schemas/jsonrpc/v2.0/code.json +++ b/schemas/jsonrpc/v2.0/code.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Error Code", "description": "A number that indicates the error type that occurred", - "$comment": "https://www.jsonrpc.org/specification#error_object", "examples": [ -32700, -32600, -32601, -32000, 100, -1 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#error_object" ], "anyOf": [ { "$ref": "./code-predefined.json" diff --git a/schemas/jsonrpc/v2.0/error.json b/schemas/jsonrpc/v2.0/error.json index f8be2e91..00c682e2 100644 --- a/schemas/jsonrpc/v2.0/error.json +++ b/schemas/jsonrpc/v2.0/error.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Error Object", "description": "An object that describes an error that occurred during the request", - "$comment": "https://www.jsonrpc.org/specification#error_object", "examples": [ { "code": -32600, @@ -21,6 +20,7 @@ } ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#error_object" ], "type": "object", "required": [ "code", "message" ], "properties": { diff --git a/schemas/jsonrpc/v2.0/identifier.json b/schemas/jsonrpc/v2.0/identifier.json index e8a3978e..1bea8310 100644 --- a/schemas/jsonrpc/v2.0/identifier.json +++ b/schemas/jsonrpc/v2.0/identifier.json @@ -2,8 +2,8 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Identifier", "description": "An identifier established by the client that must be matched in the response if included in a request", - "$comment": "https://www.jsonrpc.org/specification#request_object", "examples": [ "abc123", 42, null, "request-1" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#request_object" ], "type": [ "string", "integer", "null" ] } diff --git a/schemas/jsonrpc/v2.0/method-internal.json b/schemas/jsonrpc/v2.0/method-internal.json index ba86dfa6..6c89d7a1 100644 --- a/schemas/jsonrpc/v2.0/method-internal.json +++ b/schemas/jsonrpc/v2.0/method-internal.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Internal Method Name", "description": "A method name reserved for system extensions that begins with the prefix 'rpc.'", - "$comment": "https://www.jsonrpc.org/specification#request_object", "examples": [ "rpc.discover", "rpc.introspect", "rpc.system.info" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#request_object" ], "type": "string", "pattern": "^rpc\\." } diff --git a/schemas/jsonrpc/v2.0/method.json b/schemas/jsonrpc/v2.0/method.json index a65326bb..bdded5fb 100644 --- a/schemas/jsonrpc/v2.0/method.json +++ b/schemas/jsonrpc/v2.0/method.json @@ -2,9 +2,9 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Method Name", "description": "A string containing the name of the method to be invoked", - "$comment": "https://www.jsonrpc.org/specification#request_object", "examples": [ "subtract", "update", "notify_hello", "rpc.discover", "sum" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#request_object" ], "anyOf": [ { "$ref": "./method-internal.json" diff --git a/schemas/jsonrpc/v2.0/notification.json b/schemas/jsonrpc/v2.0/notification.json index 42c83866..a3d9f18f 100644 --- a/schemas/jsonrpc/v2.0/notification.json +++ b/schemas/jsonrpc/v2.0/notification.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Notification", "description": "A request object without an identifier that must not be responded to by the server", - "$comment": "https://www.jsonrpc.org/specification#notification", "examples": [ { "jsonrpc": "2.0", @@ -23,6 +22,7 @@ } ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#notification" ], "type": "object", "required": [ "jsonrpc", "method" ], "properties": { diff --git a/schemas/jsonrpc/v2.0/parameters.json b/schemas/jsonrpc/v2.0/parameters.json index 6c11d7c0..c7d68929 100644 --- a/schemas/jsonrpc/v2.0/parameters.json +++ b/schemas/jsonrpc/v2.0/parameters.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Parameter Structures", "description": "A structured value that holds the parameter values to be used during the invocation of the method", - "$comment": "https://www.jsonrpc.org/specification#parameter_structures", "examples": [ [ 42, "foo" ], { @@ -12,5 +11,6 @@ [] ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#parameter_structures" ], "type": [ "array", "object" ] } diff --git a/schemas/jsonrpc/v2.0/request.json b/schemas/jsonrpc/v2.0/request.json index aa4ccab5..b0669b75 100644 --- a/schemas/jsonrpc/v2.0/request.json +++ b/schemas/jsonrpc/v2.0/request.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Request Object", "description": "An object that represents a call to a method on the server", - "$comment": "https://www.jsonrpc.org/specification#request_object", "examples": [ { "id": 1, @@ -27,6 +26,7 @@ } ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#request_object" ], "type": "object", "required": [ "jsonrpc", "method", "id" ], "properties": { diff --git a/schemas/jsonrpc/v2.0/response.json b/schemas/jsonrpc/v2.0/response.json index d2e51083..d2808372 100644 --- a/schemas/jsonrpc/v2.0/response.json +++ b/schemas/jsonrpc/v2.0/response.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON-RPC 2.0 Response Object", "description": "An object that represents the result of a method invocation on the server", - "$comment": "https://www.jsonrpc.org/specification#response_object", "examples": [ { "id": 1, @@ -24,6 +23,7 @@ } ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.jsonrpc.org/specification#response_object" ], "type": "object", "anyOf": [ { diff --git a/schemas/jsonschema/schema-like.json b/schemas/jsonschema/schema-like.json index 2817ecba..7ca0507d 100644 --- a/schemas/jsonschema/schema-like.json +++ b/schemas/jsonschema/schema-like.json @@ -2,7 +2,6 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "JSON Schema Document", "description": "A JSON document that is considered to be a potentially valid JSON Schema", - "$comment": "https://json-schema.org/draft/2020-12/json-schema-core#name-json-schema-documents", "examples": [ true, false, @@ -11,5 +10,8 @@ } ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ + "https://json-schema.org/draft/2020-12/json-schema-core#name-json-schema-documents" + ], "type": [ "object", "boolean" ] }