<xs:element name="lat">
 <xs:simpleType>
 <xs:restriction base="xs:string">
 <xs:minLength value="10"/>
 <xs:maxLength value="12"/>
 </xs:restriction>
 </xs:simpleType>
 </xs:element>
 <xs:element name="long">
 <xs:simpleType>
 <xs:restriction base="xs:string">
 <xs:minLength value="10"/>
 <xs:maxLength value="13"/>
 </xs:restriction>
 </xs:simpleType>
 </xs:element>
 </xs:sequence>
 </xs:complexType>
 <xs:complexType name="limitation_type">
 <xs:sequence>
 <xs:element name="limitation_period" type="nts:limitation_period_type" minOccurs="0" maxOccurs="unbounded">
 <xs:annotation>
 <xs:documentation>Limitation periods / intervals</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="limitation_code" type="nts:limitation_code_enum">
 <xs:annotation>
 <xs:documentation>Kind of limitation</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="position_code" type="nts:position_code_enum" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Describes the position of the limitation related to the fairway</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="value" type="xs:float" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Value of limitation (i.e. max draught)</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="unit" type="nts:unit_enum" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Unit of the value of the limitation</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="reference_code" type="nts:reference_code_enum" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Value reference</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="indication_code" type="nts:indication_code_enum" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Minimum or maximum or reduced by</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="target_group" type="nts:target_group_type" minOccurs="0" maxOccurs="unbounded">
 <xs:annotation>
 <xs:documentation>Target group information</xs:documentation>
 </xs:annotation>
 </xs:element>
 </xs:sequence>
 </xs:complexType>
 <xs:complexType name="limitation_period_type">
 <xs:sequence>
 <xs:element name="date_start" type="xs:date">
 <xs:annotation>
 <xs:documentation>Start date of limitation period including time zone</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="date_end" type="xs:date" minOccurs="0">
 <xs:annotation>
 <xs:documentation>End date of limitation period including time zone</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="time_start" type="xs:time" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Start time of limitation period without time zone</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="time_end" type="xs:time" minOccurs="0">
 <xs:annotation>
 <xs:documentation>End time of limitation period without time zone</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="interval_code" type="nts:interval_code_enum" minOccurs="0">
 <xs:annotation>
 <xs:documentation>Interval for limitation if applicable</xs:documentation>
 </xs:annotation>
 </xs:element>
 </xs:sequence>
 </xs:complexType>
 <xs:simpleType name="interval_code_enum">
 <xs:restriction base="xs:string">
 <xs:maxLength value="3"/>
 <xs:enumeration value="CON"/>
 <xs:enumeration value="DAY"/>
 <xs:enumeration value="WRK"/>
 <xs:enumeration value="WKN"/>
 <xs:enumeration value="SUN"/>
 <xs:enumeration value="MON"/>
 <xs:enumeration value="TUE"/>
 <xs:enumeration value="WED"/>
 <xs:enumeration value="THU"/>
 <xs:enumeration value="FRI"/>
 <xs:enumeration value="SAT"/>
 <xs:enumeration value="DTI"/>
 <xs:enumeration value="NTI"/>
 <xs:enumeration value="RVI"/>
 <xs:enumeration value="EXC"/>
 <xs:enumeration value="WRD"/>
 </xs:restriction>
 </xs:simpleType>
 <xs:simpleType name="limitation_code_enum">
 <xs:restriction base="xs:string">
 <xs:maxLength value="6"/>
 <xs:enumeration value="OBSTRU"/>
 <xs:enumeration value="PAROBS"/>
 <xs:enumeration value="DELAY"/>
 <xs:enumeration value="VESLEN"/>
 <xs:enumeration value="VESHEI"/>
 <xs:enumeration value="VESBRE"/>
 <xs:enumeration value="VESDRA"/>
 <xs:enumeration value="AVALEN"/>
 <xs:enumeration value="CLEHEI"/>
 <xs:enumeration value="CLEWID"/>
 <xs:enumeration value="AVADEP"/>
 <xs:enumeration value="NOMOOR"/>
 <xs:enumeration value="SERVIC"/>
 <xs:enumeration value="NOSERV"/>
 <xs:enumeration value="SPEED"/>
 <xs:enumeration value="WAVWAS"/>
 <xs:enumeration value="PASSIN"/>
 <xs:enumeration value="ANCHOR"/>
 <xs:enumeration value="OVRTAK"/>
 <xs:enumeration value="MINPWR"/>
 <xs:enumeration value="ALTER"/>
 <xs:enumeration value="CAUTIO"/>
 <xs:enumeration value="NOLIM"/>
 <xs:enumeration value="TURNIN"/>
 <xs:enumeration value="NOSHORE"/>
 <xs:enumeration value="CONBRE"/>
 <xs:enumeration value="CONLEN"/>
 <!-- the following value is added due to CR 128 -->
 <xs:enumeration value="LEADEP"/>
 <!-- the following value is added due to CR 148 -->
 <xs:enumeration value="NOBERT"/>
 </xs:restriction>
 </xs:simpleType>
 <xs:simpleType name="position_code_enum">
 <xs:restriction base="xs:string">
 <xs:maxLength value="2"/>
 <xs:enumeration value="AL"/>
 <xs:enumeration value="LE"/>
 <xs:enumeration value="MI"/>
 <xs:enumeration value="RI"/>
 <xs:enumeration value="LB"/>
 <xs:enumeration value="RB"/>
 <xs:enumeration value="N"/>
 <xs:enumeration value="NE"/>
 <xs:enumeration value="E"/>
 <xs:enumeration value="SE"/>
 <xs:enumeration value="S"/>
 <xs:enumeration value="SW"/>
 <xs:enumeration value="W"/>
 <xs:enumeration value="NW"/>
 <xs:enumeration value="BI"/>
 <xs:enumeration value="SM"/>
 <xs:enumeration value="OL"/>
 <xs:enumeration value="EW"/>
 <xs:enumeration value="MP"/>
 <xs:enumeration value="FP"/>
 <xs:enumeration value="VA"/>
 <xs:enumeration value="RY"/>
 <xs:enumeration value="GY"/>
 </xs:restriction>
 </xs:simpleType>
 <xs:simpleType name="reference_code_enum">
 <xs:restriction base="xs:string">
 <xs:maxLength value="4"/>
 <xs:enumeration value="NAP"/>
 <xs:enumeration value="KP"/>
 <xs:enumeration value="FZP"/>
 <xs:enumeration value="ADR"/>
 <xs:enumeration value="TAW"/>
 <xs:enumeration value="PUL"/>
 <xs:enumeration value="NGM"/>
 <xs:enumeration value="ETRS"/>
 <xs:enumeration value="POT"/>
 <xs:enumeration value="LDC"/>
 <xs:enumeration value="HDC"/>
 <xs:enumeration value="ZPG"/>
 <xs:enumeration value="GLW"/>
 <xs:enumeration value="HSW"/>
 <xs:enumeration value="LNW"/>
 <xs:enumeration value="HNW"/>
 <xs:enumeration value="IGN"/>
 <xs:enumeration value="WGS"/>
 <xs:enumeration value="RN"/>
 <xs:enumeration value="HBO"/>
 </xs:restriction>
 </xs:simpleType>
 <xs:simpleType name="indication_code_enum">
 <xs:restriction base="xs:string">
 <xs:maxLength value="3"/>
 <xs:enumeration value="MAX"/>
 <xs:enumeration value="MIN"/>
 <xs:enumeration value="RED"/>
 </xs:restriction>
 </xs:simpleType>
 <xs:complexType name="target_group_type">
 <xs:sequence>
 <xs:element name="target_group_code" type="nts:target_group_code_enum" default="ALL">
 <xs:annotation>
 <xs:documentation>Target group (vessel type)</xs:documentation>
 </xs:annotation>
 </xs:element>
 <xs:element name="direction_code" type="nts:direction_code_enum" default="ALL">
 <xs:annotation>
 <xs:documentation>Upstream or downstream traffic, or both</xs:documentation>
 </xs:annotation>
 </xs:element>
 </xs:sequence>
 </xs:complexType>
 <xs:simpleType name="target_group_code_enum">
 <xs:restriction base="xs:string">
 <xs:maxLength value="3"/>
 <xs:enumeration value="ALL"/>
 <xs:enumeration value="CDG"/>
 <xs:enumeration value="COM"/>
 <xs:enumeration value="PAX"/>
 <xs:enumeration value="PLE"/>
 <xs:enumeration value="CNV"/>
 <xs:enumeration value="PUS"/>
 <xs:enumeration value="NNU"/>
