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/
type StopAreaVersionedRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Reference to the identifier of a stop area.
source
<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>

complexType StopAreaRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of StopAreaCodeType
properties
base StopAreaCodeType
used by
element StopAreaWrappedRefStructure/StopAreaRef
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
annotation
documentation 
Data type for a direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.
source
<xsd:complexType name="StopAreaRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="StopAreaCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType StopAreasStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopArea
used by
element NaPTAN/StopAreas
annotation
documentation 
A collection of one or more stop areas.
source
<xsd:complexType name="StopAreasStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more stop areas.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopArea" type="StopAreaStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A grouping of adjacent NaPTAN stops. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopAreasStructure/StopArea
diagram
namespace http://www.dft.gov.uk/naptan/
type StopAreaStructure
properties
isRef 0
content complex
children StopAreaCode PrivateCode Name ParentStopAreaRef AdministrativeAreaRef StopAreaType Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A grouping of adjacent NaPTAN stops. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.
source
<xsd:element name="StopArea" type="StopAreaStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A grouping of adjacent NaPTAN stops. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopAreaStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopAreaCode PrivateCode Name ParentStopAreaRef AdministrativeAreaRef StopAreaType Location
used by
element StopAreasStructure/StopArea
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A group or area of related stops.
source
<xsd:complexType name="StopAreaStructure">
  <xsd:annotation>
    <xsd:documentation>A group or area of related stops.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopAreaCode" type="StopAreaCodeType">
      <xsd:annotation>
        <xsd:documentation>Code that uniquely identifies the stop area within the UK.</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 area. May be used for interoperating with other (legacy) systems.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ParentStopAreaRef" type="StopPointVersionedRefStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Code that identifies any parent stop area of the area. Many levels of parent hierarchy are allowed.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaRefStructure">
      <xsd:annotation>
        <xsd:documentation>NPTG administrative area that manages stop area. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="StopAreaType" type="StopAreaTypeEnumeration">
      <xsd:annotation>
        <xsd:documentation>Classification of the area. Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="LocationStructure">
      <xsd:annotation>
        <xsd:documentation>Spatial coordinates of the area. @Precision.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
</xsd:complexType>

element StopAreaStructure/StopAreaCode
diagram
namespace http://www.dft.gov.uk/naptan/
type StopAreaCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
annotation
documentation 
Code that uniquely identifies the stop area within the UK.
source
<xsd:element name="StopAreaCode" type="StopAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>Code that uniquely identifies the stop area within the UK.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopAreaStructure/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 area. 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 area. May be used for interoperating with other (legacy) systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopAreaStructure/Name
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 
Name of the area.
source
<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopAreaStructure/ParentStopAreaRef
diagram
namespace http://www.dft.gov.uk/naptan/
type StopPointVersionedRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Code that identifies any parent stop area of the area. Many levels of parent hierarchy are allowed.
source
<xsd:element name="ParentStopAreaRef" type="StopPointVersionedRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Code that identifies any parent stop area of the area. Many levels of parent hierarchy are allowed.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopAreaStructure/AdministrativeAreaRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AdministrativeAreaRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}
annotation
documentation 
NPTG administrative area that manages stop area. 
source
<xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaRefStructure">
  <xsd:annotation>
    <xsd:documentation>NPTG administrative area that manages stop area. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopAreaStructure/StopAreaType
diagram
namespace http://www.dft.gov.uk/naptan/
type StopAreaTypeEnumeration
properties
isRef 0
content simple
facets
enumeration GPBS
enumeration pairedOnStreetBusStops
enumeration GCLS
enumeration clusteredOnStreetBusStops
enumeration GAIR
enumeration airportBuilding
enumeration GBCS
enumeration busOrCoachStation
enumeration GFTD
enumeration ferryTerminalOrDockBuilding
enumeration GTMU
enumeration tramMetroOrUndergroundStation
enumeration GRLS
enumeration railwayStation
enumeration GMLT
enumeration multimodaInterchange
enumeration GOTH
enumeration otherStructure
enumeration GCCH
enumeration coachCoverage
annotation
documentation 
Classification of the area. Enumerated value.
source
<xsd:element name="StopAreaType" type="StopAreaTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Classification of the area. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopAreaStructure/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 
Spatial coordinates of the area. @Precision.
source
<xsd:element name="Location" type="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>Spatial coordinates of the area. @Precision.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopAreaVersionedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of StopAreaCodeType
properties
base StopAreaCodeType
used by
element StopAreaRefsStructure/StopAreaRef
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
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 versioned direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.
source
<xsd:complexType name="StopAreaVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a versioned direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="StopAreaCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType StopAreaWrappedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopAreaRef
annotation
documentation 
Data type for a child reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.
source
<xsd:complexType name="StopAreaWrappedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a child reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopAreaRef" type="StopAreaRefStructure">
      <xsd:annotation>
        <xsd:documentation>Reference to an area of NaPTAN stops.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopAreaWrappedRefStructure/StopAreaRef
diagram
namespace http://www.dft.gov.uk/naptan/
type StopAreaRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
annotation
documentation 
Reference to an area of NaPTAN stops.
source
<xsd:element name="StopAreaRef" type="StopAreaRefStructure">
  <xsd:annotation>
    <xsd:documentation>Reference to an area of NaPTAN stops.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopClassificationStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopType OnStreet OffStreet
used by
element StopPointStructure/StopClassification
annotation
documentation 
Data type for Type of stop. Some stop types have required subelements.
source
<xsd:complexType name="StopClassificationStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for Type of stop. Some stop types have required subelements.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopType" type="StopTypeEnumeration">
      <xsd:annotation>
        <xsd:documentation>Classification of the stop as one of the NaPTAN stop types. Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:choice>
      <xsd:element name="OnStreet">
        <xsd:annotation>
          <xsd:documentation>On street access point.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:choice>
            <xsd:element name="Bus">
              <xsd:annotation>
                <xsd:documentation>A bus, coach or tram stop.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="BusStopType" type="BusStopTypeEnumeration">
                    <xsd:annotation>
                      <xsd:documentation>Legacy classification of bus stop sub type. Enumerated value.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                  <xsd:element name="TimingStatus" type="TimingStatusEnumeration">
                    <xsd:annotation>
                      <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                  <xsd:group ref="BusStopClassificationGroup"/>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="Taxi">
              <xsd:annotation>
                <xsd:documentation>A taxi rank.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:choice>
                  <xsd:element name="TaxiRank" type="EmptyType">
                    <xsd:annotation>
                      <xsd:documentation>[TXR] The head of a taxi rank. </xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                  <xsd:element name="SharedTaxiRank" type="EmptyType">
                    <xsd:annotation>
                      <xsd:documentation>[STR] The head of a shared taxi rank. </xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                </xsd:choice>
              </xsd:complexType>
            </xsd:element>
          </xsd:choice>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="OffStreet">
        <xsd:annotation>
          <xsd:documentation>Station, interchange or other off-street access point.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:choice>
            <xsd:element name="Air">
              <xsd:annotation>
                <xsd:documentation>An airport PTAN.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:choice>
                    <xsd:element name="Entrance" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[AIR] Airport entrance. </xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="AccessArea" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[GAT] Airport interchange area.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:choice>
                  <xsd:element name="AnnotatedAirRef" type="AnnotatedAirRefStructure" minOccurs="0">
                    <xsd:annotation>
                      <xsd:documentation>Collation with other reference systems.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="Ferry">
              <xsd:annotation>
                <xsd:documentation>A ferry terminal or dock PTAN.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:choice>
                    <xsd:element name="Entrance" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[FTD] Ferry terminal or dock entrance. </xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="AccessArea" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[FER] Ferry or port interchange area.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Berth" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[FBT] Ferry berth.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:choice>
                  <xsd:element name="AnnotatedFerryRef" type="AnnotatedFerryRefStructure" minOccurs="0">
                    <xsd:annotation>
                      <xsd:documentation>Collation with other industry reference systems</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="Rail">
              <xsd:annotation>
                <xsd:documentation>A railway station PTAN.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:choice>
                    <xsd:element name="Entrance" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[RSE] Railway station entrance.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="AccessArea" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[RLY] Railway interchange area away from entrance.  </xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Platform" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[RPL] Specific platform.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:choice>
                  <xsd:element name="AnnotatedRailRef" type="AnnotatedRailRefStructure" minOccurs="0" maxOccurs="unbounded">
                    <xsd:annotation>
                      <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="Metro">
              <xsd:annotation>
                <xsd:documentation>A metro, tram or underground station PTAN.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:choice>
                    <xsd:element name="Entrance" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[TMU] Metro, tram or underground entrance.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="AccessArea" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[MET] Metro, tram or underground interchange area.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Platform" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[PLT] Metro, tram or underground platform.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:choice>
                  <xsd:element name="AnnotatedMetroRef" type="AnnotatedMetroRefStructure" minOccurs="0">
                    <xsd:annotation>
                      <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
            <xsd:element name="BusAndCoach">
              <xsd:annotation>
                <xsd:documentation>A coach station PTAN.</xsd:documentation>
              </xsd:annotation>
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:choice>
                    <xsd:element name="Entrance" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[BCE] Bus or Coach station entrance.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="AccessArea" type="EmptyType">
                      <xsd:annotation>
                        <xsd:documentation>[BST] Bus or Coach station non-specific access area.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Bay">
                      <xsd:annotation>
                        <xsd:documentation>[BCS - MKD] Bay, stand or stance within a bus or coach  station.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
                            <xsd:annotation>
                              <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="VariableBay">
                      <xsd:annotation>
                        <xsd:documentation>[BCQ - MKD] Unassigned stop within a  Bus or Coach station. A specific bay will be assigned by the service. Used for variable stop allocations. Location should be the same as any BST.</xsd:documentation>
                      </xsd:annotation>
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
                            <xsd:annotation>
                              <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
                            </xsd:annotation>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:choice>
                  <xsd:element name="AnnotatedCoachRef" type="AnnotatedCoachRefStructure" minOccurs="0" maxOccurs="unbounded">
                    <xsd:annotation>
                      <xsd:documentation>Collation with other reference systems.</xsd:documentation>
                    </xsd:annotation>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:choice>
        </xsd:complexType>
      </xsd:element>
    </xsd:choice>
  </xsd:sequence>
</xsd:complexType>

element StopClassificationStructure/StopType
diagram
namespace http://www.dft.gov.uk/naptan/
type StopTypeEnumeration
properties
isRef 0
content simple
facets
enumeration AIR
enumeration airportEntrance
enumeration GAT
enumeration airAccessArea
enumeration FTD
enumeration ferryTerminalDockEntrance
enumeration FER
enumeration ferryDockAccessArea
enumeration FBT
enumeration FerryBerth
enumeration RSE
enumeration railStationEntrance
enumeration RLY
enumeration railAccessArea
enumeration RPL
enumeration railPlatform
enumeration TMU
enumeration tramMetroUndergroundStationEntrance
enumeration MET
enumeration tramMetroUndergroundAccessArea
enumeration PLT
enumeration tramMetroUndergroundPlatform
enumeration BCE
enumeration busCoachTramStationEntrance
enumeration BST
enumeration busCoachStationAccessArea
enumeration BCS
enumeration busCoachTramStationBay
enumeration BCQ
enumeration busCoachTramStationVariableBay
enumeration BCT
enumeration busCoachTramOnStreetPoint
enumeration TXR
enumeration taxiRank
enumeration STR
enumeration sharedTaxiRank
annotation
documentation 
Classification of the stop as one of the NaPTAN stop types. Enumerated value.
source
<xsd:element name="StopType" type="StopTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Classification of the stop as one of the NaPTAN stop types. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OnStreet
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Bus Taxi
annotation
documentation 
On street access point.
source
<xsd:element name="OnStreet">
  <xsd:annotation>
    <xsd:documentation>On street access point.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice>
      <xsd:element name="Bus">
        <xsd:annotation>
          <xsd:documentation>A bus, coach or tram stop.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="BusStopType" type="BusStopTypeEnumeration">
              <xsd:annotation>
                <xsd:documentation>Legacy classification of bus stop sub type. Enumerated value.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="TimingStatus" type="TimingStatusEnumeration">
              <xsd:annotation>
                <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:group ref="BusStopClassificationGroup"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="Taxi">
        <xsd:annotation>
          <xsd:documentation>A taxi rank.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:choice>
            <xsd:element name="TaxiRank" type="EmptyType">
              <xsd:annotation>
                <xsd:documentation>[TXR] The head of a taxi rank. </xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="SharedTaxiRank" type="EmptyType">
              <xsd:annotation>
                <xsd:documentation>[STR] The head of a shared taxi rank. </xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:choice>
        </xsd:complexType>
      </xsd:element>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OnStreet/Bus
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children BusStopType TimingStatus MarkedPoint UnmarkedPoint HailAndRideSection FlexibleZone
annotation
documentation 
A bus, coach or tram stop.
source
<xsd:element name="Bus">
  <xsd:annotation>
    <xsd:documentation>A bus, coach or tram stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="BusStopType" type="BusStopTypeEnumeration">
        <xsd:annotation>
          <xsd:documentation>Legacy classification of bus stop sub type. Enumerated value.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="TimingStatus" type="TimingStatusEnumeration">
        <xsd:annotation>
          <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:group ref="BusStopClassificationGroup"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OnStreet/Bus/BusStopType
