Skip to content

Commit

Permalink
doc: update generated testsuite samples
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR committed Aug 9, 2023
1 parent 5da312c commit bf925e6
Show file tree
Hide file tree
Showing 23 changed files with 82 additions and 82 deletions.
2 changes: 1 addition & 1 deletion doc/samples/draft-next/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions doc/samples/draft-next/dynamicRef.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/draft-next/id.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/draft-next/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 13 additions & 13 deletions doc/samples/draft-next/ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/draft2019-09/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/draft2019-09/id.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/draft2019-09/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 13 additions & 13 deletions doc/samples/draft2019-09/ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/samples/draft2020-12/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions doc/samples/draft2020-12/dynamicRef.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit bf925e6

Please sign in to comment.