Schema NaPTAN.xsd


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/NaPTAN.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Elements  Attr. groups 
NaPTAN  DocumentMetadataGroup 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_stop-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Groups  Complex types  Simple types 
BusStopClassificationGroup  AnnotatedAirRefStructure  AtcoCodeType 
StopIdentifierGroup  AnnotatedCoachRefStructure  BusStopTypeEnumeration 
AnnotatedFerryRefStructure  CleardownCodeType 
AnnotatedMetroRefStructure  CrsCodeType 
AnnotatedRailRefStructure  IataCodeType 
AnnotatedStopPointRefStructure  InterchangeActivityEnumeration 
DescriptorStructure  JourneyStopTypeEnumeration 
FlexibleZoneStructure  MetroCodeType 
HailAndRideSectionStructure  NaptanAlphaPrefixType 
PlaceRefStructure  NaptanCodeType 
StopAreaRefsStructure  NationalCoachCodeType 
StopAreaRefStructure  NationalFerryPortCodeType 
StopAreasStructure  NationalLocationCodeType 
StopAreaStructure  PlateCodeType 
StopAreaVersionedRefStructure  StopActivityEnumeration 
StopAreaWrappedRefStructure  StopAreaCodeType 
StopClassificationStructure  StopAreaTypeEnumeration 
StopPointRefsStructure  StopTypeEnumeration 
StopPointRefStructure  TimingStatusEnumeration 
StopPointsStructure  TiplocCodeType 
StopPointStructure  VehicleAtStopActivityEnumeration 
StopPointVersionedRefStructure 
StopPointWrappedRefStructure 
StopValidityStructure 


schema location:  http://www.w3.org/2001/xml.xsd
attribute form default: 
element form default: 
targetNamespace:  http://www.w3.org/XML/1998/namespace
 
Attr. groups 
specialAttrs 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_topography-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Complex types  Simple types 
AdministrativeAreaRefsStructure  AdministrativeAreaCodeType 
AdministrativeAreaRefStructure  AtcoAreaCodeType 
AdministrativeAreaVersionedRefStructure  CallCentreCodeType 
NptgLocalityRefsStructure  CountryEnumeration 
NptgLocalityRefStructure  NptgDistrictCodeType 
NptgLocalityVersionedRefStructure  NptgLocalityClassificationEnumeration 
PlusbusZoneRefsStructure  NptgLocalityCodeType 
PlusbusZoneRefStructure  NptgSourceLocalityTypeEnumeration 
PlusbusZoneVersionedRefStructure  PlusbusZoneCodeType 
RegionRefsStructure  RegionCodeType 
RegionRefStructure  RegionShortCodeEnumeration 
RegionVersionedRefStructure  RegionShortCodeType 
UkLanguageEnumeration 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_dates-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Groups  Complex types  Simple types 
AllBankHolidaysGroup  AnnotatedClosedDateRangeCollectionStructure  DateType 
ChristmasGroup  AnnotatedClosedDateRangeStructure  DayTimeDurationType 
Days5Group  BankHolidaysStructure  DurationType 
Days5NotGroup  ClosedDateRangeCollectionStructure  EndDateType 
Days6Group  ClosedDateRangeStructure  StartDateType 
DaysGroup  ClosedTimeRangeStructure 
DisplacementHolidaysGroup  DailyOpeningHoursStructure 
EarlyRunOffGroup  DateCollectionStructure 
HolidayMondaysGroup  DatePatternStructure 
DayAndTimeAvailabilityStructure 
DayFrequencyStructure 
DaysOfOperationStructure 
FrequencyStructure 
HalfOpenDateRangeStructure 
HalfOpenDateTimeRangeStructure 
HalfOpenTimeRangeStructure 
OpenDateRangeStructure 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_geographic-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Elements  Groups  Complex types  Simple types 
LocationSystem  GridGroup  BearingStructure  AbsoluteBearingType 
WgsGroup  BoundingBoxStructure  CompassBearingEnumeration 
GridPositionStructure  DistanceType 
LineStringStructure  EastingType 
LocationStructure  FeatureTypeEnumeration 
MapStructure  LatitudeType 
MapSystemReferenceStructure  LocationGridTypeEnumeration 
WGS84PositionStructure  LocationSystemEnumeration 
LongitudeType 
MappingSystemEnumeration 
NorthingType 
PrecisionEnumeration 
RelativeBearingEnumeration 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_organisations-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Complex types  Simple types 
OperatorRefsStructure  NationalOperatorCodeType 
OperatorRefStructure  OperatorCodeType 
ServicedOrganisationCodeType 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_common-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Complex types  Simple types  Attr. groups 
ModesStructure  AllModesEnumeration  DocumentModificationDetailsGroup 
ContinuousModesEnumeration  ModificationDetailsGroup 
DeltaModificationEnumeration  RequiredModificationDetailsGroup 
ModificationEnumeration 
RevisionNumberType 
StatusEnumeration 
VehicleModesEnumeration 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/napt/NaPT_types-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.dft.gov.uk/naptan/
 