diagram
namespace http://www.dft.gov.uk/naptan/
type BusStopTypeEnumeration
properties
isRef 0
content simple
facets
enumeration MKD
enumeration marked
enumeration HAR
enumeration hailAndRide
enumeration CUS
enumeration custom
enumeration FLX
enumeration flexible
annotation
documentation 
Legacy classification of bus stop sub type. Enumerated value.
source
<xsd:element name="BusStopType" type="BusStopTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Legacy classification of bus stop sub type. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OnStreet/Bus/TimingStatus
diagram
namespace http://www.dft.gov.uk/naptan/
type TimingStatusEnumeration
properties
isRef 0
content simple
facets
enumeration PPT
enumeration principlePoint
enumeration TIP
enumeration timeInfoPoint
enumeration PTP
enumeration principleTimingPoint
enumeration OTH
enumeration otherPoint
annotation
documentation 
Status of the registration of the bus stop as a timing point.  Enumerated value.
source
<xsd:element name="TimingStatus" type="TimingStatusEnumeration">
  <xsd:annotation>
    <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OnStreet/Taxi
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children TaxiRank SharedTaxiRank
annotation
documentation 
A taxi rank.
source
<xsd:element name="Taxi">
  <xsd:annotation>
    <xsd:documentation>A taxi rank.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice>
      <xsd:element name="TaxiRank" type="EmptyType">
        <xsd:annotation>
          <xsd:documentation>[TXR] The head of a taxi rank. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="SharedTaxiRank" type="EmptyType">
        <xsd:annotation>
          <xsd:documentation>[STR] The head of a shared taxi rank. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OnStreet/Taxi/TaxiRank
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[TXR] The head of a taxi rank. 
source
<xsd:element name="TaxiRank" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[TXR] The head of a taxi rank. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OnStreet/Taxi/SharedTaxiRank
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[STR] The head of a shared taxi rank. 
source
<xsd:element name="SharedTaxiRank" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[STR] The head of a shared taxi rank. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Air Ferry Rail Metro BusAndCoach
annotation
documentation 
Station, interchange or other off-street access point.
source
<xsd:element name="OffStreet">
  <xsd:annotation>
    <xsd:documentation>Station, interchange or other off-street access point.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice>
      <xsd:element name="Air">
        <xsd:annotation>
          <xsd:documentation>An airport PTAN.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:choice>
              <xsd:element name="Entrance" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[AIR] Airport entrance. </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="AccessArea" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[GAT] Airport interchange area.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:choice>
            <xsd:element name="AnnotatedAirRef" type="AnnotatedAirRefStructure" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>Collation with other reference systems.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="Ferry">
        <xsd:annotation>
          <xsd:documentation>A ferry terminal or dock PTAN.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:choice>
              <xsd:element name="Entrance" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[FTD] Ferry terminal or dock entrance. </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="AccessArea" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[FER] Ferry or port interchange area.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="Berth" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[FBT] Ferry berth.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:choice>
            <xsd:element name="AnnotatedFerryRef" type="AnnotatedFerryRefStructure" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>Collation with other industry reference systems</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="Rail">
        <xsd:annotation>
          <xsd:documentation>A railway station PTAN.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:choice>
              <xsd:element name="Entrance" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[RSE] Railway station entrance.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="AccessArea" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[RLY] Railway interchange area away from entrance.  </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="Platform" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[RPL] Specific platform.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:choice>
            <xsd:element name="AnnotatedRailRef" type="AnnotatedRailRefStructure" minOccurs="0" maxOccurs="unbounded">
              <xsd:annotation>
                <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="Metro">
        <xsd:annotation>
          <xsd:documentation>A metro, tram or underground station PTAN.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:choice>
              <xsd:element name="Entrance" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[TMU] Metro, tram or underground entrance.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="AccessArea" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[MET] Metro, tram or underground interchange area.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="Platform" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[PLT] Metro, tram or underground platform.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:choice>
            <xsd:element name="AnnotatedMetroRef" type="AnnotatedMetroRefStructure" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="BusAndCoach">
        <xsd:annotation>
          <xsd:documentation>A coach station PTAN.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:choice>
              <xsd:element name="Entrance" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[BCE] Bus or Coach station entrance.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="AccessArea" type="EmptyType">
                <xsd:annotation>
                  <xsd:documentation>[BST] Bus or Coach station non-specific access area.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="Bay">
                <xsd:annotation>
                  <xsd:documentation>[BCS - MKD] Bay, stand or stance within a bus or coach  station.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
                      <xsd:annotation>
                        <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="VariableBay">
                <xsd:annotation>
                  <xsd:documentation>[BCQ - MKD] Unassigned stop within a  Bus or Coach station. A specific bay will be assigned by the service. Used for variable stop allocations. Location should be the same as any BST.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
                      <xsd:annotation>
                        <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
                      </xsd:annotation>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:choice>
            <xsd:element name="AnnotatedCoachRef" type="AnnotatedCoachRefStructure" minOccurs="0" maxOccurs="unbounded">
              <xsd:annotation>
                <xsd:documentation>Collation with other reference systems.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/Air
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Entrance AccessArea AnnotatedAirRef
annotation
documentation 
An airport PTAN.
source
<xsd:element name="Air">
  <xsd:annotation>
    <xsd:documentation>An airport PTAN.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:element name="Entrance" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[AIR] Airport entrance. </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AccessArea" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[GAT] Airport interchange area.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="AnnotatedAirRef" type="AnnotatedAirRefStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Collation with other reference systems.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/Air/Entrance
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[AIR] Airport entrance. 
source
<xsd:element name="Entrance" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[AIR] Airport entrance. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Air/AccessArea
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[GAT] Airport interchange area.
source
<xsd:element name="AccessArea" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[GAT] Airport interchange area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Air/AnnotatedAirRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AnnotatedAirRefStructure
properties
isRef 0
content complex
children IataRef Name
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 other reference systems.
source
<xsd:element name="AnnotatedAirRef" type="AnnotatedAirRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collation with other reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Ferry
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Entrance AccessArea Berth AnnotatedFerryRef
annotation
documentation 
A ferry terminal or dock PTAN.
source
<xsd:element name="Ferry">
  <xsd:annotation>
    <xsd:documentation>A ferry terminal or dock PTAN.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:element name="Entrance" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[FTD] Ferry terminal or dock entrance. </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AccessArea" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[FER] Ferry or port interchange area.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Berth" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[FBT] Ferry berth.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="AnnotatedFerryRef" type="AnnotatedFerryRefStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Collation with other industry reference systems</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/Ferry/Entrance
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[FTD] Ferry terminal or dock entrance. 
source
<xsd:element name="Entrance" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[FTD] Ferry terminal or dock entrance. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Ferry/AccessArea
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[FER] Ferry or port interchange area.
source
<xsd:element name="AccessArea" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[FER] Ferry or port interchange area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Ferry/Berth
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[FBT] Ferry berth.
source
<xsd:element name="Berth" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[FBT] Ferry berth.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Ferry/AnnotatedFerryRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AnnotatedFerryRefStructure
properties
isRef 0
content complex
children FerryRef Name Location
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 other industry reference systems
source
<xsd:element name="AnnotatedFerryRef" type="AnnotatedFerryRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collation with other industry reference systems</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Rail
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Entrance AccessArea Platform AnnotatedRailRef
annotation
documentation 
A railway station PTAN.
source
<xsd:element name="Rail">
  <xsd:annotation>
    <xsd:documentation>A railway station PTAN.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:element name="Entrance" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[RSE] Railway station entrance.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AccessArea" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[RLY] Railway interchange area away from entrance.  </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Platform" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[RPL] Specific platform.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="AnnotatedRailRef" type="AnnotatedRailRefStructure" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/Rail/Entrance
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[RSE] Railway station entrance.
source
<xsd:element name="Entrance" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[RSE] Railway station entrance.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Rail/AccessArea
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[RLY] Railway interchange area away from entrance.  
source
<xsd:element name="AccessArea" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[RLY] Railway interchange area away from entrance.  </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Rail/Platform
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[RPL] Specific platform.
source
<xsd:element name="Platform" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[RPL] Specific platform.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Rail/AnnotatedRailRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AnnotatedRailRefStructure
properties
isRef 0
content complex
children TiplocRef CrsRef StationName Location
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 other industry reference systems.
source
<xsd:element name="AnnotatedRailRef" type="AnnotatedRailRefStructure" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Metro
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Entrance AccessArea Platform AnnotatedMetroRef
annotation
documentation 
A metro, tram or underground station PTAN.
source
<xsd:element name="Metro">
  <xsd:annotation>
    <xsd:documentation>A metro, tram or underground station PTAN.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:element name="Entrance" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[TMU] Metro, tram or underground entrance.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AccessArea" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[MET] Metro, tram or underground interchange area.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Platform" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[PLT] Metro, tram or underground platform.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="AnnotatedMetroRef" type="AnnotatedMetroRefStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/Metro/Entrance
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[TMU] Metro, tram or underground entrance.
source
<xsd:element name="Entrance" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[TMU] Metro, tram or underground entrance.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Metro/AccessArea
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[MET] Metro, tram or underground interchange area.
source
<xsd:element name="AccessArea" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[MET] Metro, tram or underground interchange area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Metro/Platform
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[PLT] Metro, tram or underground platform.
source
<xsd:element name="Platform" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[PLT] Metro, tram or underground platform.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/Metro/AnnotatedMetroRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AnnotatedMetroRefStructure
properties
isRef 0
content complex
children MetroRef Name Location
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 other industry reference systems.
source
<xsd:element name="AnnotatedMetroRef" type="AnnotatedMetroRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Entrance AccessArea Bay VariableBay AnnotatedCoachRef
annotation
documentation 
A coach station PTAN.
source
<xsd:element name="BusAndCoach">
  <xsd:annotation>
    <xsd:documentation>A coach station PTAN.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:choice>
        <xsd:element name="Entrance" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[BCE] Bus or Coach station entrance.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="AccessArea" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>[BST] Bus or Coach station non-specific access area.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Bay">
          <xsd:annotation>
            <xsd:documentation>[BCS - MKD] Bay, stand or stance within a bus or coach  station.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="VariableBay">
          <xsd:annotation>
            <xsd:documentation>[BCQ - MKD] Unassigned stop within a  Bus or Coach station. A specific bay will be assigned by the service. Used for variable stop allocations. Location should be the same as any BST.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="AnnotatedCoachRef" type="AnnotatedCoachRefStructure" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Collation with other reference systems.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/Entrance
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[BCE] Bus or Coach station entrance.
source
<xsd:element name="Entrance" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[BCE] Bus or Coach station entrance.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/AccessArea
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
[BST] Bus or Coach station non-specific access area.
source
<xsd:element name="AccessArea" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>[BST] Bus or Coach station non-specific access area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/Bay
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children TimingStatus
annotation
documentation 
[BCS - MKD] Bay, stand or stance within a bus or coach  station.
source
<xsd:element name="Bay">
  <xsd:annotation>
    <xsd:documentation>[BCS - MKD] Bay, stand or stance within a bus or coach  station.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/Bay/TimingStatus
diagram
namespace http://www.dft.gov.uk/naptan/
type TimingStatusEnumeration
properties
isRef 0
content simple
facets
enumeration PPT
enumeration principlePoint
enumeration TIP
enumeration timeInfoPoint
enumeration PTP
enumeration principleTimingPoint
enumeration OTH
enumeration otherPoint
annotation
documentation 
Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.
source
<xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/VariableBay
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children TimingStatus
annotation
documentation 
[BCQ - MKD] Unassigned stop within a  Bus or Coach station. A specific bay will be assigned by the service. Used for variable stop allocations. Location should be the same as any BST.
source
<xsd:element name="VariableBay">
  <xsd:annotation>
    <xsd:documentation>[BCQ - MKD] Unassigned stop within a  Bus or Coach station. A specific bay will be assigned by the service. Used for variable stop allocations. Location should be the same as any BST.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/VariableBay/TimingStatus
