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

     1  -- schema.json --
     2  {
     3      "anyOf": [
     4          {
     5              "type": "string",
     6              "enum": [
     7                  1,
     8                  2
     9              ]
    10          },
    11          {
    12              "type": "boolean"
    13          },
    14          {
    15              "type": "number"
    16          }
    17      ]
    18  }
    19  -- out/decode/extract --
    20  matchN(>=1, [bool, number])