Skip to content

Commit 29965c0

Browse files
authored
Merge pull request #873 from jdesrosiers/fix-v1-meta-schema-ref
Remove meta-schema tests
2 parents 3b08f79 + 3181cef commit 29965c0

2 files changed

Lines changed: 3 additions & 39 deletions

File tree

tests/v1/defs.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/v1/ref.json

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -185,17 +185,17 @@
185185
"description": "remote ref, containing refs itself",
186186
"schema": {
187187
"$schema": "https://json-schema.org/v1",
188-
"$ref": "https://json-schema.org/v1"
188+
"$ref": "http://localhost:1234/v1/ref-and-defs"
189189
},
190190
"tests": [
191191
{
192192
"description": "remote ref valid",
193-
"data": {"minLength": 1},
193+
"data": { "bar": "" },
194194
"valid": true
195195
},
196196
{
197197
"description": "remote ref invalid",
198-
"data": {"minLength": -1},
198+
"data": { "bar": 0 },
199199
"valid": false
200200
}
201201
]
@@ -824,21 +824,6 @@
824824
}
825825
]
826826
},
827-
{
828-
"description": "URN base URI with f-component",
829-
"schema": {
830-
"$schema": "https://json-schema.org/v1",
831-
"$comment": "RFC 8141 §2.3.3, but we don't allow fragments",
832-
"$ref": "https://json-schema.org/v1"
833-
},
834-
"tests": [
835-
{
836-
"description": "is invalid",
837-
"data": {"$id": "urn:example:foo-bar-baz-qux#somepart"},
838-
"valid": false
839-
}
840-
]
841-
},
842827
{
843828
"description": "URN base URI with URN and JSON pointer ref",
844829
"schema": {

0 commit comments

Comments
 (0)