summaryrefslogtreecommitdiff
path: root/json/remotes
diff options
context:
space:
mode:
Diffstat (limited to 'json/remotes')
-rw-r--r--json/remotes/different-id-ref-string.json5
-rw-r--r--json/remotes/nested-absolute-ref-to-string.json9
-rw-r--r--json/remotes/urn-ref-string.json5
3 files changed, 19 insertions, 0 deletions
diff --git a/json/remotes/different-id-ref-string.json b/json/remotes/different-id-ref-string.json
new file mode 100644
index 0000000..7f88860
--- /dev/null
+++ b/json/remotes/different-id-ref-string.json
@@ -0,0 +1,5 @@
+{
+ "$id": "http://localhost:1234/real-id-ref-string.json",
+ "$defs": {"bar": {"type": "string"}},
+ "$ref": "#/$defs/bar"
+}
diff --git a/json/remotes/nested-absolute-ref-to-string.json b/json/remotes/nested-absolute-ref-to-string.json
new file mode 100644
index 0000000..f46c761
--- /dev/null
+++ b/json/remotes/nested-absolute-ref-to-string.json
@@ -0,0 +1,9 @@
+{
+ "$defs": {
+ "bar": {
+ "$id": "http://localhost:1234/the-nested-id.json",
+ "type": "string"
+ }
+ },
+ "$ref": "http://localhost:1234/the-nested-id.json"
+}
diff --git a/json/remotes/urn-ref-string.json b/json/remotes/urn-ref-string.json
new file mode 100644
index 0000000..aca2211
--- /dev/null
+++ b/json/remotes/urn-ref-string.json
@@ -0,0 +1,5 @@
+{
+ "$id": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef",
+ "$defs": {"bar": {"type": "string"}},
+ "$ref": "#/$defs/bar"
+}