Complex types  Simple types 
FullPersonNameStructure  EmailAddressType 
NaturalLanguagePlaceNameStructure  EmptyType 
NaturalLanguageStringStructure  IdType 
TelephoneContactStructure  IpAddressType 
PopulatedPlaceNameType 
PopulatedStringType 
PrivateCodeType 


schema location:  http://www.dft.gov.uk/naptan/schema/2.0/apd/CommonSimpleTypes-v1-3.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.cabinetoffice.gov.uk/govtalk.aspx/core
 
Simple types 
DateType 
EmailAddressType 
LanguageType 
MaritalStatusType 
PopulatedStringType 
RestrictedStringType 
TelCountryCodeType 
TelephoneExtensionType 
TelephoneNumberType 
WorkHomeType 
YesNoType 


element NaPTAN
diagram
namespace http://www.dft.gov.uk/naptan/
properties
content complex
children StopPoints StopAreas
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:dateTimerequired      
ModificationDateTime  xsd:dateTimerequired      
Modification  ModificationEnumerationrequired      
RevisionNumber  RevisionNumberTyperequired      
FileName  xsd:stringrequired      
documentation 
The name of the file containing the instance document.
SchemaVersion  xsd:NMTOKENrequired    2.0  
LocationSystem  LocationSystemEnumerationoptional  Grid    
identity constraints
  Name  Refer  Selector  Field(s)  
key  StopPointKey    .//napt:StopPoints/napt:StopPoint  napt:AtcoCode  
keyref  StopPointKeyRef  StopPointKey  .//napt:StopPointRef  .  
unique  StopPointPrivateKey    .//napt:StopPoints/napt:StopPoint  napt:PrivateCode  
key  StopAreaKey    .//napt:StopAreas/napt:StopArea  napt:StopAreaCode  
unique  StopAreaPrivateKey    .//napt:StopAreas/napt:StopArea  napt:PrivateCode  
annotation
documentation 
Schema for exchanging National Public Transport Access Node data.
@xml:lang
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status,
@FileName,
@SchemaVersion,
@LocationSystem
source
<xsd:element name="NaPTAN">
  <xsd:annotation>
    <xsd:documentation>Schema for exchanging National Public Transport Access Node data.
@xml:lang
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status,
@FileName,
@SchemaVersion,
@LocationSystem</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="StopPoints" type="StopPointsStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Definitions of districts.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="StopAreas" type="StopAreasStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Definitions of stop areas.</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" default="Grid"/>
  </xsd:complexType>
  <xsd:key name="StopPointKey">
    <xsd:selector xpath=".//napt:StopPoints/napt:StopPoint"/>
    <xsd:field xpath="napt:AtcoCode"/>
  </xsd:key>
  <xsd:keyref name="StopPointKeyRef" refer="StopPointKey">
    <xsd:selector xpath=".//napt:StopPointRef"/>
    <xsd:field xpath="."/>
  </xsd:keyref>
  <xsd:unique name="StopPointPrivateKey">
    <xsd:selector xpath=".//napt:StopPoints/napt:StopPoint"/>
    <xsd:field xpath="napt:PrivateCode"/>
  </xsd:unique>
  <xsd:key name="StopAreaKey">
    <xsd:selector xpath=".//napt:StopAreas/napt:StopArea"/>
    <xsd:field xpath="napt:StopAreaCode"/>
  </xsd:key>
  <xsd:unique name="StopAreaPrivateKey">
    <xsd:selector xpath=".//napt:StopAreas/napt:StopArea"/>
    <xsd:field xpath="napt:PrivateCode"/>
  </xsd:unique>
