| diagram |
 |
| namespace |
http://www.naptan.org.uk/ |
| properties |
|
| children |
napt:Regions napt:NptgLocalities napt:PlusbusZones |
| attributes |
| Name | Type | Use | Default | Fixed | Annotation | | xml:lang | | | | | | documentation | Attempting to install the relevant ISO 2- and 3-letter
codes as the enumerated possible values is probably never
going to be a realistic possibility. See
RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
at http://www.iana.org/assignments/lang-tag-apps.htm for
further information. |
| | CreationDateTime | xsd:dateTime | required | | | | | ModificationDateTime | xsd:dateTime | required | | | | | Modification | napt:ModificationEnumeration | required | | | | | RevisionNumber | napt:RevisionNumberType | required | | | | | FileName | xsd:string | required | | | | documentation | The name of the file containing the instance document. |
| | SchemaVersion | xsd:NMTOKEN | required | | 2.0 | | | LocationSystem | napt:LocationSystemEnumeration | optional | | Grid | |
|
| identity constraints |
| | Name | Refer | Selector | Field(s) | | key | RegionKey | | .//napt:Regions/napt:Region | napt:RegionCode | | keyref | RegionKeyRef | RegionKey | .//napt:RegionRef | . | | unique | AdministrativeAreaKey | | .//napt:AdministrativeAreas/napt:AdministrativeArea | AdministrativeAreaCode | | unique | NptgDistrict | | .//napt:NptgDistricts/napt:NptgDistrict | NptgDistrictCode | | key | NptgLocalityKey | | .//napt:NptgLocalities/napt:NptgLocality | napt:NptgLocalityCode | | keyref | NptgLocalityKeyRef | NptgLocalityKey | .//napt:NptgLocalityRef | . | | unique | PlusbusZoneKey | | .//napt:PlusbusZones/napt:PlusbusZone | PlusbusZoneCode |
|
| annotation |
| documentation | Schema for exchanging National Public Transport Gazetteer data.
@xml:lang
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status,
@FileName,
@SchemaVersion,
@LocationSystem |
|
| source |
<xsd:element name="NationalPublicTransportGazetteer">
<xsd:annotation>
<xsd:documentation>Schema for exchanging National Public Transport Gazetteer data.
@xml:lang
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status,
@FileName,
@SchemaVersion,
@LocationSystem</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Regions" type="RegionsStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Definitions of NPTG regions.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="NptgLocalities" type="NptgLocalitiesStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Definitions of NPTG Localities.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PlusbusZones" type="PlusbusZonesStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>definitions of PlusbusZones</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="DocumentModificationDetailsGroup"/>
<xsd:attribute name="SchemaVersion" type="xsd:NMTOKEN" use="required" fixed="2.0"/>
<xsd:attribute name="LocationSystem" type="LocationSystemEnumeration" use="optional" fixed="Grid"/>
</xsd:complexType>
<xsd:key name="RegionKey">
<xsd:selector xpath=".//napt:Regions/napt:Region"/>
<xsd:field xpath="napt:RegionCode"/>
</xsd:key>
<xsd:keyref name="RegionKeyRef" refer="RegionKey">
<xsd:selector xpath=".//napt:RegionRef"/>
<xsd:field xpath="."/>
</xsd:keyref>
<xsd:unique name="AdministrativeAreaKey">
<xsd:selector xpath=".//napt:AdministrativeAreas/napt:AdministrativeArea"/>
<xsd:field xpath="AdministrativeAreaCode"/>
</xsd:unique>
<xsd:unique name="NptgDistrict">
<xsd:selector xpath=".//napt:NptgDistricts/napt:NptgDistrict"/>
<xsd:field xpath="NptgDistrictCode"/>
</xsd:unique>
<xsd:key name="NptgLocalityKey">
<xsd:selector xpath=".//napt:NptgLocalities/napt:NptgLocality"/>
<xsd:field xpath="napt:NptgLocalityCode"/>
</xsd:key>
<xsd:keyref name="NptgLocalityKeyRef" refer="NptgLocalityKey">
<xsd:selector xpath=".//napt:NptgLocalityRef"/>
<xsd:field xpath="."/>
</xsd:keyref>
<xsd:unique name="PlusbusZoneKey">
<xsd:selector xpath=".//napt:PlusbusZones/napt:PlusbusZone"/>
<xsd:field xpath="PlusbusZoneCode"/>
</xsd:unique>
</xsd:element> |