Skip to content

Commit c7b264e

Browse files
authored
Correct URL to jsonschema-validation-output-machines.md documentation (#1121)
1 parent 37bb509 commit c7b264e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/upgrading.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ This contains a breaking change in that the results from `failFast` are no longe
145145

146146
* Annotation collection and reporting has been implemented
147147
* Keywords have been refactored to use annotations for evaluation to improve performance and meet functional requirements
148-
* The list and hierarchical output formats have been implemented as per the [Specification for Machine-Readable Output for JSON Schema Validation and Annotation](https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md).
148+
* The list and hierarchical output formats have been implemented as per the [Specification for Machine-Readable Output for JSON Schema Validation and Annotation](https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md).
149149
* The fail fast evaluation processing has been redesigned and fixed. This currently passes the [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite) with fail fast enabled. Previously contains and union type may cause incorrect results.
150150
* This also contains fixes for regressions introduced in 1.3.0
151151

@@ -237,7 +237,7 @@ This can be changed by using a custom meta schema with the relevant `$vocabulary
237237
### 1.2.0
238238

239239
The following are a summary of the changes
240-
* Paths are now specified using the `JsonNodePath`. The paths are `instanceLocation`, `schemaLocation` and `evaluationPath`. The meaning of these paths are as defined in the [specification](https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md).
240+
* Paths are now specified using the `JsonNodePath`. The paths are `instanceLocation`, `schemaLocation` and `evaluationPath`. The meaning of these paths are as defined in the [specification](https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md).
241241
* Schema Location comprises an absolute IRI component and a fragment that is a `JsonNodePath` that is typically a JSON pointer
242242
* Rename `at` to `instanceLocation`. Note that for the `required` validator the error message `instanceLocation` does not point to the missing property to be consistent with the [specification](https://json-schema.org/draft/2020-12/json-schema-core#section-12.4.2). The `ValidationMessage` now contains a `property` attribute if this is required.
243243
* Rename `schemaPath` to `schemaLocation`. This should generally be an absolute IRI with a fragment particularly in later drafts.

src/main/java/com/networknt/schema/ValidationMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* The output format.
3737
*
3838
* @see <a href=
39-
* "https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md">JSON
39+
* "https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md">JSON
4040
* Schema</a>
4141
*/
4242
@JsonIgnoreProperties({ "messageSupplier", "schemaNode", "instanceNode", "valid", "error" })

src/main/java/com/networknt/schema/output/OutputUnit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Represents an output unit.
3030
*
3131
* @see <a href=
32-
* "https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md">A
32+
* "https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md">A
3333
* Specification for Machine-Readable Output for JSON Schema Validation and
3434
* Annotation</a>
3535
*/

src/test/java/com/networknt/schema/OutputUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* OutputUnitTest.
3838
*
3939
* @see <a href=
40-
* "https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md">A
40+
* "https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md">A
4141
* Specification for Machine-Readable Output for JSON Schema Validation and
4242
* Annotation</a>
4343
*/

0 commit comments

Comments
 (0)