</xsd:element>

element NaPTAN/StopPoints
diagram
namespace http://www.dft.gov.uk/naptan/
type StopPointsStructure
properties
isRef 0
content complex
children StopPoint
annotation
documentation 
Definitions of districts.
source
<xsd:element name="StopPoints" type="StopPointsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of districts.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NaPTAN/StopAreas
diagram
namespace http://www.dft.gov.uk/naptan/
type StopAreasStructure
properties
isRef 0
content complex
children StopArea
annotation
documentation 
Definitions of stop areas.
source
<xsd:element name="StopAreas" type="StopAreasStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of stop areas.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

attributeGroup DocumentMetadataGroup
namespace http://www.dft.gov.uk/naptan/
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
documentation 
Record of the date and time of creation of the NaPTAN file.
FileName  xsd:stringrequired      
documentation 
The name of the TransXChange file.
SchemaVersion  xsd:NMTOKENrequired    2.0  
documentation 
The version of the schema that the NaPTAN instance document was written against. This attribute conforms with e-GIF guidance.
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.
annotation
documentation 
Grouping for document change metadata.
source
<xsd:attributeGroup name="DocumentMetadataGroup">
  <xsd:annotation>
    <xsd:documentation>Grouping for document change metadata.</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="CreationDateTime" type="xsd:dateTime" use="required">
    <xsd:annotation>
      <xsd:documentation>Record of the date and time of creation of the NaPTAN file.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="FileName" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>The name of the TransXChange file.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="SchemaVersion" type="xsd:NMTOKEN" use="required" fixed="2.0">
    <xsd:annotation>
      <xsd:documentation>The version of the schema that the NaPTAN instance document was written against. This attribute conforms with e-GIF guidance.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute ref="xml:lang"/>
</xsd:attributeGroup>

group BusStopClassificationGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children MarkedPoint UnmarkedPoint HailAndRideSection FlexibleZone
used by
element StopClassificationStructure/OnStreet/Bus
annotation
documentation 
Type of Bus stop. 
source
<xsd:group name="BusStopClassificationGroup">
  <xsd:annotation>
    <xsd:documentation>Type of Bus stop. </xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="MarkedPoint">
      <xsd:annotation>
        <xsd:documentation>[BCT - MKD] Marked stop - for example a pole or a shelter. Point footprint. </xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="DefaultWaitTime" type="DurationType" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Default time to wait at the bus stop as a Duration.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="Bearing" type="BearingStructure">
            <xsd:annotation>
              <xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="UnmarkedPoint">
      <xsd:annotation>
        <xsd:documentation>[BCT - CUS] Unmarked stop (or only marked on the road). Point footprint. .</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Bearing" type="BearingStructure">
            <xsd:annotation>
              <xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="HailAndRideSection" type="HailAndRideSectionStructure">
      <xsd:annotation>
        <xsd:documentation>[BCT - HAR] Hail and ride section of route, with a linear footprint.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="FlexibleZone" type="FlexibleZoneStructure">
      <xsd:annotation>
        <xsd:documentation>[BCT - FLX] Flexible zone, with an area footprint.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:choice>
</xsd:group>

element BusStopClassificationGroup/MarkedPoint
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children DefaultWaitTime Bearing
annotation
documentation 
[BCT - MKD] Marked stop - for example a pole or a shelter. Point footprint. 
source
<xsd:element name="MarkedPoint">
  <xsd:annotation>
    <xsd:documentation>[BCT - MKD] Marked stop - for example a pole or a shelter. Point footprint. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="DefaultWaitTime" type="DurationType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Default time to wait at the bus stop as a Duration.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Bearing" type="BearingStructure">
        <xsd:annotation>
          <xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element BusStopClassificationGroup/MarkedPoint/DefaultWaitTime
