Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: support legacy id field
In older schema versions, the "id" field was used instead of "$id". Support that by predicating the logic on the schema version. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I2b4c2410750db227c1a97aa1b71832d5ec65a726 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199306 Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information