Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions tests/v1/defs.json

This file was deleted.

21 changes: 3 additions & 18 deletions tests/v1/ref.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,17 @@
"description": "remote ref, containing refs itself",
"schema": {
"$schema": "https://json-schema.org/v1",
"$ref": "https://json-schema.org/v1"
"$ref": "http://localhost:1234/v1/ref-and-defs"
},
"tests": [
{
"description": "remote ref valid",
"data": {"minLength": 1},
"data": { "bar": "" },
"valid": true
},
{
"description": "remote ref invalid",
"data": {"minLength": -1},
"data": { "bar": 0 },
"valid": false
}
]
Expand Down Expand Up @@ -824,21 +824,6 @@
}
]
},
{
"description": "URN base URI with f-component",
"schema": {
"$schema": "https://json-schema.org/v1",
"$comment": "RFC 8141 §2.3.3, but we don't allow fragments",
"$ref": "https://json-schema.org/v1"
},
"tests": [
{
"description": "is invalid",
"data": {"$id": "urn:example:foo-bar-baz-qux#somepart"},
"valid": false
}
]
},
{
"description": "URN base URI with URN and JSON pointer ref",
"schema": {
Expand Down
Loading