Skip to content

Commit

Permalink
Correct URL to jsonschema-validation-output-machines.md documentation (
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosternl authored Oct 25, 2024
1 parent 37bb509 commit c7b264e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ This contains a breaking change in that the results from `failFast` are no longe

* Annotation collection and reporting has been implemented
* Keywords have been refactored to use annotations for evaluation to improve performance and meet functional requirements
* 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).
* 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).
* 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.
* This also contains fixes for regressions introduced in 1.3.0

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

The following are a summary of the changes
* 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).
* 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).
* Schema Location comprises an absolute IRI component and a fragment that is a `JsonNodePath` that is typically a JSON pointer
* 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.
* Rename `schemaPath` to `schemaLocation`. This should generally be an absolute IRI with a fragment particularly in later drafts.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/networknt/schema/ValidationMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* The output format.
*
* @see <a href=
* "https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md">JSON
* "https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md">JSON
* Schema</a>
*/
@JsonIgnoreProperties({ "messageSupplier", "schemaNode", "instanceNode", "valid", "error" })
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/networknt/schema/output/OutputUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* Represents an output unit.
*
* @see <a href=
* "https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md">A
* "https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md">A
* Specification for Machine-Readable Output for JSON Schema Validation and
* Annotation</a>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/networknt/schema/OutputUnitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* OutputUnitTest.
*
* @see <a href=
* "https://github.com/json-schema-org/json-schema-spec/blob/main/jsonschema-validation-output-machines.md">A
* "https://github.com/json-schema-org/json-schema-spec/blob/main/output/jsonschema-validation-output-machines.md">A
* Specification for Machine-Readable Output for JSON Schema Validation and
* Annotation</a>
*/
Expand Down

0 comments on commit c7b264e

Please sign in to comment.