diagram
namespace http://www.dft.gov.uk/naptan/
type TimingStatusEnumeration
properties
isRef 0
content simple
facets
enumeration PPT
enumeration principlePoint
enumeration TIP
enumeration timeInfoPoint
enumeration PTP
enumeration principleTimingPoint
enumeration OTH
enumeration otherPoint
annotation
documentation 
Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.
source
<xsd:element name="TimingStatus" type="TimingStatusEnumeration" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Status of the registration of the bus stop as a timing point.  Enumerated value. Default is PTP.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopClassificationStructure/OffStreet/BusAndCoach/AnnotatedCoachRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AnnotatedCoachRefStructure
properties
isRef 0
content complex
children CoachRef Name LongName Location
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 other reference systems.
source
<xsd:element name="AnnotatedCoachRef" type="AnnotatedCoachRefStructure" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Collation with other reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopPointRefsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopPointRef
annotation
documentation 
Data type for a  collection of one or more stop refs.
source
<xsd:complexType name="StopPointRefsStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a  collection of one or more stop refs.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopPointRef" type="StopPointVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopPointRefsStructure/StopPointRef
diagram
namespace http://www.dft.gov.uk/naptan/
type StopPointVersionedRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Reference to a NaPTAN stop.
source
<xsd:element name="StopPointRef" type="StopPointVersionedRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopPointRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of AtcoCodeType
properties
base AtcoCodeType
used by
elements StopPointWrappedRefStructure/StopPointRef PlaceRefStructure/StopPointRef
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
annotation
documentation 
Data type forA direct reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.
source
<xsd:complexType name="StopPointRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type forA direct reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="AtcoCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType StopPointsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopPoint
used by
element NaPTAN/StopPoints
annotation
documentation 
A collection of one or more stops.
source
<xsd:complexType name="StopPointsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more stops.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopPoint" type="StopPointStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A NaPTAN stop definition. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopPointsStructure/StopPoint
diagram
namespace http://www.dft.gov.uk/naptan/
type StopPointStructure
properties
isRef 0
content complex
children AtcoCode NaptanCode PlateCode PrivateCode CleardownCode Descriptor AlternativeDescriptors Place StopClassification StopAreas AdministrativeAreaRef PlusbusZones Notes StopAvailability
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A NaPTAN stop definition. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.
source
<xsd:element name="StopPoint" type="StopPointStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A NaPTAN stop definition. @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopPointStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children AtcoCode NaptanCode PlateCode PrivateCode CleardownCode Descriptor AlternativeDescriptors Place StopClassification StopAreas AdministrativeAreaRef PlusbusZones Notes StopAvailability
used by
element StopPointsStructure/StopPoint
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A local NaPTAN stop definition.
source
<xsd:complexType name="StopPointStructure">
  <xsd:annotation>
    <xsd:documentation>A local NaPTAN stop definition.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="AtcoCode" type="AtcoCodeType">
      <xsd:annotation>
        <xsd:documentation>Full NaPTAN stop identifier that uniquely identifies the stop within the UK. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:group ref="StopIdentifierGroup"/>
    <xsd:element name="Descriptor" type="DescriptorStructure">
      <xsd:annotation>
        <xsd:documentation>Structured textual description of stop.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AlternativeDescriptors" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Alternative name for stop. Can be used to provide both aliases and bilingual support.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Descriptor" maxOccurs="unbounded">
            <xsd:annotation>
              <xsd:documentation>Alternative structured description of stop.  @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
              <xsd:complexContent>
                <xsd:extension base="DescriptorStructure">
                  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
                </xsd:extension>
              </xsd:complexContent>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="Place">
      <xsd:annotation>
        <xsd:documentation>Place where stop is located.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="NptgLocalityRef" type="NptgLocalityRefStructure">
            <xsd:annotation>
              <xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>
              <xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="AlternativeNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Additional NPTG localities within which stop lies.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="MainNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>NPTG Localities for which the stop is a mainstop point, that is one of the main or most central PTANs. </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="Suburb" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Suburb within which stop lies. @lang.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="Town" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Town within which stop lies. @lang.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="LocalityCentre" type="xsd:boolean" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Whether the locality is a centre or not.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="Location">
            <xsd:annotation>
              <xsd:documentation>Spatial coordinates of stop.             @precision.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
              <xsd:complexContent>
                <xsd:extension base="LocationStructure"/>
              </xsd:complexContent>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="StopClassification" type="StopClassificationStructure">
      <xsd:annotation>
        <xsd:documentation>Classification, e.g. on-street bus stop; platform at a railway station.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="StopAreas" type="StopAreaRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The StopAreas to which the stop belongs.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaRefStructure">
      <xsd:annotation>
        <xsd:documentation>NPTG administrative area that manages stop data.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="PlusbusZones" type="PlusbusZoneRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>PlusbusZones that stop belongs to.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Notes" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Notes about a stop. @lang</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="StopAvailability" type="StopValidityStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
</xsd:complexType>

element StopPointStructure/AtcoCode
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 
Full NaPTAN stop identifier that uniquely identifies the stop within the UK. 
source
<xsd:element name="AtcoCode" type="AtcoCodeType">
  <xsd:annotation>
    <xsd:documentation>Full NaPTAN stop identifier that uniquely identifies the stop within the UK. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Descriptor
diagram
namespace http://www.dft.gov.uk/naptan/
type DescriptorStructure
properties
isRef 0
content complex
children CommonName ShortCommonName Landmark Street Crossing Indicator
annotation
documentation 
Structured textual description of stop.
source
<xsd:element name="Descriptor" type="DescriptorStructure">
  <xsd:annotation>
    <xsd:documentation>Structured textual description of stop.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/AlternativeDescriptors
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Descriptor
annotation
documentation 
Alternative name for stop. Can be used to provide both aliases and bilingual support.
source
<xsd:element name="AlternativeDescriptors" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Alternative name for stop. Can be used to provide both aliases and bilingual support.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Descriptor" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Alternative structured description of stop.  @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:complexContent>
            <xsd:extension base="DescriptorStructure">
              <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
            </xsd:extension>
          </xsd:complexContent>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopPointStructure/AlternativeDescriptors/Descriptor
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of DescriptorStructure
properties
isRef 0
content complex
children CommonName ShortCommonName Landmark Street Crossing Indicator
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Alternative structured description of stop.  @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.
source
<xsd:element name="Descriptor" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Alternative structured description of stop.  @CreationDateTime, @ModificationDateTime, @Modification, @RevisionNumber, @Status.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="DescriptorStructure">
        <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element StopPointStructure/Place
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children NptgLocalityRef AlternativeNptgLocalities MainNptgLocalities Suburb Town LocalityCentre Location
annotation
documentation 
Place where stop is located.
source
<xsd:element name="Place">
  <xsd:annotation>
    <xsd:documentation>Place where stop is located.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="NptgLocalityRef" type="NptgLocalityRefStructure">
        <xsd:annotation>
          <xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>
          <xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="AlternativeNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Additional NPTG localities within which stop lies.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="MainNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>NPTG Localities for which the stop is a mainstop point, that is one of the main or most central PTANs. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Suburb" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Suburb within which stop lies. @lang.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Town" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Town within which stop lies. @lang.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="LocalityCentre" type="xsd:boolean" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Whether the locality is a centre or not.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Location">
        <xsd:annotation>
          <xsd:documentation>Spatial coordinates of stop.             @precision.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:complexContent>
            <xsd:extension base="LocationStructure"/>
          </xsd:complexContent>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element StopPointStructure/Place/NptgLocalityRef
diagram
namespace http://www.dft.gov.uk/naptan/
type NptgLocalityRefStructure
properties
isRef 0
content complex
facets
pattern [EN][0S][0-9]{6}
annotation
documentation 
NPTG locality within which stop lies.
documentation 
NPTG locality within which stop lies.
source
<xsd:element name="NptgLocalityRef" type="NptgLocalityRefStructure">
  <xsd:annotation>
    <xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>
    <xsd:documentation>NPTG locality within which stop lies.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/AlternativeNptgLocalities
diagram
namespace http://www.dft.gov.uk/naptan/
type NptgLocalityRefsStructure
properties
isRef 0
content complex
children NptgLocalityRef
annotation
documentation 
Additional NPTG localities within which stop lies.
source
<xsd:element name="AlternativeNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Additional NPTG localities within which stop lies.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/MainNptgLocalities
diagram
namespace http://www.dft.gov.uk/naptan/
type NptgLocalityRefsStructure
properties
isRef 0
content complex
children NptgLocalityRef
annotation
documentation 
NPTG Localities for which the stop is a mainstop point, that is one of the main or most central PTANs. 
source
<xsd:element name="MainNptgLocalities" type="NptgLocalityRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>NPTG Localities for which the stop is a mainstop point, that is one of the main or most central PTANs. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/Suburb
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 
Suburb within which stop lies. @lang.
source
<xsd:element name="Suburb" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Suburb within which stop lies. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/Town
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 
Town within which stop lies. @lang.
source
<xsd:element name="Town" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Town within which stop lies. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/LocalityCentre
diagram
namespace http://www.dft.gov.uk/naptan/
type xsd:boolean
properties
isRef 0
content simple
annotation
documentation 
Whether the locality is a centre or not.
source
<xsd:element name="LocalityCentre" type="xsd:boolean" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Whether the locality is a centre or not.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/Location
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of 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 
Spatial coordinates of stop.             @precision.
source
<xsd:element name="Location">
  <xsd:annotation>
    <xsd:documentation>Spatial coordinates of stop.             @precision.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="LocationStructure"/>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element StopPointStructure/StopClassification
diagram
namespace http://www.dft.gov.uk/naptan/
type StopClassificationStructure
properties
isRef 0
content complex
children StopType OnStreet OffStreet
annotation
documentation 
Classification, e.g. on-street bus stop; platform at a railway station.
source
<xsd:element name="StopClassification" type="StopClassificationStructure">
  <xsd:annotation>
    <xsd:documentation>Classification, e.g. on-street bus stop; platform at a railway station.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/StopAreas
diagram
namespace http://www.dft.gov.uk/naptan/
type StopAreaRefsStructure
properties
isRef 0
content complex
children StopAreaRef
annotation
documentation 
The StopAreas to which the stop belongs.
source
<xsd:element name="StopAreas" type="StopAreaRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The StopAreas to which the stop belongs.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/AdministrativeAreaRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AdministrativeAreaRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}
annotation
documentation 
NPTG administrative area that manages stop data.
source
<xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaRefStructure">
  <xsd:annotation>
    <xsd:documentation>NPTG administrative area that manages stop data.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/PlusbusZones
diagram
namespace http://www.dft.gov.uk/naptan/
type PlusbusZoneRefsStructure
properties
isRef 0
content complex
children PlusbusZoneRef
annotation
documentation 
PlusbusZones that stop belongs to.
source
<xsd:element name="PlusbusZones" type="PlusbusZoneRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>PlusbusZones that stop belongs to.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Notes
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 
Notes about a stop. @lang
source
<xsd:element name="Notes" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Notes about a stop. @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/StopAvailability
diagram
namespace http://www.dft.gov.uk/naptan/
type StopValidityStructure
properties
isRef 0
content complex
children StopValidity
annotation
documentation 
Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely.
source
<xsd:element name="StopAvailability" type="StopValidityStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopPointVersionedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of AtcoCodeType
properties
base AtcoCodeType
used by
elements StopAreaStructure/ParentStopAreaRef StopPointRefsStructure/StopPointRef
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
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 versioned reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.
source
<xsd:complexType name="StopPointVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a versioned reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="AtcoCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType StopPointWrappedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopPointRef
used by
element StopValidityStructure/StopValidity/Transferred
annotation
documentation 
Data type for a child reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.
source
<xsd:complexType name="StopPointWrappedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a child reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopPointRef" type="StopPointRefStructure">
      <xsd:annotation>
        <xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopPointWrappedRefStructure/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 
Reference to a NaPTAN stop.
source
<xsd:element name="StopPointRef" type="StopPointRefStructure">
  <xsd:annotation>
    <xsd:documentation>Reference to a NaPTAN stop.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType StopValidityStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StopValidity
used by
element StopPointStructure/StopAvailability
annotation
documentation 
Data type for Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely, 
source
<xsd:complexType name="StopValidityStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for Availability of stop for use. Note that the Status attribute on StopPoint should correspond with the StopValidity in effect at the ModificationDateTime. If no explicit stop validity is present, stop is assumed to have validity as indicated by Status attribute indefinitely, </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StopValidity" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Description of  periods for stop activity. Stop validity elements should be listed in historical order of Date Range Start date. </xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="DateRange" type="HalfOpenDateRangeStructure">
            <xsd:annotation>
              <xsd:documentation>Validity period for which Active/ Suspended or Transferred status applies. Each StartDate closes any previous open ended date range of a previous validity element.   </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:choice>
            <xsd:annotation>
              <xsd:documentation>Status</xsd:documentation>
            </xsd:annotation>
            <xsd:element name="Active" type="EmptyType">
              <xsd:annotation>
                <xsd:documentation>Stop is active during the period defined by date range.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="Suspended" type="EmptyType">
              <xsd:annotation>
                <xsd:documentation>Stop is suspended during the period specified by date range.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="Transferred" type="StopPointWrappedRefStructure">
              <xsd:annotation>
                <xsd:documentation>Stop is suspended during period specified by date range, and use is transferred to the indicated stop. Transference should not be cyclic. </xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:choice>
          <xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Note explaining any reason for activation, transfer or suspension. @lang.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
        <xsd:attributeGroup ref="ModificationDetailsGroup"/>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element StopValidityStructure/StopValidity
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children DateRange Active Suspended Transferred Note
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Description of  periods for stop activity. Stop validity elements should be listed in historical order of Date Range Start date. 
source
<xsd:element name="StopValidity" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Description of  periods for stop activity. Stop validity elements should be listed in historical order of Date Range Start date. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="DateRange" type="HalfOpenDateRangeStructure">
        <xsd:annotation>
          <xsd:documentation>Validity period for which Active/ Suspended or Transferred status applies. Each StartDate closes any previous open ended date range of a previous validity element.   </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Status</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="Active" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>Stop is active during the period defined by date range.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Suspended" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>Stop is suspended during the period specified by date range.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Transferred" type="StopPointWrappedRefStructure">
          <xsd:annotation>
            <xsd:documentation>Stop is suspended during period specified by date range, and use is transferred to the indicated stop. Transference should not be cyclic. </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Note explaining any reason for activation, transfer or suspension. @lang.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
    <xsd:attributeGroup ref="ModificationDetailsGroup"/>
  </xsd:complexType>
