cuelang.org/go@v0.13.0/encoding/jsonschema/testdata/external/tests/draft2020-12/optional/cross-draft.json (about) 1 [ 2 { 3 "description": "refs to historic drafts are processed as historic drafts", 4 "schema": { 5 "$schema": "https://json-schema.org/draft/2020-12/schema", 6 "type": "array", 7 "$ref": "http://localhost:1234/draft2019-09/ignore-prefixItems.json" 8 }, 9 "skip": { 10 "v2": "extract error: cannot compile resulting schema: invalid import path: \"localhost:1234/draft2019-09/ignore-prefixItems.json:schema\":\n generated.cue:1:8\n", 11 "v3": "extract error: cannot compile resulting schema: invalid import path: \"localhost:1234/draft2019-09/ignore-prefixItems.json:schema\":\n generated.cue:1:8\n" 12 }, 13 "tests": [ 14 { 15 "description": "first item not a string is valid", 16 "comment": "if the implementation is not processing the $ref as a 2019-09 schema, this test will fail", 17 "data": [ 18 1, 19 2, 20 3 21 ], 22 "valid": true, 23 "skip": { 24 "v2": "could not compile schema", 25 "v3": "could not compile schema" 26 } 27 } 28 ] 29 } 30 ]