go-sdk/jsonschema/testdata/remotes/nested-absolute-ref-to-string.json
Jonathan Amsterdam 895b927ee8 jsonschema: resolve remote references
Support remote references.
Most of the machinery was in place; we just had to define the
right loader, copy files from the test repo, and download
the meta-schema files from json-schema.org.

Change-Id: Ib588200ef0fa483641b9b53f9904f53b39dc4b82
Reviewed-on: https://go-review.googlesource.com/c/tools/+/670795
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2025-05-13 11:46:13 -07:00

9 lines
200 B
JSON

{
"$defs": {
"bar": {
"$id": "http://localhost:1234/the-nested-id.json",
"type": "string"
}
},
"$ref": "http://localhost:1234/the-nested-id.json"
}