<xsd:complexType name="channel.type">
<xsd:annotation>
<xsd:documentation>http://www.w3.org/TR/InkML/#channel</xsd:documentation>
</xsd:annotation>
<xsd:all>
<xsd:element name="mapping" type="inkml:mapping.type" minOccurs="0"/>
</xsd:all>
<xsd:attribute ref="xml:id"/>
<xsd:attribute name="name" type="inkml:channelName.type" use="required"/>
<xsd:attribute name="type" use="optional" default="decimal">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="integer"/>
<xsd:enumeration value="decimal"/>
<xsd:enumeration value="double"/>
<xsd:enumeration value="boolean"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="default" use="optional" default="0">
<xsd:simpleType>
<xsd:union memberTypes="xsd:decimal inkml:booleanStr.type"/>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="min" type="xsd:decimal"/>
<xsd:attribute name="max" type="xsd:decimal"/>
<xsd:attribute name="orientation" use="optional" default="+ve">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="+ve"/>
<xsd:enumeration value="-ve"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="respectTo" type="xsd:anyURI" use="optional"/>
<xsd:attribute name="units" type="inkml:units.type"/>
</xsd:complexType> |