cuelang.org/go@v0.10.1/encoding/jsonschema/testdata/oldid_newversion.txtar (about)

     1  #strict
     2  -- definition.json --
     3  {
     4    "$schema": "http://json-schema.org/draft-07/schema#",
     5    "id": "http://example.test",
     6    "type": "string"
     7  }
     8  -- out/decode/err --
     9  use of old-style id field not allowed in schema version http://json-schema.org/draft-07/schema#:
    10      definition.json:3:3