blob: 4b16985c2ebd49d67315102eed3799294a522415 [file] [log] [blame]
-- type.json --
{
"type": "object",
"properties": {
"multi": {
"type": [ "integer" ],
"minimum": 2,
"maximum": 3,
"maxLength": 5
}
},
"additionalProperties": false
}
-- out.err --
constraint not allowed because type string is excluded:
type.json:9:9
-- out.cue --
multi?: int & >=2 & <=3