<xsd:element name="coordinate">
<xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="wdef:date-time">
- <xsd:attribute name="latitude" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:float">
- <xsd:minInclusive value="-90" />
- <xsd:maxInclusive value="90" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="longitude" use="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:float">
- <xsd:minInclusive value="-180" />
- <xsd:maxInclusive value="180" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- </xsd:extension>
- </xsd:simpleContent>
+ <xsd:all maxOccurs="1">
+ <xsd:element ref="wdef:ref-element" />
+ </xsd:all>
+ <xsd:attribute name="latitude" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:float">
+ <xsd:minInclusive value="-90" />
+ <xsd:maxInclusive value="90" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="longitude" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:float">
+ <xsd:minInclusive value="-180" />
+ <xsd:maxInclusive value="180" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="precision" use="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:float">
+ <xsd:minExclusive value="0" />
+ <xsd:maxInclusive value="1" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
</xsd:complexType>
</xsd:element>