</xsd:element>

element StopValidityStructure/StopValidity/DateRange
diagram
namespace http://www.dft.gov.uk/naptan/
type HalfOpenDateRangeStructure
properties
isRef 0
content complex
children StartDate EndDate
annotation
documentation 
Validity period for which Active/ Suspended or Transferred status applies. Each StartDate closes any previous open ended date range of a previous validity element.   
source
<xsd:element name="DateRange" type="HalfOpenDateRangeStructure">
  <xsd:annotation>
    <xsd:documentation>Validity period for which Active/ Suspended or Transferred status applies. Each StartDate closes any previous open ended date range of a previous validity element.   </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopValidityStructure/StopValidity/Active
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Stop is active during the period defined by date range.
source
<xsd:element name="Active" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>Stop is active during the period defined by date range.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopValidityStructure/StopValidity/Suspended
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Stop is suspended during the period specified by date range.
source
<xsd:element name="Suspended" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>Stop is suspended during the period specified by date range.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopValidityStructure/StopValidity/Transferred
diagram
namespace http://www.dft.gov.uk/naptan/
type StopPointWrappedRefStructure
properties
isRef 0
content complex
children StopPointRef
annotation
documentation 
Stop is suspended during period specified by date range, and use is transferred to the indicated stop. Transference should not be cyclic. 
source
<xsd:element name="Transferred" type="StopPointWrappedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Stop is suspended during period specified by date range, and use is transferred to the indicated stop. Transference should not be cyclic. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopValidityStructure/StopValidity/Note
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 
Note explaining any reason for activation, transfer or suspension. @lang.
source
<xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Note explaining any reason for activation, transfer or suspension. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

simpleType AtcoCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:string
used by
elements StopPointStructure/AtcoCode AnnotatedStopPointRefStructure/StopPointRef
complexTypes StopPointRefStructure StopPointVersionedRefStructure
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
annotation
documentation 
Unique identifier of a Stop - ATCO recommended coding as defined in the NaPTAN specification.
source
<xsd:simpleType name="AtcoCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of a Stop - ATCO recommended coding as defined in the NaPTAN specification.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9]{3}[A-Za-z0-9]{2,9}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType BusStopTypeEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
element StopClassificationStructure/OnStreet/Bus/BusStopType
facets
enumeration MKD
enumeration marked
enumeration HAR
enumeration hailAndRide
enumeration CUS
enumeration custom
enumeration FLX
enumeration flexible
annotation
documentation 
Allowed values for classifying Bus Stops.
source
<xsd:simpleType name="BusStopTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for classifying Bus Stops.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="MKD">
      <xsd:annotation>
        <xsd:documentation>Marked (pole, shelter etc).</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="marked"/>
    <xsd:enumeration value="HAR">
      <xsd:annotation>
        <xsd:documentation>Hail and Ride - requires Hail and Ride section.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="hailAndRide"/>
    <xsd:enumeration value="CUS">
      <xsd:annotation>
        <xsd:documentation>Custom (unmarked, or only marked on road).</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="custom"/>
    <xsd:enumeration value="FLX">
      <xsd:annotation>
        <xsd:documentation>Flexible zone.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="flexible"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType CleardownCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:positiveInteger
used by
element StopIdentifierGroup/CleardownCode
annotation
documentation 
Number associated with stop used for wireless cleardown systems. 20 bit number
source
<xsd:simpleType name="CleardownCodeType">
  <xsd:annotation>
    <xsd:documentation>Number associated with stop used for wireless cleardown systems. 20 bit number</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:positiveInteger"/>
</xsd:simpleType>

simpleType CrsCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
element AnnotatedRailRefStructure/CrsRef
facets
length 3
pattern [A-Z]{3}
annotation
documentation 
Three character CRS code identifying a station.
source
<xsd:simpleType name="CrsCodeType">
  <xsd:annotation>
    <xsd:documentation>Three character CRS code identifying a station.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:length value="3"/>
    <xsd:pattern value="[A-Z]{3}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType IataCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
used by
element AnnotatedAirRefStructure/IataRef
annotation
documentation 
International Air Transport Association code identifying an airport.
source
<xsd:simpleType name="IataCodeType">
  <xsd:annotation>
    <xsd:documentation>International Air Transport Association code identifying an airport.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType InterchangeActivityEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration transferOnly
enumeration change
enumeration through
enumeration split
enumeration join
annotation
documentation 
Relationship between incoming and outgoing journeys at an interchange.
source
<xsd:simpleType name="InterchangeActivityEnumeration">
  <xsd:annotation>
    <xsd:documentation>Relationship between incoming and outgoing journeys at an interchange.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="transferOnly">
      <xsd:annotation>
        <xsd:documentation>Passengers may only transfer to another service at interchange. The may not start or end their journey.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="change">
      <xsd:annotation>
        <xsd:documentation>Passengers may transfer to another service at interchange. The may also start or end their journey.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="through">
      <xsd:annotation>
        <xsd:documentation>Passengers will  transfer to another service by remaining on vehicle. They may also start or end their journey.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="split">
      <xsd:annotation>
        <xsd:documentation>Service divides into different journeys at interchange. Passengers must choose appropriate coach. They may also start or end their journey.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="join">
      <xsd:annotation>
        <xsd:documentation>Service merges two different journeys at interchange. Passengers may also start or end their journey.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType JourneyStopTypeEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration origin
enumeration intermediate
enumeration destination
enumeration originDestination
annotation
documentation 
Allowed values for use of stop in journey.
source
<xsd:simpleType name="JourneyStopTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for use of stop in journey.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="origin"/>
    <xsd:enumeration value="intermediate"/>
    <xsd:enumeration value="destination"/>
    <xsd:enumeration value="originDestination"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType MetroCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
used by
element AnnotatedMetroRefStructure/MetroRef
annotation
documentation 
Code identifying a metro station.
source
<xsd:simpleType name="MetroCodeType">
  <xsd:annotation>
    <xsd:documentation>Code identifying a metro station.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType NaptanAlphaPrefixType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
length 3
pattern [a-z]{3}
annotation
documentation 
Three character SMS prefix for an area.
source
<xsd:simpleType name="NaptanAlphaPrefixType">
  <xsd:annotation>
    <xsd:documentation>Three character SMS prefix for an area.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:length value="3"/>
    <xsd:pattern value="[a-z]{3}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType NaptanCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:string
used by
element StopIdentifierGroup/NaptanCode
facets
maxLength 12
annotation
documentation 
Unique identifier of a stop for SMS and other customer facing delivery channels.
source
<xsd:simpleType name="NaptanCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of a stop for SMS and other customer facing delivery channels.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:maxLength value="12"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType NationalCoachCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
used by
element AnnotatedCoachRefStructure/CoachRef
annotation
documentation 
National Coach code identifying a coach location. Includes National Express Group codes.
source
<xsd:simpleType name="NationalCoachCodeType">
  <xsd:annotation>
    <xsd:documentation>National Coach code identifying a coach location. Includes National Express Group codes.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType NationalFerryPortCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
used by
element AnnotatedFerryRefStructure/FerryRef
annotation
documentation 
National Ferry code identifying a port.
source
<xsd:simpleType name="NationalFerryPortCodeType">
  <xsd:annotation>
    <xsd:documentation>National Ferry code identifying a port.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType NationalLocationCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
minLength 4
maxLength 7
annotation
documentation 
NLC code for a location as used by RJIS These are usually 5 or 6 digits, though letters may appear for non-station locations such as "Alton Towers". Those locations which are stations generally have NLCs ending "00" - this suffix is often omitted in booking offices.
source
<xsd:simpleType name="NationalLocationCodeType">
  <xsd:annotation>
    <xsd:documentation>NLC code for a location as used by RJIS These are usually 5 or 6 digits, though letters may appear for non-station locations such as "Alton Towers". Those locations which are stations generally have NLCs ending "00" - this suffix is often omitted in booking offices.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:minLength value="4"/>
    <xsd:maxLength value="7"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType PlateCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:string
used by
element StopIdentifierGroup/PlateCode
annotation
documentation 
The plate identifier placed on the stop.
source
<xsd:simpleType name="PlateCodeType">
  <xsd:annotation>
    <xsd:documentation>The plate identifier placed on the stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string"/>
</xsd:simpleType>

simpleType StopActivityEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration pickUp
enumeration setDown
enumeration pickUpAndSetDown
annotation
documentation 
Activity undertaken by vehicle at a stop.
source
<xsd:simpleType name="StopActivityEnumeration">
  <xsd:annotation>
    <xsd:documentation>Activity undertaken by vehicle at a stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="pickUp"/>
    <xsd:enumeration value="setDown"/>
    <xsd:enumeration value="pickUpAndSetDown"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType StopAreaCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:string
used by
element StopAreaStructure/StopAreaCode
complexTypes StopAreaRefStructure StopAreaVersionedRefStructure
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
annotation
documentation 
The ATCO recommended coding for stop areas (groups) as defined in the NaPTAN specification.
source
<xsd:simpleType name="StopAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>The ATCO recommended coding for stop areas (groups) as defined in the NaPTAN specification.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9]{3}[G0][A-Za-z0-9]{1,8}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType StopAreaTypeEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
element StopAreaStructure/StopAreaType
facets
enumeration GPBS
enumeration pairedOnStreetBusStops
enumeration GCLS
enumeration clusteredOnStreetBusStops
enumeration GAIR
enumeration airportBuilding
enumeration GBCS
enumeration busOrCoachStation
enumeration GFTD
enumeration ferryTerminalOrDockBuilding
enumeration GTMU
enumeration tramMetroOrUndergroundStation
enumeration GRLS
enumeration railwayStation
enumeration GMLT
enumeration multimodaInterchange
enumeration GOTH
enumeration otherStructure
enumeration GCCH
enumeration coachCoverage
annotation
documentation 
Allowed values for classifying NaPTAN Stop Areas (groups).
source
<xsd:simpleType name="StopAreaTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for classifying NaPTAN Stop Areas (groups).</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="GPBS">
      <xsd:annotation>
        <xsd:documentation>Paired on-street Bus / Coach / Tram stops.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="pairedOnStreetBusStops"/>
    <xsd:enumeration value="GCLS">
      <xsd:annotation>
        <xsd:documentation>Clustered on-street Bus / Coach / Tram stops.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="clusteredOnStreetBusStops"/>
    <xsd:enumeration value="GAIR">
      <xsd:annotation>
        <xsd:documentation>Airport Building.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="airportBuilding"/>
    <xsd:enumeration value="GBCS">
      <xsd:annotation>
        <xsd:documentation>Bus / Coach Station.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="busOrCoachStation"/>
    <xsd:enumeration value="GFTD">
      <xsd:annotation>
        <xsd:documentation>Ferry Terminal / Dock Building.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="ferryTerminalOrDockBuilding"/>
    <xsd:enumeration value="GTMU">
      <xsd:annotation>
        <xsd:documentation>Tram / Metro / Underground Station.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="tramMetroOrUndergroundStation"/>
    <xsd:enumeration value="GRLS">
      <xsd:annotation>
        <xsd:documentation>Railway station.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="railwayStation"/>
    <xsd:enumeration value="GMLT">
      <xsd:annotation>
        <xsd:documentation>Multimode Interchange.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="multimodaInterchange"/>
    <xsd:enumeration value="GOTH">
      <xsd:annotation>
        <xsd:documentation>Other Structure.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="otherStructure"/>
    <xsd:enumeration value="GCCH">
      <xsd:annotation>
        <xsd:documentation>Coach Service Coverage.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="coachCoverage"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType StopTypeEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