diagram
namespace http://www.dft.gov.uk/naptan/
type DurationType
properties
isRef 0
content simple
facets
pattern PT.*
annotation
documentation 
Default time to wait at the bus stop as a Duration.
source
<xsd:element name="DefaultWaitTime" type="DurationType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Default time to wait at the bus stop as a Duration.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element BusStopClassificationGroup/MarkedPoint/Bearing
diagram
namespace http://www.dft.gov.uk/naptan/
type BearingStructure
properties
isRef 0
content complex
children CompassPoint Degrees
annotation
documentation 
Direction along street in which vehicle is pointing when stopped at stopping point. 
source
<xsd:element name="Bearing" type="BearingStructure">
  <xsd:annotation>
    <xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element BusStopClassificationGroup/UnmarkedPoint
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Bearing
annotation
documentation 
[BCT - CUS] Unmarked stop (or only marked on the road). Point footprint. .
source
<xsd:element name="UnmarkedPoint">
  <xsd:annotation>
    <xsd:documentation>[BCT - CUS] Unmarked stop (or only marked on the road). Point footprint. .</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Bearing" type="BearingStructure">
        <xsd:annotation>
          <xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element BusStopClassificationGroup/UnmarkedPoint/Bearing
diagram
namespace http://www.dft.gov.uk/naptan/
type BearingStructure
properties
isRef 0
content complex
children CompassPoint Degrees
annotation
documentation 
Direction along street in which vehicle is pointing when stopped at stopping point. 
source
<xsd:element name="Bearing" type="BearingStructure">
  <xsd:annotation>
    <xsd:documentation>Direction along street in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element BusStopClassificationGroup/HailAndRideSection
diagram
namespace http://www.dft.gov.uk/naptan/
type HailAndRideSectionStructure
properties
isRef 0
content complex
children StartPoint EndPoint Bearing
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
[BCT - HAR] Hail and ride section of route, with a linear footprint.
source
<xsd:element name="HailAndRideSection" type="HailAndRideSectionStructure">
  <xsd:annotation>
    <xsd:documentation>[BCT - HAR] Hail and ride section of route, with a linear footprint.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element BusStopClassificationGroup/FlexibleZone
diagram
namespace http://www.dft.gov.uk/naptan/
type FlexibleZoneStructure
properties
isRef 0
content complex
children Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
[BCT - FLX] Flexible zone, with an area footprint.
source
<xsd:element name="FlexibleZone" type="FlexibleZoneStructure">
  <xsd:annotation>
    <xsd:documentation>[BCT - FLX] Flexible zone, with an area footprint.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group StopIdentifierGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children NaptanCode PlateCode PrivateCode CleardownCode
used by
complexType StopPointStructure
annotation
documentation 
Alternative identifers of a stop
source
<xsd:group name="StopIdentifierGroup">
  <xsd:annotation>
    <xsd:documentation>Alternative identifers of a stop</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NaptanCode" type="NaptanCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Short NaPTAN  code for passengers to use when uniquely identifying the stop by SMS and other self-service channels.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="PlateCode" type="PlateCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Plate number for stop. An arbitrary asset number that may be placed on stop to identify it.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="PrivateCode" type="PrivateCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>A private code that uniquely identifies the stop. May be used for interoperating with other (legacy) systems.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="CleardownCode" type="CleardownCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>A 20 bit number used for wireless cleardown of stop displays by some AVL systems. Number format defined by RTIG.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:group>

