Hierarchy type definitions
Put <hierarchy> elements inside an <organization> element. Each <child> is the code of a Geo-Object Type, and can contain its own <child> elements for the next level down. Use extends to inherit another hierarchy.
XSD definition
<xs:complexType name="hierarchy">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="child" type="node" minOccurs="1" />
</xs:choice>
</xs:sequence>
<xs:attribute name="code" type="xs:string" use="required" />
<xs:attribute name="label" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" use="optional" />
<xs:attribute name="progress" type="xs:string" use="optional" />
<xs:attribute name="acknowledgement" type="xs:string" use="optional" />
<xs:attribute name="disclaimer" type="xs:string" use="optional" />
<xs:attribute name="accessConstraints" type="xs:string" use="optional" />
<xs:attribute name="useConstraints" type="xs:string" use="optional" />
<xs:attribute name="extends" type="xs:string" use="optional" />
</xs:complexType>Example:
Last updated