cuelang.org/go@v0.13.0/encoding/jsonschema/testdata/txtar/extrafragment_version.txtar (about) 1 // This tests that we can use an ID with an empty fragment that's 2 // not present in the canonical URI. 3 -- schema.json -- 4 { 5 "$schema": "https://json-schema.org/draft/2019-09/schema#", 6 "$id": "http://example.test", 7 "type": "string" 8 } 9 -- out/decode/extract -- 10 @jsonschema(schema="https://json-schema.org/draft/2019-09/schema") 11 @jsonschema(id="http://example.test") 12 string