element StopIdentifierGroup/NaptanCode
diagram
namespace http://www.dft.gov.uk/naptan/
type NaptanCodeType
properties
isRef 0
content simple
facets
maxLength 12
annotation
documentation 
Short NaPTAN  code for passengers to use when uniquely identifying the stop by SMS and other self-service channels.
source
<xsd:element name="NaptanCode" type="NaptanCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Short NaPTAN  code for passengers to use when uniquely identifying the stop by SMS and other self-service channels.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopIdentifierGroup/PlateCode
diagram
namespace http://www.dft.gov.uk/naptan/
type PlateCodeType
properties
isRef 0
content simple
annotation
documentation 
Plate number for stop. An arbitrary asset number that may be placed on stop to identify it.
source
<xsd:element name="PlateCode" type="PlateCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Plate number for stop. An arbitrary asset number that may be placed on stop to identify it.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopIdentifierGroup/PrivateCode
diagram
namespace http://www.dft.gov.uk/naptan/
type PrivateCodeType
properties
isRef 0
content simple
annotation
documentation 
A private code that uniquely identifies the stop. May be used for interoperating with other (legacy) systems.
source
<xsd:element name="PrivateCode" type="PrivateCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>A private code that uniquely identifies the stop. May be used for interoperating with other (legacy) systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopIdentifierGroup/CleardownCode
diagram
namespace http://www.dft.gov.uk/naptan/
type CleardownCodeType
properties
isRef 0
content simple
annotation
documentation 
A 20 bit number used for wireless cleardown of stop displays by some AVL systems. Number format defined by RTIG.
source
<xsd:element name="CleardownCode" type="CleardownCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>A 20 bit number used for wireless cleardown of stop displays by some AVL systems. Number format defined by RTIG.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedAirRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children IataRef Name
used by
element StopClassificationStructure/OffStreet/Air/AnnotatedAirRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with air industry reference systems
source
<xsd:complexType name="AnnotatedAirRefStructure">
  <xsd:annotation>
    <xsd:documentation>Collation with air industry reference systems</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="IataRef" type="IataCodeType">
      <xsd:annotation>
        <xsd:documentation>International Air Transport Association code for the airport.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguageStringStructure">
      <xsd:annotation>
        <xsd:documentation>Name of airport. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element AnnotatedAirRefStructure/IataRef
diagram
namespace http://www.dft.gov.uk/naptan/
type IataCodeType
properties
isRef 0
content simple
annotation
documentation 
International Air Transport Association code for the airport.
source
<xsd:element name="IataRef" type="IataCodeType">
  <xsd:annotation>
    <xsd:documentation>International Air Transport Association code for the airport.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedAirRefStructure/Name
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Name of airport. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of airport. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedCoachRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children CoachRef Name LongName Location
used by
element StopClassificationStructure/OffStreet/BusAndCoach/AnnotatedCoachRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with coach industry reference systems
source
<xsd:complexType name="AnnotatedCoachRefStructure">
  <xsd:annotation>
    <xsd:documentation>Collation with coach industry reference systems</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="CoachRef" type="NationalCoachCodeType">
      <xsd:annotation>
        <xsd:documentation>National coach for coach location (Including National Express Group codes).</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguageStringStructure">
      <xsd:annotation>
        <xsd:documentation>Name of coach location. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="LongName" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Long name of coach location. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="LocationStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element AnnotatedCoachRefStructure/CoachRef
diagram
namespace http://www.dft.gov.uk/naptan/
type NationalCoachCodeType
properties
isRef 0
content simple
annotation
documentation 
National coach for coach location (Including National Express Group codes).
source
<xsd:element name="CoachRef" type="NationalCoachCodeType">
  <xsd:annotation>
    <xsd:documentation>National coach for coach location (Including National Express Group codes).</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedCoachRefStructure/Name
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Name of coach location. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of coach location. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedCoachRefStructure/LongName
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Long name of coach location. @lang.
source
<xsd:element name="LongName" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Long name of coach location. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedCoachRefStructure/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Location if different from that specified for point.
source
<xsd:element name="Location" type="LocationStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedFerryRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children FerryRef Name Location
used by
element StopClassificationStructure/OffStreet/Ferry/AnnotatedFerryRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with ferry and shipping industry reference systems.
source
<xsd:complexType name="AnnotatedFerryRefStructure">
  <xsd:annotation>
    <xsd:documentation>Collation with ferry and shipping industry reference systems.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="FerryRef" type="NationalFerryPortCodeType">
      <xsd:annotation>
        <xsd:documentation>National Ferry  code for ferry port.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Name of port. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="LocationStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element AnnotatedFerryRefStructure/FerryRef
