-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'JSON-Schema-Test-Suite/' changes from 0f888a8..689d2f2
689d2f2 Add a 'latest' symlink. e26d9bc Move the anchor-related tests to an anchor file. 19e7dfe Change location-independent IDs to use $anchor. 4e6c78b Make the draft3 ECMA regex tests consistently named. 433ab2f Merge pull request #286 from Zac-HD/not-patterns dbaa3aa Fix data - escape unicode, not regex pattern 2d55450 Merge pull request #284 from Zac-HD/newlines c8f8789 Add trailine-newline tests for $ pattern 586515e Bump up the length of acceptable descriptions. 0518c65 Merge remote-tracking branch 'Zac-HD/ecma-regex' c0b2431 Tests for ECMA 262 regex dialect b6f79ee Merge pull request #281 from Zac-HD/unique-array-of-items 7c20615 Check uniqueItems with array items 2ebedeb Regenerate the remotes [just for trailing newlines essentially.] 98bb02a Output the trailing newline. 3f44bc7 Uh, this actually should be a native string. f7cc4cb Sanity check on a non-dying Python. 2903943 Merge pull request #277 from json-schema-org/non-string-formats 95425df Move tests for builtin formats ignoring non-strings upstream. aa71850 Merge pull request #278 from gregsdennis/master 4b63803 updated 2019-09 references to correct schema uri 8656a71 moved 2019-08 tests to 2019-09; fixed a few 2019-06 $refs git-subtree-dir: JSON-Schema-Test-Suite git-subtree-split: 689d2f28182720d3778ca91c149f725a6ce73f71
- Loading branch information
David Harsha
committed
Oct 20, 2019
1 parent
cc74ff6
commit 5519c42
Showing
79 changed files
with
3,485 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"type": "integer" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"type": "integer" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"integer": { | ||
"type": "integer" | ||
}, | ||
}, | ||
"refToInteger": { | ||
"$ref": "#/integer" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
[ | ||
{ | ||
"description": "Location-independent identifier", | ||
"schema": { | ||
"allOf": [{ | ||
"$ref": "#foo" | ||
}], | ||
"$defs": { | ||
"A": { | ||
"$anchor": "foo", | ||
"type": "integer" | ||
} | ||
} | ||
}, | ||
"tests": [ | ||
{ | ||
"data": 1, | ||
"description": "match", | ||
"valid": true | ||
}, | ||
{ | ||
"data": "a", | ||
"description": "mismatch", | ||
"valid": false | ||
} | ||
] | ||
}, | ||
{ | ||
"description": "Location-independent identifier with absolute URI", | ||
"schema": { | ||
"allOf": [{ | ||
"$ref": "http://localhost:1234/bar#foo" | ||
}], | ||
"$defs": { | ||
"A": { | ||
"$id": "http://localhost:1234/bar", | ||
"$anchor": "foo", | ||
"type": "integer" | ||
} | ||
} | ||
}, | ||
"tests": [ | ||
{ | ||
"data": 1, | ||
"description": "match", | ||
"valid": true | ||
}, | ||
{ | ||
"data": "a", | ||
"description": "mismatch", | ||
"valid": false | ||
} | ||
] | ||
}, | ||
{ | ||
"description": "Location-independent identifier with base URI change in subschema", | ||
"schema": { | ||
"$id": "http://localhost:1234/root", | ||
"allOf": [{ | ||
"$ref": "http://localhost:1234/nested.json#foo" | ||
}], | ||
"$defs": { | ||
"A": { | ||
"$id": "nested.json", | ||
"$defs": { | ||
"B": { | ||
"$anchor": "foo", | ||
"type": "integer" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"tests": [ | ||
{ | ||
"data": 1, | ||
"description": "match", | ||
"valid": true | ||
}, | ||
{ | ||
"data": "a", | ||
"description": "mismatch", | ||
"valid": false | ||
} | ||
] | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.