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

     1  #strict
     2  -- schema.json --
     3  {
     4    "$schema": "http://json-schema.org/draft-04/schema#",
     5    "$id": "http://example.test",
     6    "type": "string"
     7  }
     8  -- out/decode/extract --
     9  ERROR:
    10  keyword "$id" is not supported in JSON schema version http://json-schema.org/draft-04/schema#:
    11      schema.json:3:3