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

     1  #strictKeywords
     2  
     3  Note: keywords alongside $ref are ignored until 2019-09
     4  
     5  -- schema.json --
     6  {
     7    "$schema": "http://json-schema.org/draft-07/schema#",
     8    "$id": "https://foo.example/bar",
     9    "$ref": "https://other.example"
    10  }
    11  -- out/decode/extract --
    12  ERROR:
    13  ignoring keyword "$id" alongside $ref:
    14      schema.json:3:3