element StopClassificationStructure/StopType
facets
enumeration AIR
enumeration airportEntrance
enumeration GAT
enumeration airAccessArea
enumeration FTD
enumeration ferryTerminalDockEntrance
enumeration FER
enumeration ferryDockAccessArea
enumeration FBT
enumeration FerryBerth
enumeration RSE
enumeration railStationEntrance
enumeration RLY
enumeration railAccessArea
enumeration RPL
enumeration railPlatform
enumeration TMU
enumeration tramMetroUndergroundStationEntrance
enumeration MET
enumeration tramMetroUndergroundAccessArea
enumeration PLT
enumeration tramMetroUndergroundPlatform
enumeration BCE
enumeration busCoachTramStationEntrance
enumeration BST
enumeration busCoachStationAccessArea
enumeration BCS
enumeration busCoachTramStationBay
enumeration BCQ
enumeration busCoachTramStationVariableBay
enumeration BCT
enumeration busCoachTramOnStreetPoint
enumeration TXR
enumeration taxiRank
enumeration STR
enumeration sharedTaxiRank
annotation
documentation 
Allowed values for classifying NaPTAN Stops.
source
<xsd:simpleType name="StopTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for classifying NaPTAN Stops.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="AIR">
      <xsd:annotation>
        <xsd:documentation>Airport Entrance.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="airportEntrance"/>
    <xsd:enumeration value="GAT">
      <xsd:annotation>
        <xsd:documentation>Air Airside Area.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="airAccessArea"/>
    <xsd:enumeration value="FTD">
      <xsd:annotation>
        <xsd:documentation>Ferry Terminal / Dock Entrance.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="ferryTerminalDockEntrance"/>
    <xsd:enumeration value="FER">
      <xsd:annotation>
        <xsd:documentation>Ferry / Dock Berth Area.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="ferryDockAccessArea"/>
    <xsd:enumeration value="FBT"/>
    <xsd:enumeration value="FerryBerth"/>
    <xsd:enumeration value="RSE">
      <xsd:annotation>
        <xsd:documentation>Rail Station Entrance.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="railStationEntrance"/>
    <xsd:enumeration value="RLY">
      <xsd:annotation>
        <xsd:documentation>Rail Platform Access Area.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="railAccessArea"/>
    <xsd:enumeration value="RPL"/>
    <xsd:enumeration value="railPlatform"/>
    <xsd:enumeration value="TMU">
      <xsd:annotation>
        <xsd:documentation>Tram / Metro / Underground Entrance.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="tramMetroUndergroundStationEntrance"/>
    <xsd:enumeration value="MET"/>
    <xsd:enumeration value="tramMetroUndergroundAccessArea"/>
    <xsd:enumeration value="PLT">
      <xsd:annotation>
        <xsd:documentation>Metro and Underground   Platform Access Area.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="tramMetroUndergroundPlatform"/>
    <xsd:enumeration value="BCE">
      <xsd:annotation>
        <xsd:documentation>Bus / Coach Station Entrance.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="busCoachTramStationEntrance"/>
    <xsd:enumeration value="BST"/>
    <xsd:enumeration value="busCoachStationAccessArea"/>
    <xsd:enumeration value="BCS">
      <xsd:annotation>
        <xsd:documentation>Bus / Coach bay / stand / stance within Bus / Coach Stations.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="busCoachTramStationBay"/>
    <xsd:enumeration value="BCQ"/>
    <xsd:enumeration value="busCoachTramStationVariableBay"/>
    <xsd:enumeration value="BCT">
      <xsd:annotation>
        <xsd:documentation>On street Bus / Coach / Tram Stop.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="busCoachTramOnStreetPoint"/>
    <xsd:enumeration value="TXR">
      <xsd:annotation>
        <xsd:documentation>Taxi Rank (head of).</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="taxiRank"/>
    <xsd:enumeration value="STR">
      <xsd:annotation>
        <xsd:documentation>Shared Taxi Rank (head of).</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="sharedTaxiRank"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType TimingStatusEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
elements StopClassificationStructure/OnStreet/Bus/TimingStatus StopClassificationStructure/OffStreet/BusAndCoach/Bay/TimingStatus StopClassificationStructure/OffStreet/BusAndCoach/VariableBay/TimingStatus
facets
enumeration PPT
enumeration principlePoint
enumeration TIP
enumeration timeInfoPoint
enumeration PTP
enumeration principleTimingPoint
enumeration OTH
enumeration otherPoint
annotation
documentation 
Allowed values for classification of the role of the stop.
source
<xsd:simpleType name="TimingStatusEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for classification of the role of the stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="PPT">
      <xsd:annotation>
        <xsd:documentation>Principal Point. This stop is part of the service registration and is liable to inspections and enforcement.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="principlePoint"/>
    <xsd:enumeration value="TIP">
      <xsd:annotation>
        <xsd:documentation>Time Info Point. This stop is not part of the service registration and is not liable to inspections or enforcement, however it is expected to be used within a timetable to identify a timing point which will not be a Principal Point.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="timeInfoPoint"/>
    <xsd:enumeration value="PTP">
      <xsd:annotation>
        <xsd:documentation>Principal and Time Info Point. This stop is a Principal Point which is expected to be also used as a timing point within a timetable.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="principleTimingPoint"/>
    <xsd:enumeration value="OTH">
      <xsd:annotation>
        <xsd:documentation>Other Bus Stop. This stop is not part of the service registration and is not liable to inspections or enforcement; it is not expected to be used as part of the timetable.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="otherPoint"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType TiplocCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
element AnnotatedRailRefStructure/TiplocRef
facets
minLength 4
maxLength 7
annotation
documentation 
Timing Point Location code. These are usually 4 to 7 uppercase letters, though numbers may be used for non-station locations such as "Shalford Signal 21". Used by train planners to identify what time trains should arrive at, depart or pass a particular point. UK rail stations always have one or more TIPLOCs, but not all TIPLOCs are located at a train station or are even on the rail network.
source
<xsd:simpleType name="TiplocCodeType">
  <xsd:annotation>
    <xsd:documentation>Timing Point Location code. These are usually 4 to 7 uppercase letters, though numbers may be used for non-station locations such as "Shalford Signal 21". Used by train planners to identify what time trains should arrive at, depart or pass a particular point. UK rail stations always have one or more TIPLOCs, but not all TIPLOCs are located at a train station or are even on the rail network.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:minLength value="4"/>
    <xsd:maxLength value="7"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType VehicleAtStopActivityEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration pickUp
enumeration setDown
enumeration pickUpAndSetDown
enumeration pass
annotation
documentation 
Activity undertaken by vehicle at a stop.
source
<xsd:simpleType name="VehicleAtStopActivityEnumeration">
  <xsd:annotation>
    <xsd:documentation>Activity undertaken by vehicle at a stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="pickUp"/>
    <xsd:enumeration value="setDown"/>
    <xsd:enumeration value="pickUpAndSetDown"/>
    <xsd:enumeration value="pass"/>
  </xsd:restriction>
</xsd:simpleType>

attributeGroup xml:specialAttrs
namespace http://www.w3.org/XML/1998/namespace
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:base        
documentation 
See http://www.w3.org/TR/xmlbase/ for
                     information about this attribute.
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.
xml:space        
source
<xsd:attributeGroup name="specialAttrs">
  <xsd:attribute ref="xml:base"/>
  <xsd:attribute ref="xml:lang"/>
  <xsd:attribute ref="xml:space"/>
</xsd:attributeGroup>

complexType AdministrativeAreaRefsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children AdministrativeAreaRef
annotation
documentation 
A collection of one or more references to NPTG administrative areas.
source
<xsd:complexType name="AdministrativeAreaRefsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more references to NPTG administrative areas.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to the identifier of an administrative area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element AdministrativeAreaRefsStructure/AdministrativeAreaRef
diagram
namespace http://www.dft.gov.uk/naptan/
type AdministrativeAreaVersionedRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Reference to the identifier of an administrative area.
source
<xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaVersionedRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to the identifier of an administrative area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AdministrativeAreaRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of AdministrativeAreaCodeType
properties
base AdministrativeAreaCodeType
used by
elements StopPointStructure/AdministrativeAreaRef StopAreaStructure/AdministrativeAreaRef
facets
pattern [0-9]{3}
annotation
documentation 
A reference to a National Gazetteer administrative area. The reference is by National Gazetteer Code.
source
<xsd:complexType name="AdministrativeAreaRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer administrative area. The reference is by National Gazetteer Code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="AdministrativeAreaCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType AdministrativeAreaVersionedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of AdministrativeAreaCodeType
properties
base AdministrativeAreaCodeType
used by
element AdministrativeAreaRefsStructure/AdministrativeAreaRef
facets
pattern [0-9]{3}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A reference to a National Gazetteer administrative area. The reference is by National Gazetteer Code.
source
<xsd:complexType name="AdministrativeAreaVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer administrative area. The reference is by National Gazetteer Code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="AdministrativeAreaCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType NptgLocalityRefsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children NptgLocalityRef
used by
elements StopPointStructure/Place/AlternativeNptgLocalities StopPointStructure/Place/MainNptgLocalities
annotation
documentation 
A collection of one or more references to NPTG localities.
source
<xsd:complexType name="NptgLocalityRefsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more references to NPTG localities.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NptgLocalityRef" type="NptgLocalityVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to the identifier of a stop locality.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element NptgLocalityRefsStructure/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 
Reference to the identifier of a stop locality.
source
<xsd:element name="NptgLocalityRef" type="NptgLocalityVersionedRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to the identifier of a stop locality.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType NptgLocalityRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of NptgLocalityCodeType
properties
base NptgLocalityCodeType
used by
element StopPointStructure/Place/NptgLocalityRef
facets
pattern [EN][0S][0-9]{6}
annotation
documentation 
A reference to a National Gazetteer locality. The reference is by National Gazetteer Code.
source
<xsd:complexType name="NptgLocalityRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer locality. The reference is by National Gazetteer Code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="NptgLocalityCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType NptgLocalityVersionedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of NptgLocalityCodeType
properties
base NptgLocalityCodeType
used by
elements PlaceRefStructure/NptgLocalityRef NptgLocalityRefsStructure/NptgLocalityRef
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 
A reference to a National Gazetteer locality. The reference is by National Gazetteer Code.
source
<xsd:complexType name="NptgLocalityVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer locality. The reference is by National Gazetteer Code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="NptgLocalityCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType PlusbusZoneRefsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children PlusbusZoneRef
used by
element StopPointStructure/PlusbusZones
annotation
documentation 
A collection of one or more references to Plusbus Zones
source
<xsd:complexType name="PlusbusZoneRefsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more references to Plusbus Zones</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="PlusbusZoneRef" type="PlusbusZoneVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to the identifier of an Plusbus Zone.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element PlusbusZoneRefsStructure/PlusbusZoneRef
diagram
namespace http://www.dft.gov.uk/naptan/
type PlusbusZoneVersionedRefStructure
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Reference to the identifier of an Plusbus Zone.
source
<xsd:element name="PlusbusZoneRef" type="PlusbusZoneVersionedRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to the identifier of an Plusbus Zone.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType PlusbusZoneRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of PlusbusZoneCodeType
properties
base PlusbusZoneCodeType
annotation
documentation 
A reference to a Plusbus Zone. The reference is by PlusbusZone Code.  
source
<xsd:complexType name="PlusbusZoneRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a Plusbus Zone. The reference is by PlusbusZone Code.  </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="PlusbusZoneCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType PlusbusZoneVersionedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of PlusbusZoneCodeType
properties
base PlusbusZoneCodeType
used by
element PlusbusZoneRefsStructure/PlusbusZoneRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A reference to a Plusbus Zone. The reference is by PlusbusZone Code.  
source
<xsd:complexType name="PlusbusZoneVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a Plusbus Zone. The reference is by PlusbusZone Code.  </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="PlusbusZoneCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType RegionRefsStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children RegionRef
annotation
documentation 
A collection of one or more references to NPTG regions.
source
<xsd:complexType name="RegionRefsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more references to NPTG regions.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="RegionRef" type="RegionVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to the identifier of an Region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element RegionRefsStructure/RegionRef
diagram
namespace http://www.dft.gov.uk/naptan/
type RegionVersionedRefStructure
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Reference to the identifier of an Region.
source
<xsd:element name="RegionRef" type="RegionVersionedRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to the identifier of an Region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType RegionRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of RegionCodeType
properties
base RegionCodeType
annotation
documentation 
A reference to a National Gazetteer Region. The reference is by National Gazetteer Region Code.  
source
<xsd:complexType name="RegionRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer Region. The reference is by National Gazetteer Region Code.  </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="RegionCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType RegionVersionedRefStructure
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of RegionCodeType
properties
base RegionCodeType
used by
element RegionRefsStructure/RegionRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A reference to a National Gazetteer Region. The reference is by National Gazetteer Region Code.  
source
<xsd:complexType name="RegionVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer Region. The reference is by National Gazetteer Region Code.  </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="RegionCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

simpleType AdministrativeAreaCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
complexTypes AdministrativeAreaRefStructure AdministrativeAreaVersionedRefStructure
facets
pattern [0-9]{3}
annotation
documentation 
Unique Identifier of NPTG Administrative Area.
source
<xsd:simpleType name="AdministrativeAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of NPTG Administrative Area.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:pattern value="[0-9]{3}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType AtcoAreaCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
pattern [0-9]{3}
annotation
documentation 
Unique ATCO Identifier of ATCO Administrative Area.
source
<xsd:simpleType name="AtcoAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique ATCO Identifier of ATCO Administrative Area.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:pattern value="[0-9]{3}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType CallCentreCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
annotation
documentation 
Unique Identifier of Call Centre.
source
<xsd:simpleType name="CallCentreCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of Call Centre.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType CountryEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration England
enumeration NorthernIreland
enumeration Scotland
enumeration Wales
enumeration UK
annotation
documentation 
Allowed countries. 
source
<xsd:simpleType name="CountryEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed countries. </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="England"/>
    <xsd:enumeration value="NorthernIreland"/>
    <xsd:enumeration value="Scotland"/>
    <xsd:enumeration value="Wales"/>
    <xsd:enumeration value="UK"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType NptgDistrictCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
