<complexType name="model">
<sequence>
<choice minOccurs="0" maxOccurs="unbounded">
<element name="import" type="cellml:import"/>
<element name="units" type="cellml:units"/>
<element name="component" type="cellml:component">
<unique name="uniqueComponentUnitsName">
<selector xpath="cellml:units"/>
<field xpath="@name"/>
</unique>
<key name="uniqueComponentVariableName">
<selector xpath="cellml:variable"/>
<field xpath="@name"/>
</key>
<keyref name="checkReactions" refer="cellml:uniqueComponentVariableName">
<selector xpath=".//cellml:variable_ref"/>
<field xpath="@variable"/>
</keyref>
<keyref name="checkRoleDelta" refer="cellml:uniqueComponentVariableName">
<selector xpath=".//cellml:role"/>
<field xpath="@delta_variable"/>
</keyref>
<unique name="uniqueDelta">
<selector xpath=".//cellml:role"/>
<field xpath="@delta_variable"/>
</unique>
</element>
<element name="group" type="cellml:group"/>
<element name="connection" type="cellml:connection"/>
<any namespace="##other" processContents="skip"/>
</choice>
</sequence>
<attribute name="name" type="cellml:cellMLIdentifier" use="required"/>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType> |