blob: e4a162c0aeeb3ee6f3ded716538ee5c7e8fcf445 [file] [log] [blame]
// This test tests the conversion and ordering of $defs.
-- definition.json --
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"value": {},
"next": { "$ref": "#" }
}
}
-- out.cue --
_schema
_schema: {
@jsonschema(schema="http://json-schema.org/draft-07/schema#")
null | bool | number | string | [...] | {
value?: _
next?: _schema_1
...
}
}
let _schema_1 = _schema