diff options
Diffstat (limited to 'json/tests/draft2020-12/refRemote.json')
-rw-r--r-- | json/tests/draft2020-12/refRemote.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/json/tests/draft2020-12/refRemote.json b/json/tests/draft2020-12/refRemote.json index b607432..f122864 100644 --- a/json/tests/draft2020-12/refRemote.json +++ b/json/tests/draft2020-12/refRemote.json @@ -186,5 +186,23 @@ "valid": true } ] + }, + { + "description": "Location-independent identifier in remote ref", + "schema": { + "$ref": "http://localhost:1234/locationIndependentIdentifier.json#/definitions/refToInteger" + }, + "tests": [ + { + "description": "integer is valid", + "data": 1, + "valid": true + }, + { + "description": "string is invalid", + "data": "foo", + "valid": false + } + ] } ] |