diagram
namespace http://www.dft.gov.uk/naptan/
type NationalFerryPortCodeType
properties
isRef 0
content simple
annotation
documentation 
National Ferry  code for ferry port.
source
<xsd:element name="FerryRef" type="NationalFerryPortCodeType">
  <xsd:annotation>
    <xsd:documentation>National Ferry  code for ferry port.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedFerryRefStructure/Name
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Name of port. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Name of port. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedFerryRefStructure/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Location if different from that specified for point.
source
<xsd:element name="Location" type="LocationStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedMetroRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children MetroRef Name Location
used by
element StopClassificationStructure/OffStreet/Metro/AnnotatedMetroRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with  transport industry reference systems.
source
<xsd:complexType name="AnnotatedMetroRefStructure">
  <xsd:annotation>
    <xsd:documentation>Collation with  transport industry reference systems.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="MetroRef" type="MetroCodeType">
      <xsd:annotation>
        <xsd:documentation>Metro code for underground station.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Name of station. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="LocationStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element AnnotatedMetroRefStructure/MetroRef
diagram
namespace http://www.dft.gov.uk/naptan/
type MetroCodeType
properties
isRef 0
content simple
annotation
documentation 
Metro code for underground station.
source
<xsd:element name="MetroRef" type="MetroCodeType">
  <xsd:annotation>
    <xsd:documentation>Metro code for underground station.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedMetroRefStructure/Name
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Name of station. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Name of station. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedMetroRefStructure/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Location if different from that specified for point.
source
<xsd:element name="Location" type="LocationStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedRailRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children TiplocRef CrsRef StationName Location
used by
element StopClassificationStructure/OffStreet/Rail/AnnotatedRailRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with rail industry reference systems
source
<xsd:complexType name="AnnotatedRailRefStructure">
  <xsd:annotation>
    <xsd:documentation>Collation with rail industry reference systems</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="TiplocRef" type="TiplocCodeType">
      <xsd:annotation>
        <xsd:documentation>TIming Point LOcation Code . Character code 4-6 alphanumeric characters e.g. CHST, KNGX, KNGXBAL. Non-rail locations may also have TIPLOCs.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="CrsRef" type="CrsCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Three letter Computer Reservation System code identifying a station. e.g. KGX.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="StationName" type="NaturalLanguageStringStructure">
      <xsd:annotation>
        <xsd:documentation>Name of station. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="LocationStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element AnnotatedRailRefStructure/TiplocRef
diagram
namespace http://www.dft.gov.uk/naptan/
type TiplocCodeType
properties
isRef 0
content simple
facets
minLength 4
maxLength 7
annotation
documentation 
TIming Point LOcation Code . Character code 4-6 alphanumeric characters e.g. CHST, KNGX, KNGXBAL. Non-rail locations may also have TIPLOCs.
source
<xsd:element name="TiplocRef" type="TiplocCodeType">
  <xsd:annotation>
    <xsd:documentation>TIming Point LOcation Code . Character code 4-6 alphanumeric characters e.g. CHST, KNGX, KNGXBAL. Non-rail locations may also have TIPLOCs.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedRailRefStructure/CrsRef
diagram
namespace http://www.dft.gov.uk/naptan/
type CrsCodeType
properties
isRef 0
content simple
facets
length 3
pattern [A-Z]{3}
annotation
documentation 
Three letter Computer Reservation System code identifying a station. e.g. KGX.
source
<xsd:element name="CrsRef" type="CrsCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Three letter Computer Reservation System code identifying a station. e.g. KGX.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedRailRefStructure/StationName
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Name of station. @lang.
source
<xsd:element name="StationName" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of station. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedRailRefStructure/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Location if different from that specified for point.
source
<xsd:element name="Location" type="LocationStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Location if different from that specified for point.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedStopPointRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopPointRef CommonName Indicator LocalityName LocalityQualifier
annotation
documentation 
Data type for an annotated reference to a stop that is defined elsewhere using a StopPointStructure. The annotation is the stop's common name.
source
<xsd:complexType name="AnnotatedStopPointRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for an annotated reference to a stop that is defined elsewhere using a StopPointStructure. The annotation is the stop's common name.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopPointRef" type="AtcoCodeType">
      <xsd:annotation>
        <xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="CommonName" type="NaturalLanguageStringStructure">
      <xsd:annotation>
        <xsd:documentation>Common name for the stop. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Brief additional description to further distinguish the stop. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="LocalityName" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Name of NPTG Locality in which stop lies.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="LocalityQualifier" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Any qualifier of NPTG Locality in which stop lies.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element AnnotatedStopPointRefStructure/StopPointRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AtcoCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
