awips2/ncep/gov.noaa.nws.ncep.edex.common/utility/edex_static/base/ncep/stns/stns.xsd
Steve Harris af106f1d29 Merge branch 'ss_builds' (12.10.1-1) into development
Former-commit-id: 3eacf0da611b09faa416580b8d2db5bdc9af2d11
2012-09-04 12:11:03 -05:00

163 lines
No EOL
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:element name="stid">
<xsd:annotation>
<xsd:documentation>The station ID</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="16"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="stnnum">
<xsd:annotation>
<xsd:documentation>The station number</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="stnname">
<xsd:annotation>
<xsd:documentation>The station name</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="35"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="state">
<xsd:annotation>
<xsd:documentation>state</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="country">
<xsd:annotation>
<xsd:documentation>country</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="latitude">
<xsd:annotation>
<xsd:documentation>The latitude</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:float">
<xsd:maxInclusive value="90."></xsd:maxInclusive>
<xsd:minInclusive value="-90."></xsd:minInclusive>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="longitude">
<xsd:annotation>
<xsd:documentation>The longitude</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:float">
<xsd:maxInclusive value="180."></xsd:maxInclusive>
<xsd:minInclusive value="-180."></xsd:minInclusive>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="elevation">
<xsd:annotation>
<xsd:documentation>The elevation</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:maxInclusive value="99999"></xsd:maxInclusive>
<xsd:minInclusive value="-9999"></xsd:minInclusive>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="priority">
<xsd:annotation>
<xsd:documentation>The priority</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:maxInclusive value="99"></xsd:maxInclusive>
<xsd:minInclusive value="0"></xsd:minInclusive>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="location">
<xsd:annotation>
<xsd:documentation>Volcano location</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="32"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="wfo">
<xsd:annotation>
<xsd:documentation>WFO</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="15"></xsd:maxLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="stationList">
<xsd:complexType>
<xsd:sequence maxOccurs="1" minOccurs="1">
<xsd:element ref="station" maxOccurs="unbounded" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="station">
<xsd:annotation>
<xsd:documentation>A station</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence maxOccurs="1" minOccurs="1">
<xsd:element ref="stid" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="stnnum" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="stnname" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="state" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="country" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="latitude" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="longitude" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="elevation" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="priority" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="location" maxOccurs="1" minOccurs="0"></xsd:element>
<xsd:element ref="wfo" maxOccurs="1" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>