annotation
documentation 
Unique Identifier of NptgDistrict.
source
<xsd:simpleType name="NptgDistrictCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of NptgDistrict.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType NptgLocalityClassificationEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration city
enumeration suburb
enumeration town
enumeration village
enumeration hamlet
enumeration urbanCentre
enumeration placeOfInterest
enumeration other
enumeration unrecorded
annotation
documentation 
Allowed values for classifying NPTG Localities.
source
<xsd:simpleType name="NptgLocalityClassificationEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for classifying NPTG Localities.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="city">
      <xsd:annotation>
        <xsd:documentation>Locality is a city.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="suburb">
      <xsd:annotation>
        <xsd:documentation>Locality is an urban sub-area.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="town">
      <xsd:annotation>
        <xsd:documentation>Locality is a town.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="village">
      <xsd:annotation>
        <xsd:documentation>Locality is a village.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="hamlet">
      <xsd:annotation>
        <xsd:documentation>Locality is a hamlet.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="urbanCentre">
      <xsd:annotation>
        <xsd:documentation>Locality is a City Centre or Town Centre zone of another town or city locality</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="placeOfInterest">
      <xsd:annotation>
        <xsd:documentation>Locality is a place of interest whose name is distinct from another locality.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="other">
      <xsd:annotation>
        <xsd:documentation>Locality is none of the other types.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="unrecorded">
      <xsd:annotation>
        <xsd:documentation>Locality type is not yet specified..</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType NptgLocalityCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
used by
complexTypes NptgLocalityRefStructure NptgLocalityVersionedRefStructure
facets
pattern [EN][0S][0-9]{6}
annotation
documentation 
The National Public Transport Gazetteer coding for a locality identifier. ab999999, where a is E or N, b is 0 or S, 9 is numeric
source
<xsd:simpleType name="NptgLocalityCodeType">
  <xsd:annotation>
    <xsd:documentation>The National Public Transport Gazetteer coding for a locality identifier. ab999999, where a is E or N, b is 0 or S, 9 is numeric</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:pattern value="[EN][0S][0-9]{6}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType NptgSourceLocalityTypeEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration U
enumeration US
enumeration Pa
enumeration Co
enumeration Lo
enumeration DWD
enumeration LOC
enumeration PAR
enumeration RED
enumeration ISL
enumeration Add
annotation
documentation 
Allowed values for source classification of  NPTG Localities.
source
<xsd:simpleType name="NptgSourceLocalityTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for source classification of  NPTG Localities.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="U">
      <xsd:annotation>
        <xsd:documentation>Urban Area in OS data.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="US">
      <xsd:annotation>
        <xsd:documentation>Urban sub-area in OS data..</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="Pa">
      <xsd:annotation>
        <xsd:documentation>Parish â€" not Wales.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="Co">
      <xsd:annotation>
        <xsd:documentation>Community â€" Wales only.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="Lo">
      <xsd:annotation>
        <xsd:documentation>Other Locality in OS data..</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="DWD">
      <xsd:annotation>
        <xsd:documentation>Scottish District Ward â€" Scotland only.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="LOC">
      <xsd:annotation>
        <xsd:documentation>Scottish Locality â€" Scotland only.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="PAR">
      <xsd:annotation>
        <xsd:documentation>Scottish Parish â€" Scotland only.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="RED">
      <xsd:annotation>
        <xsd:documentation>Scottish Registered Electoral District â€" Scotland only.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="ISL">
      <xsd:annotation>
        <xsd:documentation>Island</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="Add">
      <xsd:annotation>
        <xsd:documentation>Added </xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType PlusbusZoneCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
used by
complexTypes PlusbusZoneRefStructure PlusbusZoneVersionedRefStructure
annotation
documentation 
Unique Identifier of Plusbus Zone.
source
<xsd:simpleType name="PlusbusZoneCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of Plusbus Zone.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType RegionCodeType
namespace http://www.dft.gov.uk/naptan/
type xsd:NMTOKEN
used by
complexTypes RegionRefStructure RegionVersionedRefStructure
annotation
documentation 
Unique Identifier of Region.
source
<xsd:simpleType name="RegionCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of Region.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType RegionShortCodeEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration W
enumeration NE
enumeration SW
enumeration SE
enumeration S
annotation
documentation 
Allowed values for NPTG region short codes
source
<xsd:simpleType name="RegionShortCodeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for NPTG region short codes</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="W"/>
    <xsd:enumeration value="NE"/>
    <xsd:enumeration value="SW"/>
    <xsd:enumeration value="SE"/>
    <xsd:enumeration value="S"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType RegionShortCodeType
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
maxLength 2
annotation
documentation 
Short code for region e.g. S (Scotland) SE (South East).
source
<xsd:simpleType name="RegionShortCodeType">
  <xsd:annotation>
    <xsd:documentation>Short code for region e.g. S (Scotland) SE (South East).</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:maxLength value="2"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType UkLanguageEnumeration
namespace http://www.dft.gov.uk/naptan/
type restriction of xsd:NMTOKEN
facets
enumeration EN
enumeration CY
enumeration GA
enumeration GD
annotation
documentation 
UK Natural Languages.
source
<xsd:simpleType name="UkLanguageEnumeration">
  <xsd:annotation>
    <xsd:documentation>UK Natural Languages.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="EN">
      <xsd:annotation>
        <xsd:documentation>English.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="CY">
      <xsd:annotation>
        <xsd:documentation>Welsh.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="GA">
      <xsd:annotation>
        <xsd:documentation>Irish.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="GD">
      <xsd:annotation>
        <xsd:documentation>Scots Gaelic.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

group AllBankHolidaysGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children AllBankHolidays Christmas ChristmasDay BoxingDay AllHolidaysExceptChristmas GoodFriday NewYearsDay Jan2ndScotland HolidayMondays LateSummerBankHolidayNotScotland MayDay EasterMonday SpringBank AugustBankHolidayScotland DisplacementHolidays ChristmasDayHoliday BoxingDayHoliday NewYearsDayHoliday OtherPublicHoliday
used by
complexType BankHolidaysStructure
annotation
documentation 
All Public Holidays
source
<xsd:group name="AllBankHolidaysGroup">
  <xsd:annotation>
    <xsd:documentation>All Public Holidays</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:choice>
      <xsd:element name="AllBankHolidays" type="EmptyType">
        <xsd:annotation>
          <xsd:documentation>All public bank holidays in the country of the context of use.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:sequence>
        <xsd:group ref="ChristmasGroup" minOccurs="0"/>
        <xsd:sequence minOccurs="0">
          <xsd:choice>
            <xsd:element name="AllHolidaysExceptChristmas" type="EmptyType" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>GoodFriday, NewYearsDay/Jan2ndScotland, and HolidayMondays. Not ChristmasDay or Boxing Day.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:sequence>
              <xsd:element name="GoodFriday" type="EmptyType" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>Good Friday Bank Holiday. Moveable feast.</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="NewYearsDay" type="EmptyType" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>New Years Day 1st .January. See also NewYearsDayHoliday</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:element name="Jan2ndScotland" type="EmptyType" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>2nd of January Bank Holiday. NB this is generally a public holiday only in Scotland. </xsd:documentation>
                </xsd:annotation>
              </xsd:element>
              <xsd:group ref="HolidayMondaysGroup" minOccurs="0"/>
            </xsd:sequence>
          </xsd:choice>
          <xsd:group ref="DisplacementHolidaysGroup" minOccurs="0"/>
        </xsd:sequence>
      </xsd:sequence>
    </xsd:choice>
    <xsd:element name="OtherPublicHoliday" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Public or Bank Holidays that are not described by the pre-defined elements.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Description" type="NaturalLanguageStringStructure">
            <xsd:annotation>
              <xsd:documentation>Description of the holiday. @xml:lang.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="Date" type="DateType" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Date on which the holiday takes place</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
</xsd:group>

element AllBankHolidaysGroup/AllBankHolidays
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
All public bank holidays in the country of the context of use.
source
<xsd:element name="AllBankHolidays" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>All public bank holidays in the country of the context of use.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AllBankHolidaysGroup/AllHolidaysExceptChristmas
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
GoodFriday, NewYearsDay/Jan2ndScotland, and HolidayMondays. Not ChristmasDay or Boxing Day.
source
<xsd:element name="AllHolidaysExceptChristmas" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>GoodFriday, NewYearsDay/Jan2ndScotland, and HolidayMondays. Not ChristmasDay or Boxing Day.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AllBankHolidaysGroup/GoodFriday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Good Friday Bank Holiday. Moveable feast.
source
<xsd:element name="GoodFriday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Good Friday Bank Holiday. Moveable feast.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AllBankHolidaysGroup/NewYearsDay
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
New Years Day 1st .January. See also NewYearsDayHoliday
source
<xsd:element name="NewYearsDay" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>New Years Day 1st .January. See also NewYearsDayHoliday</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AllBankHolidaysGroup/Jan2ndScotland
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
2nd of January Bank Holiday. NB this is generally a public holiday only in Scotland. 
source
<xsd:element name="Jan2ndScotland" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>2nd of January Bank Holiday. NB this is generally a public holiday only in Scotland. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AllBankHolidaysGroup/OtherPublicHoliday
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Description Date
annotation
documentation 
Public or Bank Holidays that are not described by the pre-defined elements.
source
<xsd:element name="OtherPublicHoliday" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Public or Bank Holidays that are not described by the pre-defined elements.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Description" type="NaturalLanguageStringStructure">
        <xsd:annotation>
          <xsd:documentation>Description of the holiday. @xml:lang.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Date" type="DateType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Date on which the holiday takes place</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element AllBankHolidaysGroup/OtherPublicHoliday/Description
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 
Description of the holiday. @xml:lang.
source
<xsd:element name="Description" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Description of the holiday. @xml:lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AllBankHolidaysGroup/OtherPublicHoliday/Date
diagram
namespace http://www.dft.gov.uk/naptan/
type DateType
properties
isRef 0
content simple
annotation
documentation 
Date on which the holiday takes place
source
<xsd:element name="Date" type="DateType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Date on which the holiday takes place</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group ChristmasGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children Christmas ChristmasDay BoxingDay
used by
group AllBankHolidaysGroup
annotation
documentation 
Christmas holidays
source
<xsd:group name="ChristmasGroup">
  <xsd:annotation>
    <xsd:documentation>Christmas holidays</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="Christmas" type="EmptyType">
      <xsd:annotation>
        <xsd:documentation>The days of the Christmas holiday. Usually for specifying non operation.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:sequence>
      <xsd:element name="ChristmasDay" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Christmas Day. 25th December. See also ChristmasDayHoliday</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="BoxingDay" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Boxing Day 26th December. See also BoxingDayHoliday.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:choice>
</xsd:group>

element ChristmasGroup/Christmas
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
The days of the Christmas holiday. Usually for specifying non operation.
source
<xsd:element name="Christmas" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>The days of the Christmas holiday. Usually for specifying non operation.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ChristmasGroup/ChristmasDay
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Christmas Day. 25th December. See also ChristmasDayHoliday
source
<xsd:element name="ChristmasDay" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Christmas Day. 25th December. See also ChristmasDayHoliday</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ChristmasGroup/BoxingDay
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Boxing Day 26th December. See also BoxingDayHoliday.
source
<xsd:element name="BoxingDay" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Boxing Day 26th December. See also BoxingDayHoliday.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group Days5Group
diagram
namespace http://www.dft.gov.uk/naptan/
children Monday Tuesday Wednesday Thursday Friday MondayToFriday
used by
group Days6Group
annotation
documentation 
Any combination of weekdays Monday to Friday.
source
<xsd:group name="Days5Group">
  <xsd:annotation>
    <xsd:documentation>Any combination of weekdays Monday to Friday.</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:sequence>
      <xsd:element name="Monday" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Tuesday" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Wednesday" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Thursday" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Friday" type="EmptyType" minOccurs="0"/>
    </xsd:sequence>
    <xsd:element name="MondayToFriday" type="EmptyType" minOccurs="0"/>
  </xsd:choice>
</xsd:group>

element Days5Group/Monday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Monday" type="EmptyType" minOccurs="0"/>

element Days5Group/Tuesday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Tuesday" type="EmptyType" minOccurs="0"/>

element Days5Group/Wednesday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Wednesday" type="EmptyType" minOccurs="0"/>

element Days5Group/Thursday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Thursday" type="EmptyType" minOccurs="0"/>

element Days5Group/Friday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Friday" type="EmptyType" minOccurs="0"/>

element Days5Group/MondayToFriday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="MondayToFriday" type="EmptyType" minOccurs="0"/>

group Days5NotGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children NotMonday NotTuesday NotWednesday NotThursday NotFriday NotSaturday MondayToSaturday
used by
group Days6Group
annotation
documentation 
Any Combinations of 5 days excluding a single weekday.
source
<xsd:group name="Days5NotGroup">
  <xsd:annotation>
    <xsd:documentation>Any Combinations of 5 days excluding a single weekday.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NotMonday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="NotTuesday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="NotWednesday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="NotThursday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="NotFriday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="NotSaturday" type="EmptyType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Sunday to Friday.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="MondayToSaturday" type="EmptyType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>I.e. not Sunday</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:group>

element Days5NotGroup/NotMonday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="NotMonday" type="EmptyType" minOccurs="0"/>

