summaryrefslogtreecommitdiff
path: root/json/tests/draft7/refRemote.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft7/refRemote.json')
-rw-r--r--json/tests/draft7/refRemote.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/json/tests/draft7/refRemote.json b/json/tests/draft7/refRemote.json
index a2221b2..3b5a7fb 100644
--- a/json/tests/draft7/refRemote.json
+++ b/json/tests/draft7/refRemote.json
@@ -192,5 +192,23 @@
"valid": true
}
]
+ },
+ {
+ "description": "Location-independent identifier in remote ref",
+ "schema": {
+ "$ref": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/refToInteger"
+ },
+ "tests": [
+ {
+ "description": "integer is valid",
+ "data": 1,
+ "valid": true
+ },
+ {
+ "description": "string is invalid",
+ "data": "foo",
+ "valid": false
+ }
+ ]
}
]