From bf925e64ddd7575170ed8e4d2f56556e1d6ec418 Mon Sep 17 00:00:00 2001 From: Nikita Skovoroda Date: Wed, 9 Aug 2023 01:58:40 +0300 Subject: [PATCH] doc: update generated testsuite samples --- doc/samples/draft-next/anchor.md | 2 +- doc/samples/draft-next/dynamicRef.md | 8 ++++---- doc/samples/draft-next/id.md | 2 +- doc/samples/draft-next/items.md | 2 +- doc/samples/draft-next/ref.md | 26 +++++++++++++------------- doc/samples/draft2019-09/anchor.md | 2 +- doc/samples/draft2019-09/id.md | 2 +- doc/samples/draft2019-09/items.md | 2 +- doc/samples/draft2019-09/ref.md | 26 +++++++++++++------------- doc/samples/draft2020-12/anchor.md | 2 +- doc/samples/draft2020-12/dynamicRef.md | 14 +++++++------- doc/samples/draft2020-12/id.md | 2 +- doc/samples/draft2020-12/items.md | 2 +- doc/samples/draft2020-12/ref.md | 26 +++++++++++++------------- doc/samples/draft4/id.md | 2 +- doc/samples/draft4/items.md | 2 +- doc/samples/draft4/ref.md | 2 +- doc/samples/draft6/id.md | 2 +- doc/samples/draft6/items.md | 2 +- doc/samples/draft6/ref.md | 16 ++++++++-------- doc/samples/draft7/id.md | 2 +- doc/samples/draft7/items.md | 2 +- doc/samples/draft7/ref.md | 16 ++++++++-------- 23 files changed, 82 insertions(+), 82 deletions(-) diff --git a/doc/samples/draft-next/anchor.md b/doc/samples/draft-next/anchor.md index 3e22a14..46afa68 100644 --- a/doc/samples/draft-next/anchor.md +++ b/doc/samples/draft-next/anchor.md @@ -177,7 +177,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://localhost:1234/draft-next/child1#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing an $anchor property diff --git a/doc/samples/draft-next/dynamicRef.md b/doc/samples/draft-next/dynamicRef.md index f3311e4..c1d4465 100644 --- a/doc/samples/draft-next/dynamicRef.md +++ b/doc/samples/draft-next/dynamicRef.md @@ -39,7 +39,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#` + * `[requireValidation] type should be specified at #/items` ## A $ref to a $dynamicAnchor in the same schema resource behaves like a normal $ref to an $anchor @@ -78,7 +78,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/items` ## A $dynamicRef resolves to the first $dynamicAnchor still in scope that is encountered when the schema is evaluated @@ -240,7 +240,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-resolution-ignores-anchors/list#` + * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-resolution-ignores-anchors/root#/items` ## A $dynamicRef that initially resolves to a schema with a matching $dynamicAnchor resolves to the first $dynamicAnchor in the dynamic scope @@ -494,7 +494,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#` + * `[requireValidation] type should be specified at #` ## strict-tree schema, guards against misspelled properties diff --git a/doc/samples/draft-next/id.md b/doc/samples/draft-next/id.md index b281ef5..1bfe132 100644 --- a/doc/samples/draft-next/id.md +++ b/doc/samples/draft-next/id.md @@ -1356,7 +1356,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://localhost:1234/draft-next/id/my_identifier.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing an $id property diff --git a/doc/samples/draft-next/items.md b/doc/samples/draft-next/items.md index 129cff0..f367ee2 100644 --- a/doc/samples/draft-next/items.md +++ b/doc/samples/draft-next/items.md @@ -147,7 +147,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #` + * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #/0` ## nested items diff --git a/doc/samples/draft-next/ref.md b/doc/samples/draft-next/ref.md index 8ae27bb..baa13e3 100644 --- a/doc/samples/draft-next/ref.md +++ b/doc/samples/draft-next/ref.md @@ -240,7 +240,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] items rule should be specified at #` + * `[requireValidation] items rule should be specified at #/properties/foo` ## remote ref, containing refs itself @@ -736,7 +736,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/$ref` ## $ref to boolean schema true @@ -927,7 +927,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/prop1` ## naive replacement of $ref with its destination is not correct @@ -1134,7 +1134,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://example.com/draft/next/ref-and-id1/base.json#` + * `[requireValidation] type should be specified at #` ## order of evaluation: $id and $anchor and $ref @@ -1181,7 +1181,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://example.com/draft/next/ref-and-id2/base.json#` + * `[requireValidation] type should be specified at #` ## simple URN base URI with $ref via the URN @@ -1258,7 +1258,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with NSS @@ -1296,7 +1296,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:1/406/47452/2#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with r-component @@ -1334,7 +1334,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with q-component @@ -1372,7 +1372,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with f-component @@ -1847,7 +1847,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and anchor ref @@ -1886,7 +1886,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN ref with nested pointer ref @@ -1927,7 +1927,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## ref to if @@ -2061,7 +2061,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://example.com/ref/absref.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## $id with file URI still resolves pointers - *nix diff --git a/doc/samples/draft2019-09/anchor.md b/doc/samples/draft2019-09/anchor.md index 429ba6f..02a1098 100644 --- a/doc/samples/draft2019-09/anchor.md +++ b/doc/samples/draft2019-09/anchor.md @@ -177,7 +177,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://localhost:1234/draft2019-09/child1#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing an $anchor property diff --git a/doc/samples/draft2019-09/id.md b/doc/samples/draft2019-09/id.md index 3fcd018..79018fd 100644 --- a/doc/samples/draft2019-09/id.md +++ b/doc/samples/draft2019-09/id.md @@ -1272,7 +1272,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://localhost:1234/draft2019-09/id/my_identifier.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing an $id property diff --git a/doc/samples/draft2019-09/items.md b/doc/samples/draft2019-09/items.md index b5bdb8d..083ba35 100644 --- a/doc/samples/draft2019-09/items.md +++ b/doc/samples/draft2019-09/items.md @@ -206,7 +206,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #` + * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #/0` ## nested items diff --git a/doc/samples/draft2019-09/ref.md b/doc/samples/draft2019-09/ref.md index c6fb96a..ab4a286 100644 --- a/doc/samples/draft2019-09/ref.md +++ b/doc/samples/draft2019-09/ref.md @@ -240,7 +240,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] items rule should be specified at #` + * `[requireValidation] items rule should be specified at #/properties/foo` ## remote ref, containing refs itself @@ -708,7 +708,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/$ref` ## $ref to boolean schema true @@ -899,7 +899,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/prop1` ## naive replacement of $ref with its destination is not correct @@ -1106,7 +1106,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://example.com/draft2019-09/ref-and-id1/base.json#` + * `[requireValidation] type should be specified at #` ## order of evaluation: $id and $anchor and $ref @@ -1153,7 +1153,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://example.com/draft2019-09/ref-and-id2/base.json#` + * `[requireValidation] type should be specified at #` ## simple URN base URI with $ref via the URN @@ -1230,7 +1230,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with NSS @@ -1268,7 +1268,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:1/406/47452/2#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with r-component @@ -1306,7 +1306,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with q-component @@ -1344,7 +1344,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with f-component @@ -1791,7 +1791,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and anchor ref @@ -1830,7 +1830,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN ref with nested pointer ref @@ -1871,7 +1871,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## ref to if @@ -2005,7 +2005,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://example.com/ref/absref.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## $id with file URI still resolves pointers - *nix diff --git a/doc/samples/draft2020-12/anchor.md b/doc/samples/draft2020-12/anchor.md index 125a074..18de8d2 100644 --- a/doc/samples/draft2020-12/anchor.md +++ b/doc/samples/draft2020-12/anchor.md @@ -177,7 +177,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://localhost:1234/draft2020-12/child1#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing an $anchor property diff --git a/doc/samples/draft2020-12/dynamicRef.md b/doc/samples/draft2020-12/dynamicRef.md index 56b36ef..6bb5be4 100644 --- a/doc/samples/draft2020-12/dynamicRef.md +++ b/doc/samples/draft2020-12/dynamicRef.md @@ -39,7 +39,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#` + * `[requireValidation] type should be specified at #/items` ## A $dynamicRef to an $anchor in the same schema resource behaves like a normal $ref to an $anchor @@ -118,7 +118,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/items` ## A $dynamicRef resolves to the first $dynamicAnchor still in scope that is encountered when the schema is evaluated @@ -181,7 +181,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/typical-dynamic-resolution/root#` + * `[requireValidation] type should be specified at https://test.json-schema.org/typical-dynamic-resolution/root#/items` ## A $dynamicRef without anchor in fragment behaves identical to $ref @@ -314,7 +314,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#` + * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/items` ## An $anchor with the same name as a $dynamicAnchor is not used for dynamic scope resolution @@ -372,7 +372,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-resolution-ignores-anchors/list#` + * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-resolution-ignores-anchors/root#/items` ## A $dynamicRef without a matching $dynamicAnchor in the same schema resource behaves like a normal $ref to $anchor @@ -741,7 +741,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#` + * `[requireValidation] type should be specified at https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/properties/list/items` ## after leaving a dynamic scope, it is not used by a $dynamicRef @@ -830,7 +830,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#` + * `[requireValidation] type should be specified at #` ## strict-tree schema, guards against misspelled properties diff --git a/doc/samples/draft2020-12/id.md b/doc/samples/draft2020-12/id.md index 0e6a73c..1e33550 100644 --- a/doc/samples/draft2020-12/id.md +++ b/doc/samples/draft2020-12/id.md @@ -1356,7 +1356,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://localhost:1234/draft2020-12/id/my_identifier.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing an $id property diff --git a/doc/samples/draft2020-12/items.md b/doc/samples/draft2020-12/items.md index 129cff0..f367ee2 100644 --- a/doc/samples/draft2020-12/items.md +++ b/doc/samples/draft2020-12/items.md @@ -147,7 +147,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #` + * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #/0` ## nested items diff --git a/doc/samples/draft2020-12/ref.md b/doc/samples/draft2020-12/ref.md index 2a7a73d..3a1b8e3 100644 --- a/doc/samples/draft2020-12/ref.md +++ b/doc/samples/draft2020-12/ref.md @@ -240,7 +240,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] items rule should be specified at #` + * `[requireValidation] items rule should be specified at #/properties/foo` ## remote ref, containing refs itself @@ -736,7 +736,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/$ref` ## $ref to boolean schema true @@ -927,7 +927,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/prop1` ## naive replacement of $ref with its destination is not correct @@ -1134,7 +1134,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://example.com/draft2020-12/ref-and-id1/base.json#` + * `[requireValidation] type should be specified at #` ## order of evaluation: $id and $anchor and $ref @@ -1181,7 +1181,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] type should be specified at https://example.com/draft2020-12/ref-and-id2/base.json#` + * `[requireValidation] type should be specified at #` ## simple URN base URI with $ref via the URN @@ -1258,7 +1258,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with NSS @@ -1296,7 +1296,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:1/406/47452/2#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with r-component @@ -1334,7 +1334,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with q-component @@ -1372,7 +1372,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with f-component @@ -1847,7 +1847,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and anchor ref @@ -1886,7 +1886,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN ref with nested pointer ref @@ -1927,7 +1927,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## ref to if @@ -2061,7 +2061,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://example.com/ref/absref.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## $id with file URI still resolves pointers - *nix diff --git a/doc/samples/draft4/id.md b/doc/samples/draft4/id.md index 1d9cb1b..c44fd6e 100644 --- a/doc/samples/draft4/id.md +++ b/doc/samples/draft4/id.md @@ -62,5 +62,5 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://localhost:1234/my_identifier.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` diff --git a/doc/samples/draft4/items.md b/doc/samples/draft4/items.md index dfbd428..4705b3c 100644 --- a/doc/samples/draft4/items.md +++ b/doc/samples/draft4/items.md @@ -130,7 +130,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #` + * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #/0` ## nested items diff --git a/doc/samples/draft4/ref.md b/doc/samples/draft4/ref.md index a4077cb..a080033 100644 --- a/doc/samples/draft4/ref.md +++ b/doc/samples/draft4/ref.md @@ -639,7 +639,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/$ref` ## Recursive references between schemas diff --git a/doc/samples/draft6/id.md b/doc/samples/draft6/id.md index df87a42..d7e2030 100644 --- a/doc/samples/draft6/id.md +++ b/doc/samples/draft6/id.md @@ -65,7 +65,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://localhost:1234/id/my_identifier.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing a plain-name $id property diff --git a/doc/samples/draft6/items.md b/doc/samples/draft6/items.md index 4002db9..99b842a 100644 --- a/doc/samples/draft6/items.md +++ b/doc/samples/draft6/items.md @@ -209,7 +209,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #` + * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #/0` ## nested items diff --git a/doc/samples/draft6/ref.md b/doc/samples/draft6/ref.md index 7a6bab6..1e31b7a 100644 --- a/doc/samples/draft6/ref.md +++ b/doc/samples/draft6/ref.md @@ -635,7 +635,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/$ref` ## $ref to boolean schema true @@ -1086,7 +1086,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with NSS @@ -1124,7 +1124,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:1/406/47452/2#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with r-component @@ -1162,7 +1162,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with q-component @@ -1200,7 +1200,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and JSON pointer ref @@ -1241,7 +1241,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and anchor ref @@ -1280,7 +1280,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## ref with absolute-path-reference @@ -1318,7 +1318,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://example.com/ref/absref.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## $id with file URI still resolves pointers - *nix diff --git a/doc/samples/draft7/id.md b/doc/samples/draft7/id.md index dacdd3b..42032a7 100644 --- a/doc/samples/draft7/id.md +++ b/doc/samples/draft7/id.md @@ -65,7 +65,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at https://localhost:1234/id/my_identifier.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## non-schema object containing a plain-name $id property diff --git a/doc/samples/draft7/items.md b/doc/samples/draft7/items.md index 4002db9..99b842a 100644 --- a/doc/samples/draft7/items.md +++ b/doc/samples/draft7/items.md @@ -209,7 +209,7 @@ return ref0 ##### Strong mode notices - * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #` + * `[requireValidation] additionalProperties or unevaluatedProperties should be specified at #/0` ## nested items diff --git a/doc/samples/draft7/ref.md b/doc/samples/draft7/ref.md index fe35e70..359e441 100644 --- a/doc/samples/draft7/ref.md +++ b/doc/samples/draft7/ref.md @@ -662,7 +662,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/$ref` ## $ref to boolean schema true @@ -1146,7 +1146,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with NSS @@ -1184,7 +1184,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:1/406/47452/2#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with r-component @@ -1222,7 +1222,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with q-component @@ -1260,7 +1260,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and JSON pointer ref @@ -1301,7 +1301,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## URN base URI with URN and anchor ref @@ -1340,7 +1340,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #/properties/foo` ## ref to if @@ -1480,7 +1480,7 @@ return ref0 ##### Strong mode notices - * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at http://example.com/ref/absref.json#` + * `[requireStringValidation] pattern, format or contentSchema should be specified for strings, use pattern: ^[\s\S]*$ to opt-out at #` ## $id with file URI still resolves pointers - *nix