element Days5NotGroup/NotTuesday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="NotTuesday" type="EmptyType" minOccurs="0"/>

element Days5NotGroup/NotWednesday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="NotWednesday" type="EmptyType" minOccurs="0"/>

element Days5NotGroup/NotThursday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="NotThursday" type="EmptyType" minOccurs="0"/>

element Days5NotGroup/NotFriday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="NotFriday" type="EmptyType" minOccurs="0"/>

element Days5NotGroup/NotSaturday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Sunday to Friday.
source
<xsd:element name="NotSaturday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Sunday to Friday.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element Days5NotGroup/MondayToSaturday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
I.e. not Sunday
source
<xsd:element name="MondayToSaturday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>I.e. not Sunday</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group Days6Group
diagram
namespace http://www.dft.gov.uk/naptan/
children Monday Tuesday Wednesday Thursday Friday MondayToFriday Saturday NotMonday NotTuesday NotWednesday NotThursday NotFriday NotSaturday MondayToSaturday
used by
group DaysGroup
annotation
documentation 
Any combination of weekdays Monday to Saturday
source
<xsd:group name="Days6Group">
  <xsd:annotation>
    <xsd:documentation>Any combination of weekdays Monday to Saturday</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:sequence>
      <xsd:group ref="Days5Group"/>
      <xsd:element name="Saturday" type="EmptyType" minOccurs="0"/>
    </xsd:sequence>
    <xsd:choice>
      <xsd:group ref="Days5NotGroup"/>
    </xsd:choice>
  </xsd:choice>
</xsd:group>

element Days6Group/Saturday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Saturday" type="EmptyType" minOccurs="0"/>

group DaysGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children Monday Tuesday Wednesday Thursday Friday MondayToFriday Saturday NotMonday NotTuesday NotWednesday NotThursday NotFriday NotSaturday MondayToSaturday Sunday MondayToSunday Weekend
used by
element DayAndTimeAvailabilityStructure/DayTypes
annotation
documentation 
A pattern of specific weekdays.
source
<xsd:group name="DaysGroup">
  <xsd:annotation>
    <xsd:documentation>A pattern of specific weekdays.</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:sequence>
      <xsd:group ref="Days6Group"/>
      <xsd:element name="Sunday" type="EmptyType" minOccurs="0"/>
    </xsd:sequence>
    <xsd:element name="MondayToSunday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="Weekend" type="EmptyType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Only Saturday and Sunday</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:choice>
</xsd:group>

element DaysGroup/Sunday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Sunday" type="EmptyType" minOccurs="0"/>

element DaysGroup/MondayToSunday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="MondayToSunday" type="EmptyType" minOccurs="0"/>

element DaysGroup/Weekend
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Only Saturday and Sunday
source
<xsd:element name="Weekend" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Only Saturday and Sunday</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group DisplacementHolidaysGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children DisplacementHolidays ChristmasDayHoliday BoxingDayHoliday NewYearsDayHoliday
used by
group AllBankHolidaysGroup
annotation
documentation 
Holidays in lieu of weekend Christmas
source
<xsd:group name="DisplacementHolidaysGroup">
  <xsd:annotation>
    <xsd:documentation>Holidays in lieu of weekend Christmas</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="DisplacementHolidays" type="EmptyType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>All of the extra public holidays that may be observed if a Calendar Holiday falls at the weekend.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:sequence>
      <xsd:element name="ChristmasDayHoliday" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Christmas Day Holiday - A weekday other than 25th December if Christmas Day falls on a weekend. May be the same as ChristmasDay.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="BoxingDayHoliday" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Boxing Day Holiday - A weekday other than 26th December if Boxing day falls on a weekend. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="NewYearsDayHoliday" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>New Years Day Holiday - A weekday other than 1st January if New Years Day falls on a weekend. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:choice>
</xsd:group>

element DisplacementHolidaysGroup/DisplacementHolidays
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
All of the extra public holidays that may be observed if a Calendar Holiday falls at the weekend.
source
<xsd:element name="DisplacementHolidays" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>All of the extra public holidays that may be observed if a Calendar Holiday falls at the weekend.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DisplacementHolidaysGroup/ChristmasDayHoliday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Christmas Day Holiday - A weekday other than 25th December if Christmas Day falls on a weekend. May be the same as ChristmasDay.
source
<xsd:element name="ChristmasDayHoliday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Christmas Day Holiday - A weekday other than 25th December if Christmas Day falls on a weekend. May be the same as ChristmasDay.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DisplacementHolidaysGroup/BoxingDayHoliday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Boxing Day Holiday - A weekday other than 26th December if Boxing day falls on a weekend. 
source
<xsd:element name="BoxingDayHoliday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Boxing Day Holiday - A weekday other than 26th December if Boxing day falls on a weekend. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DisplacementHolidaysGroup/NewYearsDayHoliday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
New Years Day Holiday - A weekday other than 1st January if New Years Day falls on a weekend. 
source
<xsd:element name="NewYearsDayHoliday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>New Years Day Holiday - A weekday other than 1st January if New Years Day falls on a weekend. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

group EarlyRunOffGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children EarlyRunOffDays ChristmasEve NewYearsEve
used by
complexType BankHolidaysStructure
annotation
documentation 
Days with special timetables
source
<xsd:group name="EarlyRunOffGroup">
  <xsd:annotation>
    <xsd:documentation>Days with special timetables</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="EarlyRunOffDays" type="EmptyType">
      <xsd:annotation>
        <xsd:documentation>Days adjacent to major public holidays on which special operating schedules are usually also run.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:sequence>
      <xsd:element name="ChristmasEve" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>The day before Christmas. 24th December.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="NewYearsEve" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>31st December. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:choice>
</xsd:group>

element EarlyRunOffGroup/EarlyRunOffDays
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Days adjacent to major public holidays on which special operating schedules are usually also run.
source
<xsd:element name="EarlyRunOffDays" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>Days adjacent to major public holidays on which special operating schedules are usually also run.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element EarlyRunOffGroup/ChristmasEve
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
The day before Christmas. 24th December.
source
<xsd:element name="ChristmasEve" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The day before Christmas. 24th December.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element EarlyRunOffGroup/NewYearsEve
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
31st December. 
source
<xsd:element name="NewYearsEve" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>31st December. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

group HolidayMondaysGroup
diagram
namespace http://www.dft.gov.uk/naptan/
children HolidayMondays LateSummerBankHolidayNotScotland MayDay EasterMonday SpringBank AugustBankHolidayScotland
used by
group AllBankHolidaysGroup
annotation
documentation 
Bank Holiday Mondays
source
<xsd:group name="HolidayMondaysGroup">
  <xsd:annotation>
    <xsd:documentation>Bank Holiday Mondays</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="HolidayMondays" type="EmptyType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>All public bank holidays in the country of the context of use that may occur on different days each year.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:sequence>
      <xsd:element name="LateSummerBankHolidayNotScotland" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>The Late Summer Bank Holiday outside of Scotland. Note that this holiday is commonly referred to as August Bank Holiday outside of Scotland.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="MayDay" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>May Day Bank Holiday.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="EasterMonday" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Easter Monday Bank Holiday.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="SpringBank" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Spring Bank Holiday.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="AugustBankHolidayScotland" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>The Scottish August Bank Holiday. Note that this holiday is usually distinguished from what  is commonly termed August Bank Holiday outside of Scotland. (In this schema this is denoted by the  LateSummerBankHolidayNotScotland element.)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:choice>
</xsd:group>

element HolidayMondaysGroup/HolidayMondays
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
All public bank holidays in the country of the context of use that may occur on different days each year.
source
<xsd:element name="HolidayMondays" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>All public bank holidays in the country of the context of use that may occur on different days each year.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HolidayMondaysGroup/LateSummerBankHolidayNotScotland
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
The Late Summer Bank Holiday outside of Scotland. Note that this holiday is commonly referred to as August Bank Holiday outside of Scotland.
source
<xsd:element name="LateSummerBankHolidayNotScotland" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The Late Summer Bank Holiday outside of Scotland. Note that this holiday is commonly referred to as August Bank Holiday outside of Scotland.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HolidayMondaysGroup/MayDay
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
May Day Bank Holiday.
source
<xsd:element name="MayDay" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>May Day Bank Holiday.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HolidayMondaysGroup/EasterMonday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Easter Monday Bank Holiday.
source
<xsd:element name="EasterMonday" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Easter Monday Bank Holiday.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HolidayMondaysGroup/SpringBank
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Spring Bank Holiday.
source
<xsd:element name="SpringBank" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Spring Bank Holiday.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HolidayMondaysGroup/AugustBankHolidayScotland
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
The Scottish August Bank Holiday. Note that this holiday is usually distinguished from what  is commonly termed August Bank Holiday outside of Scotland. (In this schema this is denoted by the  LateSummerBankHolidayNotScotland element.)
source
<xsd:element name="AugustBankHolidayScotland" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The Scottish August Bank Holiday. Note that this holiday is usually distinguished from what  is commonly termed August Bank Holiday outside of Scotland. (In this schema this is denoted by the  LateSummerBankHolidayNotScotland element.)</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AnnotatedClosedDateRangeCollectionStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children DateRange
annotation
documentation 
A collection of one or more closed date ranges.
source
<xsd:complexType name="AnnotatedClosedDateRangeCollectionStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more closed date ranges.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="DateRange" type="AnnotatedClosedDateRangeStructure" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>

element AnnotatedClosedDateRangeCollectionStructure/DateRange
diagram
namespace http://www.dft.gov.uk/naptan/
type AnnotatedClosedDateRangeStructure
properties
isRef 0
content complex
children StartDate EndDate Note
source
<xsd:element name="DateRange" type="AnnotatedClosedDateRangeStructure" maxOccurs="unbounded"/>

complexType AnnotatedClosedDateRangeStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StartDate EndDate Note
used by
element AnnotatedClosedDateRangeCollectionStructure/DateRange
annotation
documentation 
A closed range of dates.
source
<xsd:complexType name="AnnotatedClosedDateRangeStructure">
  <xsd:annotation>
    <xsd:documentation>A closed range of dates.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartDate" type="StartDateType">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start date.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndDate" type="EndDateType">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end date.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Description of range. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element AnnotatedClosedDateRangeStructure/StartDate
diagram
namespace http://www.dft.gov.uk/naptan/
type StartDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) start date.
source
<xsd:element name="StartDate" type="StartDateType">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) start date.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedClosedDateRangeStructure/EndDate
diagram
namespace http://www.dft.gov.uk/naptan/
type EndDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end date.
source
<xsd:element name="EndDate" type="EndDateType">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end date.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedClosedDateRangeStructure/Note
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 
Description of range. @lang.
source
<xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Description of range. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType BankHolidaysStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children AllBankHolidays Christmas ChristmasDay BoxingDay AllHolidaysExceptChristmas GoodFriday NewYearsDay Jan2ndScotland HolidayMondays LateSummerBankHolidayNotScotland MayDay EasterMonday SpringBank AugustBankHolidayScotland DisplacementHolidays ChristmasDayHoliday BoxingDayHoliday NewYearsDayHoliday OtherPublicHoliday EarlyRunOffDays ChristmasEve NewYearsEve
used by
element DayAndTimeAvailabilityStructure/HolidayTypes
annotation
documentation 
A collection of specific bank holidays.
source
<xsd:complexType name="BankHolidaysStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of specific bank holidays.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:group ref="AllBankHolidaysGroup" minOccurs="0"/>
    <xsd:group ref="EarlyRunOffGroup" minOccurs="0"/>
  </xsd:sequence>
</xsd:complexType>

complexType ClosedDateRangeCollectionStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children DateRange
annotation
documentation 
A collection of one or more closed date ranges.
source
<xsd:complexType name="ClosedDateRangeCollectionStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more closed date ranges.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="DateRange" type="ClosedDateRangeStructure" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>

element ClosedDateRangeCollectionStructure/DateRange
diagram
namespace http://www.dft.gov.uk/naptan/
type ClosedDateRangeStructure
properties
isRef 0
content complex
children StartDate EndDate
source
<xsd:element name="DateRange" type="ClosedDateRangeStructure" maxOccurs="unbounded"/>

complexType ClosedDateRangeStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StartDate EndDate
used by
element ClosedDateRangeCollectionStructure/DateRange
annotation
documentation 
A closed range of dates.
source
<xsd:complexType name="ClosedDateRangeStructure">
  <xsd:annotation>
    <xsd:documentation>A closed range of dates.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartDate" type="StartDateType">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start date.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndDate" type="EndDateType">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end date.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element ClosedDateRangeStructure/StartDate
diagram
namespace http://www.dft.gov.uk/naptan/
type StartDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) start date.
source
<xsd:element name="StartDate" type="StartDateType">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) start date.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ClosedDateRangeStructure/EndDate
diagram
namespace http://www.dft.gov.uk/naptan/
type EndDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end date.
source
<xsd:element name="EndDate" type="EndDateType">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end date.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType ClosedTimeRangeStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children StartTime EndTime
used by
element DailyOpeningHoursStructure/OpenPeriod
annotation
documentation 
A range of times. Both start and end time are required.
source
<xsd:complexType name="ClosedTimeRangeStructure">
  <xsd:annotation>
    <xsd:documentation>A range of times. Both start and end time are required.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartTime" type="xsd:time">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start time.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndTime" type="xsd:time">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end time.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element ClosedTimeRangeStructure/StartTime