annotation
documentation 
Reference to a NaPTAN stop.
source
<xsd:element name="StopPointRef" type="AtcoCodeType">
  <xsd:annotation>
    <xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/CommonName
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Common name for the stop. @lang.
source
<xsd:element name="CommonName" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Common name for the stop. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/Indicator
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Brief additional description to further distinguish the stop. @lang.
source
<xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Brief additional description to further distinguish the stop. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/LocalityName
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Name of NPTG Locality in which stop lies.
source
<xsd:element name="LocalityName" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Name of NPTG Locality in which stop lies.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/LocalityQualifier
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
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.
annotation
documentation 
Any qualifier of NPTG Locality in which stop lies.
source
<xsd:element name="LocalityQualifier" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Any qualifier of NPTG Locality in which stop lies.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DescriptorStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children CommonName ShortCommonName Landmark Street Crossing Indicator
used by
elements StopPointStructure/Descriptor StopPointStructure/AlternativeDescriptors/Descriptor
annotation
documentation 
Data type for a Structured text description of stop.
source
<xsd:complexType name="DescriptorStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a Structured text description of stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="CommonName" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Common name for the stop in a specified language. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ShortCommonName" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Alternative short name for stop. Length limit is set by administrative area. Standard abbreviations should be used to condense name elements. If omitted, defaults to CommonName, truncated if necessary. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Landmark" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Description of the nearest landmark to the stop, for example 'Town Hall'. Or nearest street crossing that can be used to distinguish stop from other stops in the street, i.e. Lanmark may be a crossing.  @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Street" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Street of stop. @lang</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Crossing" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Where there is a street that intersects the Street, as well as a Landmark, the name of the crossing street may be included separately here.   @lang</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Indicative description of the relative position of the stop, for example, "100 yards from Town Hall".  Bay Stand or Stance number should be placed here. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element DescriptorStructure/CommonName
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Common name for the stop in a specified language. @lang.
source
<xsd:element name="CommonName" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Common name for the stop in a specified language. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/ShortCommonName
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Alternative short name for stop. Length limit is set by administrative area. Standard abbreviations should be used to condense name elements. If omitted, defaults to CommonName, truncated if necessary. @lang.
source
<xsd:element name="ShortCommonName" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Alternative short name for stop. Length limit is set by administrative area. Standard abbreviations should be used to condense name elements. If omitted, defaults to CommonName, truncated if necessary. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Landmark
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Description of the nearest landmark to the stop, for example 'Town Hall'. Or nearest street crossing that can be used to distinguish stop from other stops in the street, i.e. Lanmark may be a crossing.  @lang.
source
<xsd:element name="Landmark" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Description of the nearest landmark to the stop, for example 'Town Hall'. Or nearest street crossing that can be used to distinguish stop from other stops in the street, i.e. Lanmark may be a crossing.  @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Street
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Street of stop. @lang
source
<xsd:element name="Street" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Street of stop. @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Crossing
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Where there is a street that intersects the Street, as well as a Landmark, the name of the crossing street may be included separately here.   @lang
source
<xsd:element name="Crossing" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Where there is a street that intersects the Street, as well as a Landmark, the name of the crossing street may be included separately here.   @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Indicator
diagram
namespace http://www.dft.gov.uk/naptan/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
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.
annotation
documentation 
Indicative description of the relative position of the stop, for example, "100 yards from Town Hall".  Bay Stand or Stance number should be placed here. @lang.
source
<xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Indicative description of the relative position of the stop, for example, "100 yards from Town Hall".  Bay Stand or Stance number should be placed here. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType FlexibleZoneStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children Location
used by
element BusStopClassificationGroup/FlexibleZone
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Data type for a geographical zone of operation within which a flexible service operates.
source
<xsd:complexType name="FlexibleZoneStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a geographical zone of operation within which a flexible service operates.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Location" type="LocationStructure" minOccurs="3" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Polygon of three or more points describing the spatial boundary of the zone. @Precision @id</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element FlexibleZoneStructure/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Polygon of three or more points describing the spatial boundary of the zone. @Precision @id
source
<xsd:element name="Location" type="LocationStructure" minOccurs="3" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Polygon of three or more points describing the spatial boundary of the zone. @Precision @id</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType HailAndRideSectionStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StartPoint EndPoint Bearing
used by
element BusStopClassificationGroup/HailAndRideSection
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Definition of the hail and ride section.
source
<xsd:complexType name="HailAndRideSectionStructure">
  <xsd:annotation>
    <xsd:documentation>Definition of the hail and ride section.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartPoint" type="LocationStructure">
      <xsd:annotation>
        <xsd:documentation>Point at which service starts.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndPoint" type="LocationStructure">
      <xsd:annotation>
        <xsd:documentation>Point at which service ends.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Bearing" type="BearingStructure" minOccurs="0"/>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element HailAndRideSectionStructure/StartPoint
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Point at which service starts.
source
<xsd:element name="StartPoint" type="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>Point at which service starts.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HailAndRideSectionStructure/EndPoint
diagram
namespace http://www.dft.gov.uk/naptan/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Point at which service ends.
source
<xsd:element name="EndPoint" type="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>Point at which service ends.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HailAndRideSectionStructure/Bearing
diagram
namespace http://www.dft.gov.uk/naptan/
type BearingStructure
properties
isRef 0
content complex
children CompassPoint Degrees
source
<xsd:element name="Bearing" type="BearingStructure" minOccurs="0"/>

