GfSE / SpecIF-Schema

Definition of the SpecIF JSON-schema and constraint checker
Apache License 2.0
1 stars 0 forks source link

Schema: Properties with boolean dataType can have multiple values #5

Open odungern opened 1 year ago

odungern commented 1 year ago

Boolean dataTypes cannot have enumerated values, because boolean is already enumerated. That's correctly represented in the SpecIF schema v1.1.

However properties with boolean dataType may have a list of multiple values, in other words a vector of values, like any property having another dataType. That's missing in the SpecIF schema v1.1; a dataType with type xs:boolean should have a native property 'multiple' as well.

'multiple' and 'enumeration' have nothing to do with each other ... which was different for SpecIF v1.0 and below.