summaryrefslogtreecommitdiff
path: root/json/tests/draft6/refRemote.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft6/refRemote.json')
-rw-r--r--json/tests/draft6/refRemote.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/json/tests/draft6/refRemote.json b/json/tests/draft6/refRemote.json
index 74a7862..9d8057b 100644
--- a/json/tests/draft6/refRemote.json
+++ b/json/tests/draft6/refRemote.json
@@ -167,5 +167,28 @@
"valid": false
}
]
+ },
+ {
+ "description": "remote ref with ref to definitions",
+ "schema": {
+ "$id": "http://localhost:1234/schema-remote-ref-ref-defs1.json",
+ "$ref": "ref-and-definitions.json"
+ },
+ "tests": [
+ {
+ "description": "invalid",
+ "data": {
+ "bar": 1
+ },
+ "valid": false
+ },
+ {
+ "description": "valid",
+ "data": {
+ "bar": "a"
+ },
+ "valid": true
+ }
+ ]
}
]