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

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