diagram
namespace http://www.dft.gov.uk/naptan/
type xsd:time
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) start time.
source
<xsd:element name="StartTime" type="xsd:time">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) start time.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element ClosedTimeRangeStructure/EndTime
diagram
namespace http://www.dft.gov.uk/naptan/
type xsd:time
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end time.
source
<xsd:element name="EndTime" type="xsd:time">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end time.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DailyOpeningHoursStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children TwentyFourHours OpenPeriod Unavailable
used by
element DayAndTimeAvailabilityStructure/OpeningHours
annotation
documentation 
Specifies hours of opening on a specified day.
source
<xsd:complexType name="DailyOpeningHoursStructure">
  <xsd:annotation>
    <xsd:documentation>Specifies hours of opening on a specified day.</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="TwentyFourHours" type="EmptyType">
      <xsd:annotation>
        <xsd:documentation>Open 24hrs on the specified days (defined as 00:00 until 23:59)</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="OpenPeriod" type="ClosedTimeRangeStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Each time range indicates an open period. Multiple ranges can be used to indicate separate opening hours in the morning and afternoon.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Unavailable" type="EmptyType">
      <xsd:annotation>
        <xsd:documentation>Not available on this specified day.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:choice>
</xsd:complexType>

element DailyOpeningHoursStructure/TwentyFourHours
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Open 24hrs on the specified days (defined as 00:00 until 23:59)
source
<xsd:element name="TwentyFourHours" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>Open 24hrs on the specified days (defined as 00:00 until 23:59)</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DailyOpeningHoursStructure/OpenPeriod
diagram
namespace http://www.dft.gov.uk/naptan/
type ClosedTimeRangeStructure
properties
isRef 0
content complex
children StartTime EndTime
annotation
documentation 
Each time range indicates an open period. Multiple ranges can be used to indicate separate opening hours in the morning and afternoon.
source
<xsd:element name="OpenPeriod" type="ClosedTimeRangeStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Each time range indicates an open period. Multiple ranges can be used to indicate separate opening hours in the morning and afternoon.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DailyOpeningHoursStructure/Unavailable
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Not available on this specified day.
source
<xsd:element name="Unavailable" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>Not available on this specified day.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DateCollectionStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children Date
annotation
documentation 
A collection of one or more dates.
source
<xsd:complexType name="DateCollectionStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more dates.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Date" type="DateType" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A calendar date.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element DateCollectionStructure/Date
diagram
namespace http://www.dft.gov.uk/naptan/
type DateType
properties
isRef 0
content simple
annotation
documentation 
A calendar date.
source
<xsd:element name="Date" type="DateType" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A calendar date.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DatePatternStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children DateRange DateExclusion
annotation
documentation 
A collection of one or more open-ended date ranges, and any number of date exceptions.
source
<xsd:complexType name="DatePatternStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more open-ended date ranges, and any number of date exceptions.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="DateRange" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>An inclusive period. </xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:complexContent>
          <xsd:extension base="OpenDateRangeStructure">
            <xsd:sequence>
              <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
                <xsd:annotation>
                  <xsd:documentation>Description of range. @lang</xsd:documentation>
                </xsd:annotation>
              </xsd:element>
            </xsd:sequence>
          </xsd:extension>
        </xsd:complexContent>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="DateExclusion" type="DateType" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Individual dates within the period which should be omitted.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element DatePatternStructure/DateRange
diagram
namespace http://www.dft.gov.uk/naptan/
type extension of OpenDateRangeStructure
properties
isRef 0
content complex
children StartDate EndDate Description
annotation
documentation 
An inclusive period. 
source
<xsd:element name="DateRange" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>An inclusive period. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="OpenDateRangeStructure">
        <xsd:sequence>
          <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Description of range. @lang</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element DatePatternStructure/DateRange/Description
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 
Description of range. @lang
source
<xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Description of range. @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DatePatternStructure/DateExclusion
diagram
namespace http://www.dft.gov.uk/naptan/
type DateType
properties
isRef 0
content simple
annotation
documentation 
Individual dates within the period which should be omitted.
source
<xsd:element name="DateExclusion" type="DateType" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Individual dates within the period which should be omitted.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DayAndTimeAvailabilityStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children DayTypes Season HolidayTypes OpeningHours
annotation
documentation 
Opening hours 
source
<xsd:complexType name="DayAndTimeAvailabilityStructure">
  <xsd:annotation>
    <xsd:documentation>Opening hours </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:choice>
      <xsd:sequence>
        <xsd:element name="DayTypes">
          <xsd:annotation>
            <xsd:documentation>Pattern of days. </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:group ref="DaysGroup"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="Season" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>Season or seasons for which day types for a given set of Opening Hours apply.</xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="Spring" type="EmptyType" minOccurs="0"/>
              <xsd:element name="Summer" type="EmptyType" minOccurs="0"/>
              <xsd:element name="Autumn" type="EmptyType" minOccurs="0"/>
              <xsd:element name="Winter" type="EmptyType" minOccurs="0"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
      <xsd:element name="HolidayTypes" type="BankHolidaysStructure">
        <xsd:annotation>
          <xsd:documentation>Pattern of holidays</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:choice>
    <xsd:element name="OpeningHours" type="DailyOpeningHoursStructure">
      <xsd:annotation>
        <xsd:documentation>Hours on the specified day or holiday type when the facility is available or unavailable. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element DayAndTimeAvailabilityStructure/DayTypes
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Monday Tuesday Wednesday Thursday Friday MondayToFriday Saturday NotMonday NotTuesday NotWednesday NotThursday NotFriday NotSaturday MondayToSaturday Sunday MondayToSunday Weekend
annotation
documentation 
Pattern of days. 
source
<xsd:element name="DayTypes">
  <xsd:annotation>
    <xsd:documentation>Pattern of days. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:group ref="DaysGroup"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element DayAndTimeAvailabilityStructure/Season
diagram
namespace http://www.dft.gov.uk/naptan/
properties
isRef 0
content complex
children Spring Summer Autumn Winter
annotation
documentation 
Season or seasons for which day types for a given set of Opening Hours apply.
source
<xsd:element name="Season" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Season or seasons for which day types for a given set of Opening Hours apply.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Spring" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Summer" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Autumn" type="EmptyType" minOccurs="0"/>
      <xsd:element name="Winter" type="EmptyType" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element DayAndTimeAvailabilityStructure/Season/Spring
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Spring" type="EmptyType" minOccurs="0"/>

element DayAndTimeAvailabilityStructure/Season/Summer
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Summer" type="EmptyType" minOccurs="0"/>

element DayAndTimeAvailabilityStructure/Season/Autumn
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Autumn" type="EmptyType" minOccurs="0"/>

element DayAndTimeAvailabilityStructure/Season/Winter
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Winter" type="EmptyType" minOccurs="0"/>

element DayAndTimeAvailabilityStructure/HolidayTypes
diagram
namespace http://www.dft.gov.uk/naptan/
type BankHolidaysStructure
properties
isRef 0
content complex
children AllBankHolidays Christmas ChristmasDay BoxingDay AllHolidaysExceptChristmas GoodFriday NewYearsDay Jan2ndScotland HolidayMondays LateSummerBankHolidayNotScotland MayDay EasterMonday SpringBank AugustBankHolidayScotland DisplacementHolidays ChristmasDayHoliday BoxingDayHoliday NewYearsDayHoliday OtherPublicHoliday EarlyRunOffDays ChristmasEve NewYearsEve
annotation
documentation 
Pattern of holidays
source
<xsd:element name="HolidayTypes" type="BankHolidaysStructure">
  <xsd:annotation>
    <xsd:documentation>Pattern of holidays</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DayAndTimeAvailabilityStructure/OpeningHours
diagram
namespace http://www.dft.gov.uk/naptan/
type DailyOpeningHoursStructure
properties
isRef 0
content complex
children TwentyFourHours OpenPeriod Unavailable
annotation
documentation 
Hours on the specified day or holiday type when the facility is available or unavailable. 
source
<xsd:element name="OpeningHours" type="DailyOpeningHoursStructure">
  <xsd:annotation>
    <xsd:documentation>Hours on the specified day or holiday type when the facility is available or unavailable. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DayFrequencyStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children ScheduledFrequency MinimumFrequency MaximumFrequency
annotation
documentation 
The scheduled time gap between departures for a frequency-based service. Minimum and maximum time gaps can also be specified.
source
<xsd:complexType name="DayFrequencyStructure">
  <xsd:annotation>
    <xsd:documentation>The scheduled time gap between departures for a frequency-based service. Minimum and maximum time gaps can also be specified.</xsd:documentation>
  </xsd:annotation>
  <xsd:all>
    <xsd:element name="ScheduledFrequency" type="DayTimeDurationType">
      <xsd:annotation>
        <xsd:documentation>The scheduled time gap between departures for a frequency-based service.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="MinimumFrequency" type="DayTimeDurationType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The minimum time gap between departures for a frequency-based service.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="MaximumFrequency" type="DayTimeDurationType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The maximum time gap between departures for a frequency-based service.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:all>
</xsd:complexType>

element DayFrequencyStructure/ScheduledFrequency
diagram
namespace http://www.dft.gov.uk/naptan/
type DayTimeDurationType
properties
isRef 0
content simple
facets
pattern P((\d+D)|T).*
annotation
documentation 
The scheduled time gap between departures for a frequency-based service.
source
<xsd:element name="ScheduledFrequency" type="DayTimeDurationType">
  <xsd:annotation>
    <xsd:documentation>The scheduled time gap between departures for a frequency-based service.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DayFrequencyStructure/MinimumFrequency
diagram
namespace http://www.dft.gov.uk/naptan/
type DayTimeDurationType
properties
isRef 0
content simple
facets
pattern P((\d+D)|T).*
annotation
documentation 
The minimum time gap between departures for a frequency-based service.
source
<xsd:element name="MinimumFrequency" type="DayTimeDurationType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The minimum time gap between departures for a frequency-based service.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DayFrequencyStructure/MaximumFrequency
diagram
namespace http://www.dft.gov.uk/naptan/
type DayTimeDurationType
properties
isRef 0
content simple
facets
pattern P((\d+D)|T).*
annotation
documentation 
The maximum time gap between departures for a frequency-based service.
source
<xsd:element name="MaximumFrequency" type="DayTimeDurationType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The maximum time gap between departures for a frequency-based service.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType DaysOfOperationStructure
diagram
namespace http://www.dft.gov.uk/naptan/
children Monday Tuesday Wednesday Thursday Friday MondayToFriday Saturday MondayToSaturday Sunday MondayToSunday BankHoliday NotBankHoliday SchoolHoliday NotSchoolHoliday
annotation
documentation 
Type for Days of operation.
source
<xsd:complexType name="DaysOfOperationStructure">
  <xsd:annotation>
    <xsd:documentation>Type for Days of operation.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:choice>
      <xsd:sequence>
        <xsd:choice>
          <xsd:sequence>
            <xsd:choice>
              <xsd:sequence>
                <xsd:element name="Monday" type="EmptyType"/>
                <xsd:element name="Tuesday" type="EmptyType"/>
                <xsd:element name="Wednesday" type="EmptyType"/>
                <xsd:element name="Thursday" type="EmptyType"/>
                <xsd:element name="Friday" type="EmptyType"/>
              </xsd:sequence>
              <xsd:element name="MondayToFriday" type="EmptyType"/>
            </xsd:choice>
            <xsd:element name="Saturday" type="EmptyType"/>
          </xsd:sequence>
          <xsd:element name="MondayToSaturday" type="EmptyType"/>
        </xsd:choice>
        <xsd:element name="Sunday" type="EmptyType"/>
      </xsd:sequence>
      <xsd:element name="MondayToSunday" type="EmptyType"/>
    </xsd:choice>
    <xsd:choice>
      <xsd:element name="BankHoliday" type="EmptyType"/>
      <xsd:element name="NotBankHoliday" type="EmptyType"/>
    </xsd:choice>
    <xsd:choice>
      <xsd:element name="SchoolHoliday" type="EmptyType"/>
      <xsd:element name="NotSchoolHoliday" type="EmptyType"/>
    </xsd:choice>
  </xsd:sequence>
</xsd:complexType>

element DaysOfOperationStructure/Monday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Monday" type="EmptyType"/>

element DaysOfOperationStructure/Tuesday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Tuesday" type="EmptyType"/>

element DaysOfOperationStructure/Wednesday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Wednesday" type="EmptyType"/>

element DaysOfOperationStructure/Thursday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Thursday" type="EmptyType"/>

element DaysOfOperationStructure/Friday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Friday" type="EmptyType"/>

element DaysOfOperationStructure/MondayToFriday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="MondayToFriday" type="EmptyType"/>

element DaysOfOperationStructure/Saturday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Saturday" type="EmptyType"/>

element DaysOfOperationStructure/MondayToSaturday
diagram
namespace http://www.dft.gov.uk/naptan/
type EmptyType
properties
isRef 0