XSD-Schema: missing minOccurs="0" of element `containedElements` in type `view_t`
Class view
has parameter containedElements
:
of cardinality 0..*
The XSD-Schema therefore needs a minOccurs="0"
in element <containedElements>
.
Current version:
<complexType name="view_t">
<sequence>
<group ref="aas:referable"/>
<group ref="aas:hasSemantics"/>
<group ref="aas:hasDataSpecification"/>
<element name="containedElements" type="aas:containedElements_t" ></element>
</sequence>
</complexType>
Proposed Fix:
<complexType name="view_t">
<sequence>
<group ref="aas:referable"/>
<group ref="aas:hasSemantics"/>
<group ref="aas:hasDataSpecification"/>
<element maxOccurs="unbounded" minOccurs="0" name="containedElements" type="aas:containedElements_t"/>
</sequence>
</complexType>