complexType PlaceRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopPointRef Location NptgLocalityRef
annotation
documentation 
Data type for a Reference to a place, may be any one out of a stop point, geospatial location or Locality
source
<xsd:complexType name="PlaceRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a Reference to a place, may be any one out of a stop point, geospatial location or Locality</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="StopPointRef" type="StopPointRefStructure">
      <xsd:annotation>
        <xsd:documentation>NaPTAN Stop point identifier. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="GridPositionStructure">
      <xsd:annotation>
        <xsd:documentation>Geospatial location @Precision</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="NptgLocalityRef" type="NptgLocalityVersionedRefStructure">
      <xsd:annotation>
        <xsd:documentation>NPTG identifier of locality</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:choice>
</xsd:complexType>

element PlaceRefStructure/StopPointRef
diagram
namespace http://www.dft.gov.uk/naptan/
type StopPointRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
annotation
documentation 
NaPTAN Stop point identifier. 
source
<xsd:element name="StopPointRef" type="StopPointRefStructure">
  <xsd:annotation>
    <xsd:documentation>NaPTAN Stop point identifier. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element PlaceRefStructure/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type GridPositionStructure
properties
isRef 0
content complex
children GridType Easting Northing
annotation
documentation 
Geospatial location @Precision
source
<xsd:element name="Location" type="GridPositionStructure">
  <xsd:annotation>
    <xsd:documentation>Geospatial location @Precision</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element PlaceRefStructure/NptgLocalityRef
diagram
namespace http://www.dft.gov.uk/naptan/
type NptgLocalityVersionedRefStructure
properties
isRef 0
content complex
facets
pattern [EN][0S][0-9]{6}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
NPTG identifier of locality
source
<xsd:element name="NptgLocalityRef" type="NptgLocalityVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>NPTG identifier of locality</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopAreaRefsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopAreaRef
used by
element StopPointStructure/StopAreas
annotation
documentation 
Data type for a  collection of one or more stop area refs.
source
<xsd:complexType name="StopAreaRefsStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a  collection of one or more stop area refs.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopAreaRef" type="StopAreaVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to the identifier of a stop area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopAreaRefsStructure/StopAreaRef
diagram
namespace http://www.dft.gov.uk/naptan/