encoding/jsonschema: recognize matchN in Generate
Currently `matchN` is used by `Extract` to represent
`anyOf`, `allOf` and `not`, but not recognized by `Generate`.
This CL changes `Generate` to recognize `matchN`.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I13bad834850648338e4e92627293ef77ba6a6f0c
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1224271
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>