encoding/jsonschema: always allow x- keywords
The OpenAPI specification explicitly allows "x-"-prefixed keywords and
JSON Schema allows all unknown keywords, so it seems reasonable to
always allow them, as the `StrictKeywords` flag is more oriented towards
finding misspelled keywords than explicitly "out-of-spec" keywords.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Iaa287b25faeb3cfc03225b06b97547a949026ba7
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201112
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>