1-- type.json -- 2{ 3 "type": "object", 4 5 "properties": { 6 "multi": { 7 "type": [ "integer" ], 8 "minimum": 2, 9 "maximum": 3, 10 "maxLength": 5 11 } 12 }, 13 "additionalProperties": false 14} 15 16-- out.err -- 17constraint not allowed because type string is excluded: 18 type.json:9:9 19-- out.cue -- 20multi?: int & >=2 & <=3