Schema NPTG.xsd


schema location:  http://www.naptan.org.uk/schema/2.0/NPTG.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
Elements  Complex types 
NationalPublicTransportGazetteer  AdministrativeAreasStructure 
AdministrativeAreaStructure 
NptgDistrictsStructure 
NptgDistrictStructure 
NptgLocalitiesStructure 
NptgLocalityDescriptorStructure 
NptgLocalityStructure 
PlusbusZonesStructure 
PlusbusZoneStructure 
RegionsStructure 
RegionStructure 


schema location:  http://www.naptan.org.uk/schema/2.0/napt/NaPT_stop-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
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.naptan.org.uk/schema/2.0/napt/NaPT_topography-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
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.naptan.org.uk/schema/2.0/napt/NaPT_dates-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
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.naptan.org.uk/schema/2.0/napt/NaPT_geographic-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
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.naptan.org.uk/schema/2.0/napt/NaPT_organisations-v2-0.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
Complex types  Simple types 
OperatorRefsStructure  NationalOperatorCodeType 
OperatorRefStructure  OperatorCodeType 
ServicedOrganisationCodeType 


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


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


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

element NationalPublicTransportGazetteer/Regions
diagram
namespace http://www.naptan.org.uk/
type napt:RegionsStructure
properties
isRef 0
content complex
children napt:Region
annotation
documentation 
Definitions of NPTG regions.
source
<xsd:element name="Regions" type="RegionsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of NPTG regions.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NationalPublicTransportGazetteer/NptgLocalities
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalitiesStructure
properties
isRef 0
content complex
children napt:NptgLocality
annotation
documentation 
Definitions of NPTG Localities.
source
<xsd:element name="NptgLocalities" type="NptgLocalitiesStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of NPTG Localities.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NationalPublicTransportGazetteer/PlusbusZones
diagram
namespace http://www.naptan.org.uk/
type napt:PlusbusZonesStructure
properties
isRef 0
content complex
children napt:PlusbusZone
annotation
documentation 
definitions of PlusbusZones
source
<xsd:element name="PlusbusZones" type="PlusbusZonesStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>definitions of PlusbusZones</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AdministrativeAreasStructure
diagram
namespace http://www.naptan.org.uk/
children napt:AdministrativeArea
used by
element RegionStructure/AdministrativeAreas
annotation
documentation 
Collection of AdministrativeAreas
source
<xsd:complexType name="AdministrativeAreasStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of AdministrativeAreas</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="AdministrativeArea" type="AdministrativeAreaStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Administrative area managing data for part of the region.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element AdministrativeAreasStructure/AdministrativeArea
diagram
namespace http://www.naptan.org.uk/
type napt:AdministrativeAreaStructure
properties
isRef 0
content complex
children napt:AdministrativeAreaCode napt:AtcoAreaCode napt:Name napt:ShortName napt:NptgDistricts napt:MaximumLengthForShortNames napt:National napt:NaptanPrefixes napt:CleardownRange napt:ContactEmail napt:ContactTelephone
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
Administrative area managing data for part of the region.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="AdministrativeArea" type="AdministrativeAreaStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Administrative area managing data for part of the region.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AdministrativeAreaStructure
diagram
namespace http://www.naptan.org.uk/
children napt:AdministrativeAreaCode napt:AtcoAreaCode napt:Name napt:ShortName napt:NptgDistricts napt:MaximumLengthForShortNames napt:National napt:NaptanPrefixes napt:CleardownRange napt:ContactEmail napt:ContactTelephone
used by
element AdministrativeAreasStructure/AdministrativeArea
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
An administrative Area
source
<xsd:complexType name="AdministrativeAreaStructure">
  <xsd:annotation>
    <xsd:documentation>An administrative Area</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="AdministrativeAreaCode" type="napt:AdministrativeAreaCodeType">
      <xsd:annotation>
        <xsd:documentation>Unique identifier of the area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AtcoAreaCode" type="napt:AtcoAreaCodeType">
      <xsd:annotation>
        <xsd:documentation>ATCO code for area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the area. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ShortName" type="napt:NaturalLanguagePlaceNameStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Short name of area, to use as qualifier.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="NptgDistricts" type="NptgDistrictsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Definitions of districts.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="MaximumLengthForShortNames" type="xsd:positiveInteger" default="24" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Length limit for StopPoint Short CommonName instances for area. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="National" type="xsd:boolean" default="false" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Whether area administers stops nationally, or only  for its own area  (the default). For areas that issue stop types nationally (the '9nn' admin areas) this should be set to true</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="NaptanPrefixes" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>NaptanCode prefixes associated with area. Prefixes are used for allocating NaptanCode instances for stops so that the location can be determined from SMS requests. Each administrative area has its own resreved prefixes.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence maxOccurs="unbounded">
          <xsd:element name="AlphaPrefix" type="NaptanAlphaPrefixType">
            <xsd:annotation>
              <xsd:documentation>Alpha8 character set prefix associated with area. A given prefix must be unique to one area only.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="CleardownRange" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>NaPTAN StopPoint CleardownCode ranges associated with area. Prefixes are used for allocating. StopPoint CleardownCode. Each area is allocated a unique range. Cleardown codes are only allocated to stops that need them so as to conserve numbers.  </xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence maxOccurs="unbounded">
          <xsd:element name="CleardownStart" type="xsd:positiveInteger">
            <xsd:annotation>
              <xsd:documentation>Start of CleardownCode prefix associated with area. A given range must be allocated to one area only. </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="CleardownEnd" type="xsd:positiveInteger">
            <xsd:annotation>
              <xsd:documentation>End of CleardownCode range associated with area. A given range must be allocated to one area only. </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="ContactEmail" type="EmailAddressType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Administrative contact email for data queries. Should be a general address rather than an individual. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ContactTelephone" type="TelephoneContactStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Administrative contact phone for data queries.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
</xsd:complexType>

element AdministrativeAreaStructure/AdministrativeAreaCode
diagram
namespace http://www.naptan.org.uk/
type napt:AdministrativeAreaCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{3}
annotation
documentation 
Unique identifier of the area.
source
<xsd:element name="AdministrativeAreaCode" type="napt:AdministrativeAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of the area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/AtcoAreaCode
diagram
namespace http://www.naptan.org.uk/
type napt:AtcoAreaCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{3}
annotation
documentation 
ATCO code for area.
source
<xsd:element name="AtcoAreaCode" type="napt:AtcoAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>ATCO code for area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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. @lang.
source
<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the area. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/ShortName
diagram
namespace http://www.naptan.org.uk/
type napt: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 
Short name of area, to use as qualifier.
source
<xsd:element name="ShortName" type="napt:NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Short name of area, to use as qualifier.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/NptgDistricts
diagram
namespace http://www.naptan.org.uk/
type napt:NptgDistrictsStructure
properties
isRef 0
content complex
children napt:NptgDistrict
annotation
documentation 
Definitions of districts.
source
<xsd:element name="NptgDistricts" type="NptgDistrictsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of districts.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/MaximumLengthForShortNames
diagram
namespace http://www.naptan.org.uk/
type xsd:positiveInteger
properties
isRef 0
content simple
default 24
annotation
documentation 
Length limit for StopPoint Short CommonName instances for area. 
source
<xsd:element name="MaximumLengthForShortNames" type="xsd:positiveInteger" default="24" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Length limit for StopPoint Short CommonName instances for area. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/National
diagram
namespace http://www.naptan.org.uk/
type xsd:boolean
properties
isRef 0
content simple
default false
annotation
documentation 
Whether area administers stops nationally, or only  for its own area  (the default). For areas that issue stop types nationally (the '9nn' admin areas) this should be set to true
source
<xsd:element name="National" type="xsd:boolean" default="false" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Whether area administers stops nationally, or only  for its own area  (the default). For areas that issue stop types nationally (the '9nn' admin areas) this should be set to true</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/NaptanPrefixes
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children napt:AlphaPrefix
annotation
documentation 
NaptanCode prefixes associated with area. Prefixes are used for allocating NaptanCode instances for stops so that the location can be determined from SMS requests. Each administrative area has its own resreved prefixes.
source
<xsd:element name="NaptanPrefixes" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>NaptanCode prefixes associated with area. Prefixes are used for allocating NaptanCode instances for stops so that the location can be determined from SMS requests. Each administrative area has its own resreved prefixes.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence maxOccurs="unbounded">
      <xsd:element name="AlphaPrefix" type="NaptanAlphaPrefixType">
        <xsd:annotation>
          <xsd:documentation>Alpha8 character set prefix associated with area. A given prefix must be unique to one area only.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element AdministrativeAreaStructure/NaptanPrefixes/AlphaPrefix
diagram
namespace http://www.naptan.org.uk/
type napt:NaptanAlphaPrefixType
properties
isRef 0
content simple
facets
length 3
pattern [a-z]{3}
annotation
documentation 
Alpha8 character set prefix associated with area. A given prefix must be unique to one area only.
source
<xsd:element name="AlphaPrefix" type="NaptanAlphaPrefixType">
  <xsd:annotation>
    <xsd:documentation>Alpha8 character set prefix associated with area. A given prefix must be unique to one area only.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/CleardownRange
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children napt:CleardownStart napt:CleardownEnd
annotation
documentation 
NaPTAN StopPoint CleardownCode ranges associated with area. Prefixes are used for allocating. StopPoint CleardownCode. Each area is allocated a unique range. Cleardown codes are only allocated to stops that need them so as to conserve numbers.  
source
<xsd:element name="CleardownRange" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>NaPTAN StopPoint CleardownCode ranges associated with area. Prefixes are used for allocating. StopPoint CleardownCode. Each area is allocated a unique range. Cleardown codes are only allocated to stops that need them so as to conserve numbers.  </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence maxOccurs="unbounded">
      <xsd:element name="CleardownStart" type="xsd:positiveInteger">
        <xsd:annotation>
          <xsd:documentation>Start of CleardownCode prefix associated with area. A given range must be allocated to one area only. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="CleardownEnd" type="xsd:positiveInteger">
        <xsd:annotation>
          <xsd:documentation>End of CleardownCode range associated with area. A given range must be allocated to one area only. </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element AdministrativeAreaStructure/CleardownRange/CleardownStart
diagram
namespace http://www.naptan.org.uk/
type xsd:positiveInteger
properties
isRef 0
content simple
annotation
documentation 
Start of CleardownCode prefix associated with area. A given range must be allocated to one area only. 
source
<xsd:element name="CleardownStart" type="xsd:positiveInteger">
  <xsd:annotation>
    <xsd:documentation>Start of CleardownCode prefix associated with area. A given range must be allocated to one area only. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/CleardownRange/CleardownEnd
diagram
namespace http://www.naptan.org.uk/
type xsd:positiveInteger
properties
isRef 0
content simple
annotation
documentation 
End of CleardownCode range associated with area. A given range must be allocated to one area only. 
source
<xsd:element name="CleardownEnd" type="xsd:positiveInteger">
  <xsd:annotation>
    <xsd:documentation>End of CleardownCode range associated with area. A given range must be allocated to one area only. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/ContactEmail
diagram
namespace http://www.naptan.org.uk/
type napt:EmailAddressType
properties
isRef 0
content simple
facets
pattern [0-9A-Za-z'\.\-_]{1,127}@[0-9A-Za-z'\.\-_]{1,127}
annotation
documentation 
Administrative contact email for data queries. Should be a general address rather than an individual. 
source
<xsd:element name="ContactEmail" type="EmailAddressType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Administrative contact email for data queries. Should be a general address rather than an individual. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdministrativeAreaStructure/ContactTelephone
diagram
namespace http://www.naptan.org.uk/
type napt:TelephoneContactStructure
properties
isRef 0
content complex
children TelNationalNumber TelExtensionNumber TelCountryCode
annotation
documentation 
Administrative contact phone for data queries.
source
<xsd:element name="ContactTelephone" type="TelephoneContactStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Administrative contact phone for data queries.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType NptgDistrictsStructure
diagram
namespace http://www.naptan.org.uk/
children napt:NptgDistrict
used by
element AdministrativeAreaStructure/NptgDistricts
annotation
documentation 
Collection 
source
<xsd:complexType name="NptgDistrictsStructure">
  <xsd:annotation>
    <xsd:documentation>Collection </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NptgDistrict" type="NptgDistrictStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A district with the UK. Corresponds to a unitary authority. Disjoint area of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element NptgDistrictsStructure/NptgDistrict
diagram
namespace http://www.naptan.org.uk/
type napt:NptgDistrictStructure
properties
isRef 0
content complex
children napt:NptgDistrictCode napt:Name
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
A district with the UK. Corresponds to a unitary authority. Disjoint area of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="NptgDistrict" type="NptgDistrictStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A district with the UK. Corresponds to a unitary authority. Disjoint area of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType NptgDistrictStructure
diagram
namespace http://www.naptan.org.uk/
children napt:NptgDistrictCode napt:Name
used by
element NptgDistrictsStructure/NptgDistrict
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
NPTG District.
source
<xsd:complexType name="NptgDistrictStructure">
  <xsd:annotation>
    <xsd:documentation>NPTG District.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NptgDistrictCode" type="NptgDistrictCodeType">
      <xsd:annotation>
        <xsd:documentation>Unique identifier of the district.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the district. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element NptgDistrictStructure/NptgDistrictCode
diagram
namespace http://www.naptan.org.uk/
type napt:NptgDistrictCodeType
properties
isRef 0
content simple
annotation
documentation 
Unique identifier of the district.
source
<xsd:element name="NptgDistrictCode" type="NptgDistrictCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of the district.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgDistrictStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 district. @lang.
source
<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the district. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType NptgLocalitiesStructure
diagram
namespace http://www.naptan.org.uk/
children napt:NptgLocality
used by
element NationalPublicTransportGazetteer/NptgLocalities
annotation
documentation 
Collection of localities.
source
<xsd:complexType name="NptgLocalitiesStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of localities.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NptgLocality" type="NptgLocalityStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A UK town or settlement that may have public transport services and PTANs. 
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element NptgLocalitiesStructure/NptgLocality
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalityStructure
properties
isRef 0
content complex
children napt:NptgLocalityCode napt:Descriptor napt:AlternativeDescriptors napt:ParentNptgLocalityRef napt:AdministrativeAreaRef napt:NptgDistrictRef napt:AdjacentLocalities napt:SourceLocalityType napt:LocalityClassification napt:Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
A UK town or settlement that may have public transport services and PTANs. 
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="NptgLocality" type="NptgLocalityStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A UK town or settlement that may have public transport services and PTANs. 
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType NptgLocalityDescriptorStructure
diagram
namespace http://www.naptan.org.uk/
children napt:LocalityName napt:ShortName napt:Qualify
used by
elements NptgLocalityStructure/Descriptor NptgLocalityStructure/AlternativeDescriptors/Descriptor
source
<xsd:complexType name="NptgLocalityDescriptorStructure">
  <xsd:sequence>
    <xsd:element name="LocalityName" type="napt:NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the locality. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ShortName" type="napt:NaturalLanguagePlaceNameStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Short name for locality to be used when qualifying children. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Qualify" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Qualifier to use when presenting name to distinguish it from other similarly named elements.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="QualifierName" type="napt:NaturalLanguagePlaceNameStructure">
            <xsd:annotation>
              <xsd:documentation>Qualifying name. Place name characters only allowed. @lang </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:choice minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Qualifier Relationship</xsd:documentation>
            </xsd:annotation>
            <xsd:element name="NptgLocalityRef" type="napt:NptgLocalityRefStructure">
              <xsd:annotation>
                <xsd:documentation>Qualifier corresponds to the short name of the  specified locality.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="NptgDistrictRef" type="EmptyType">
              <xsd:annotation>
                <xsd:documentation>Qualifier corresponds to the short name of the  specified district.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:choice>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element NptgLocalityDescriptorStructure/LocalityName
diagram
namespace http://www.naptan.org.uk/
type napt: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 locality. @lang.
source
<xsd:element name="LocalityName" type="napt:NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the locality. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityDescriptorStructure/ShortName
diagram
namespace http://www.naptan.org.uk/
type napt: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 
Short name for locality to be used when qualifying children. @lang.
source
<xsd:element name="ShortName" type="napt:NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Short name for locality to be used when qualifying children. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityDescriptorStructure/Qualify
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children napt:QualifierName napt:NptgLocalityRef napt:NptgDistrictRef
annotation
documentation 
Qualifier to use when presenting name to distinguish it from other similarly named elements.
source
<xsd:element name="Qualify" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Qualifier to use when presenting name to distinguish it from other similarly named elements.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="QualifierName" type="napt:NaturalLanguagePlaceNameStructure">
        <xsd:annotation>
          <xsd:documentation>Qualifying name. Place name characters only allowed. @lang </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:choice minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Qualifier Relationship</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="NptgLocalityRef" type="napt:NptgLocalityRefStructure">
          <xsd:annotation>
            <xsd:documentation>Qualifier corresponds to the short name of the  specified locality.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="NptgDistrictRef" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>Qualifier corresponds to the short name of the  specified district.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element NptgLocalityDescriptorStructure/Qualify/QualifierName
diagram
namespace http://www.naptan.org.uk/
type napt: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 
Qualifying name. Place name characters only allowed. @lang 
source
<xsd:element name="QualifierName" type="napt:NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Qualifying name. Place name characters only allowed. @lang </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityDescriptorStructure/Qualify/NptgLocalityRef
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalityRefStructure
properties
isRef 0
content complex
facets
pattern [EN][0S][0-9]{6}
annotation
documentation 
Qualifier corresponds to the short name of the  specified locality.
source
<xsd:element name="NptgLocalityRef" type="napt:NptgLocalityRefStructure">
  <xsd:annotation>
    <xsd:documentation>Qualifier corresponds to the short name of the  specified locality.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityDescriptorStructure/Qualify/NptgDistrictRef
diagram
namespace http://www.naptan.org.uk/
type napt:EmptyType
properties
isRef 0
content simple
facets
enumeration 
annotation
documentation 
Qualifier corresponds to the short name of the  specified district.
source
<xsd:element name="NptgDistrictRef" type="EmptyType">
  <xsd:annotation>
    <xsd:documentation>Qualifier corresponds to the short name of the  specified district.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType NptgLocalityStructure
diagram
namespace http://www.naptan.org.uk/
children napt:NptgLocalityCode napt:Descriptor napt:AlternativeDescriptors napt:ParentNptgLocalityRef napt:AdministrativeAreaRef napt:NptgDistrictRef napt:AdjacentLocalities napt:SourceLocalityType napt:LocalityClassification napt:Location
used by
element NptgLocalitiesStructure/NptgLocality
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
NPTG Locality.
source
<xsd:complexType name="NptgLocalityStructure">
  <xsd:annotation>
    <xsd:documentation>NPTG Locality.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="NptgLocalityCode" type="NptgLocalityCodeType">
      <xsd:annotation>
        <xsd:documentation>Unique identifier of the locality.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Descriptor" type="NptgLocalityDescriptorStructure">
      <xsd:annotation>
        <xsd:documentation>Structured text descriptor of locality</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AlternativeDescriptors" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Collection of Aliases.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Descriptor" maxOccurs="unbounded">
            <xsd:annotation>
              <xsd:documentation>Alternative name for the locality. @lang.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
              <xsd:complexContent>
                <xsd:extension base="NptgLocalityDescriptorStructure">
                  <xsd:attributeGroup ref="napt:ModificationDetailsGroup"/>
                </xsd:extension>
              </xsd:complexContent>
            </xsd:complexType>
          </xsd:element>
        </xsd:sequence>
        <xsd:attributeGroup ref="ModificationDetailsGroup"/>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="ParentNptgLocalityRef" type="NptgLocalityVersionedRefStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Parent locality. Reference to another locality that contains the child locality completely. Must not be cyclic.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaCodeType">
      <xsd:annotation>
        <xsd:documentation>Administrative area that manages the locality.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="NptgDistrictRef" type="NptgDistrictCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>District to which locality belongs.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdjacentLocalities" type="napt:NptgLocalityRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Localities which are adjacent to the locality.  or which partially overlay. NB this should not be used for containment. Instead the ParentRef should be used for localities which completely contain the locality, and on child localities for localities completely contained in the locality. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="SourceLocalityType" type="NptgSourceLocalityTypeEnumeration">
      <xsd:annotation>
        <xsd:documentation>Classification of the Locality in the original source material used to compile the gazetteer. Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="LocalityClassification" type="NptgLocalityClassificationEnumeration" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Classification of the Locality as a settlement. Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="LocationStructure">
      <xsd:annotation>
        <xsd:documentation>Spatial coordinates of the locality.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
</xsd:complexType>

element NptgLocalityStructure/NptgLocalityCode
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalityCodeType
properties
isRef 0
content simple
facets
pattern [EN][0S][0-9]{6}
annotation
documentation 
Unique identifier of the locality.
source
<xsd:element name="NptgLocalityCode" type="NptgLocalityCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of the locality.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/Descriptor
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalityDescriptorStructure
properties
isRef 0
content complex
children napt:LocalityName napt:ShortName napt:Qualify
annotation
documentation 
Structured text descriptor of locality
source
<xsd:element name="Descriptor" type="NptgLocalityDescriptorStructure">
  <xsd:annotation>
    <xsd:documentation>Structured text descriptor of locality</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/AlternativeDescriptors
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children napt:Descriptor
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
Collection of Aliases.
source
<xsd:element name="AlternativeDescriptors" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collection of Aliases.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Descriptor" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Alternative name for the locality. @lang.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:complexContent>
            <xsd:extension base="NptgLocalityDescriptorStructure">
              <xsd:attributeGroup ref="napt:ModificationDetailsGroup"/>
            </xsd:extension>
          </xsd:complexContent>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
    <xsd:attributeGroup ref="ModificationDetailsGroup"/>
  </xsd:complexType>
</xsd:element>

element NptgLocalityStructure/AlternativeDescriptors/Descriptor
diagram
namespace http://www.naptan.org.uk/
type extension of napt:NptgLocalityDescriptorStructure
properties
isRef 0
content complex
children napt:LocalityName napt:ShortName napt:Qualify
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
Alternative name for the locality. @lang.
source
<xsd:element name="Descriptor" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Alternative name for the locality. @lang.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="NptgLocalityDescriptorStructure">
        <xsd:attributeGroup ref="napt:ModificationDetailsGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element NptgLocalityStructure/ParentNptgLocalityRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
Parent locality. Reference to another locality that contains the child locality completely. Must not be cyclic.
source
<xsd:element name="ParentNptgLocalityRef" type="NptgLocalityVersionedRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Parent locality. Reference to another locality that contains the child locality completely. Must not be cyclic.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/AdministrativeAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt:AdministrativeAreaCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{3}
annotation
documentation 
Administrative area that manages the locality.
source
<xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaCodeType">
  <xsd:annotation>
    <xsd:documentation>Administrative area that manages the locality.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/NptgDistrictRef
diagram
namespace http://www.naptan.org.uk/
type napt:NptgDistrictCodeType
properties
isRef 0
content simple
annotation
documentation 
District to which locality belongs.
source
<xsd:element name="NptgDistrictRef" type="NptgDistrictCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>District to which locality belongs.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/AdjacentLocalities
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalityRefsStructure
properties
isRef 0
content complex
children NptgLocalityRef
annotation
documentation 
Localities which are adjacent to the locality.  or which partially overlay. NB this should not be used for containment. Instead the ParentRef should be used for localities which completely contain the locality, and on child localities for localities completely contained in the locality. 
source
<xsd:element name="AdjacentLocalities" type="napt:NptgLocalityRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Localities which are adjacent to the locality.  or which partially overlay. NB this should not be used for containment. Instead the ParentRef should be used for localities which completely contain the locality, and on child localities for localities completely contained in the locality. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/SourceLocalityType
diagram
namespace http://www.naptan.org.uk/
type napt:NptgSourceLocalityTypeEnumeration
properties
isRef 0
content simple
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 
Classification of the Locality in the original source material used to compile the gazetteer. Enumerated value.
source
<xsd:element name="SourceLocalityType" type="NptgSourceLocalityTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Classification of the Locality in the original source material used to compile the gazetteer. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/LocalityClassification
diagram
namespace http://www.naptan.org.uk/
type napt:NptgLocalityClassificationEnumeration
properties
isRef 0
content simple
facets
enumeration city
enumeration suburb
enumeration town
enumeration village
enumeration hamlet
enumeration urbanCentre
enumeration placeOfInterest
enumeration other
enumeration unrecorded
annotation
documentation 
Classification of the Locality as a settlement. Enumerated value.
source
<xsd:element name="LocalityClassification" type="NptgLocalityClassificationEnumeration" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Classification of the Locality as a settlement. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgLocalityStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt:PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Spatial coordinates of the locality.
source
<xsd:element name="Location" type="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>Spatial coordinates of the locality.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType PlusbusZonesStructure
diagram
namespace http://www.naptan.org.uk/
children napt:PlusbusZone
used by
element NationalPublicTransportGazetteer/PlusbusZones
annotation
documentation 
Collection of Plusbus Zones
source
<xsd:complexType name="PlusbusZonesStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of Plusbus Zones</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="PlusbusZone" type="PlusbusZoneStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A PlusbusZone region covering a part of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element PlusbusZonesStructure/PlusbusZone
diagram
namespace http://www.naptan.org.uk/
type napt:PlusbusZoneStructure
properties
isRef 0
content complex
children napt:PlusbusZoneCode napt:Name napt:Country napt:Mapping
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
A PlusbusZone region covering a part of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="PlusbusZone" type="PlusbusZoneStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A PlusbusZone region covering a part of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType PlusbusZoneStructure
diagram
namespace http://www.naptan.org.uk/
children napt:PlusbusZoneCode napt:Name napt:Country napt:Mapping
used by
element PlusbusZonesStructure/PlusbusZone
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
Plusbus fare Zone.
source
<xsd:complexType name="PlusbusZoneStructure">
  <xsd:annotation>
    <xsd:documentation>Plusbus fare Zone.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="PlusbusZoneCode" type="PlusbusZoneCodeType">
      <xsd:annotation>
        <xsd:documentation>Unique identifier of the Plusbus Zone.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the zone @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Country" type="CountryEnumeration">
      <xsd:annotation>
        <xsd:documentation>Country of zone. Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Mapping" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Boundary of the Plusbus zone</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Location" type="LocationStructure" minOccurs="3" maxOccurs="unbounded">
            <xsd:annotation>
              <xsd:documentation>Collection of points making a polygon defining zone.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
</xsd:complexType>

element PlusbusZoneStructure/PlusbusZoneCode
diagram
namespace http://www.naptan.org.uk/
type napt:PlusbusZoneCodeType
properties
isRef 0
content simple
annotation
documentation 
Unique identifier of the Plusbus Zone.
source
<xsd:element name="PlusbusZoneCode" type="PlusbusZoneCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of the Plusbus Zone.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element PlusbusZoneStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 zone @lang.
source
<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the zone @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element PlusbusZoneStructure/Country
diagram
namespace http://www.naptan.org.uk/
type napt:CountryEnumeration
properties
isRef 0
content simple
facets
enumeration England
enumeration NorthernIreland
enumeration Scotland
enumeration Wales
enumeration UK
annotation
documentation 
Country of zone. Enumerated value.
source
<xsd:element name="Country" type="CountryEnumeration">
  <xsd:annotation>
    <xsd:documentation>Country of zone. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element PlusbusZoneStructure/Mapping
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children napt:Location
annotation
documentation 
Boundary of the Plusbus zone
source
<xsd:element name="Mapping" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Boundary of the Plusbus zone</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Location" type="LocationStructure" minOccurs="3" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Collection of points making a polygon defining zone.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element PlusbusZoneStructure/Mapping/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt:PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Collection of points making a polygon defining zone.
source
<xsd:element name="Location" type="LocationStructure" minOccurs="3" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Collection of points making a polygon defining zone.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType RegionsStructure
diagram
namespace http://www.naptan.org.uk/
children napt:Region
used by
element NationalPublicTransportGazetteer/Regions
annotation
documentation 
Collection of regions
source
<xsd:complexType name="RegionsStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of regions</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Region" type="RegionStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A Traveline region serving a part of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element RegionsStructure/Region
diagram
namespace http://www.naptan.org.uk/
type napt:RegionStructure
properties
isRef 0
content complex
children napt:RegionCode napt:Name napt:Country napt:AdministrativeAreas
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
A Traveline region serving a part of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="Region" type="RegionStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A Traveline region serving a part of the UK.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType RegionStructure
diagram
namespace http://www.naptan.org.uk/
children napt:RegionCode napt:Name napt:Country napt:AdministrativeAreas
used by
element RegionsStructure/Region
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt:StatusEnumerationoptional  active    
annotation
documentation 
Traveline Region
source
<xsd:complexType name="RegionStructure">
  <xsd:annotation>
    <xsd:documentation>Traveline Region</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="RegionCode" type="RegionCodeType">
      <xsd:annotation>
        <xsd:documentation>Unique identifier of the region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the region. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Country" type="CountryEnumeration">
      <xsd:annotation>
        <xsd:documentation>Country of region. Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdministrativeAreas" type="AdministrativeAreasStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Areas making up the region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="RequiredModificationDetailsGroup"/>
</xsd:complexType>

element RegionStructure/RegionCode
diagram
namespace http://www.naptan.org.uk/
type napt:RegionCodeType
properties
isRef 0
content simple
annotation
documentation 
Unique identifier of the region.
source
<xsd:element name="RegionCode" type="RegionCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of the region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element RegionStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 region. @lang.
source
<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the region. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element RegionStructure/Country
diagram
namespace http://www.naptan.org.uk/
type napt:CountryEnumeration
properties
isRef 0
content simple
facets
enumeration England
enumeration NorthernIreland
enumeration Scotland
enumeration Wales
enumeration UK
annotation
documentation 
Country of region. Enumerated value.
source
<xsd:element name="Country" type="CountryEnumeration">
  <xsd:annotation>
    <xsd:documentation>Country of region. Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element RegionStructure/AdministrativeAreas
diagram
namespace http://www.naptan.org.uk/
type napt:AdministrativeAreasStructure
properties
isRef 0
content complex
children napt:AdministrativeArea
annotation
documentation 
Areas making up the region.
source
<xsd:element name="AdministrativeAreas" type="AdministrativeAreasStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Areas making up the region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group napt:BusStopClassificationGroup
diagram
namespace http://www.naptan.org.uk/
children MarkedPoint UnmarkedPoint HailAndRideSection FlexibleZone
used by
element napt: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 napt:BusStopClassificationGroup/MarkedPoint
diagram
namespace http://www.naptan.org.uk/
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 napt:BusStopClassificationGroup/MarkedPoint/DefaultWaitTime
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:BusStopClassificationGroup/MarkedPoint/Bearing
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:BusStopClassificationGroup/UnmarkedPoint
diagram
namespace http://www.naptan.org.uk/
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 napt:BusStopClassificationGroup/UnmarkedPoint/Bearing
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:BusStopClassificationGroup/HailAndRideSection
diagram
namespace http://www.naptan.org.uk/
type napt:HailAndRideSectionStructure
properties
isRef 0
content complex
children StartPoint EndPoint Bearing
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:BusStopClassificationGroup/FlexibleZone
diagram
namespace http://www.naptan.org.uk/
type napt:FlexibleZoneStructure
properties
isRef 0
content complex
children Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopIdentifierGroup
diagram
namespace http://www.naptan.org.uk/
children NaptanCode PlateCode PrivateCode CleardownCode
used by
complexType napt: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 napt:StopIdentifierGroup/NaptanCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopIdentifierGroup/PlateCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopIdentifierGroup/PrivateCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopIdentifierGroup/CleardownCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedAirRefStructure
diagram
namespace http://www.naptan.org.uk/
children IataRef Name
used by
element napt:StopClassificationStructure/OffStreet/Air/AnnotatedAirRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AnnotatedAirRefStructure/IataRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedAirRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedCoachRefStructure
diagram
namespace http://www.naptan.org.uk/
children CoachRef Name LongName Location
used by
element napt:StopClassificationStructure/OffStreet/BusAndCoach/AnnotatedCoachRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AnnotatedCoachRefStructure/CoachRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedCoachRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedCoachRefStructure/LongName
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedCoachRefStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:AnnotatedFerryRefStructure
diagram
namespace http://www.naptan.org.uk/
children FerryRef Name Location
used by
element napt:StopClassificationStructure/OffStreet/Ferry/AnnotatedFerryRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AnnotatedFerryRefStructure/FerryRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedFerryRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedFerryRefStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:AnnotatedMetroRefStructure
diagram
namespace http://www.naptan.org.uk/
children MetroRef Name Location
used by
element napt:StopClassificationStructure/OffStreet/Metro/AnnotatedMetroRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AnnotatedMetroRefStructure/MetroRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedMetroRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedMetroRefStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:AnnotatedRailRefStructure
diagram
namespace http://www.naptan.org.uk/
children TiplocRef CrsRef StationName Location
used by
element napt:StopClassificationStructure/OffStreet/Rail/AnnotatedRailRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AnnotatedRailRefStructure/TiplocRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedRailRefStructure/CrsRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedRailRefStructure/StationName
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedRailRefStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:AnnotatedStopPointRefStructure
diagram
namespace http://www.naptan.org.uk/
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 napt:AnnotatedStopPointRefStructure/StopPointRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedStopPointRefStructure/CommonName
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedStopPointRefStructure/Indicator
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedStopPointRefStructure/LocalityName
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AnnotatedStopPointRefStructure/LocalityQualifier
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:DescriptorStructure
diagram
namespace http://www.naptan.org.uk/
children CommonName ShortCommonName Landmark Street Crossing Indicator
used by
elements napt:StopPointStructure/Descriptor napt: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 napt:DescriptorStructure/CommonName
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:DescriptorStructure/ShortCommonName
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:DescriptorStructure/Landmark
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:DescriptorStructure/Street
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:DescriptorStructure/Crossing
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:DescriptorStructure/Indicator
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:FlexibleZoneStructure
diagram
namespace http://www.naptan.org.uk/
children Location
used by
element napt:BusStopClassificationGroup/FlexibleZone
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:FlexibleZoneStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:HailAndRideSectionStructure
diagram
namespace http://www.naptan.org.uk/
children StartPoint EndPoint Bearing
used by
element napt:BusStopClassificationGroup/HailAndRideSection
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:HailAndRideSectionStructure/StartPoint
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:HailAndRideSectionStructure/EndPoint
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:HailAndRideSectionStructure/Bearing
diagram
namespace http://www.naptan.org.uk/
type napt:BearingStructure
properties
isRef 0
content complex
children CompassPoint Degrees
source
<xsd:element name="Bearing" type="BearingStructure" minOccurs="0"/>

complexType napt:PlaceRefStructure
diagram
namespace http://www.naptan.org.uk/
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 napt:PlaceRefStructure/StopPointRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:PlaceRefStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:PlaceRefStructure/NptgLocalityRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopAreaRefsStructure
diagram
namespace http://www.naptan.org.uk/
children StopAreaRef
used by
element napt: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 napt:StopAreaRefsStructure/StopAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopAreaRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:StopAreaCodeType
properties
base StopAreaCodeType
used by
element napt: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 napt:StopAreasStructure
diagram
namespace http://www.naptan.org.uk/
children StopArea
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 napt:StopAreasStructure/StopArea
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopAreaStructure
diagram
namespace http://www.naptan.org.uk/
children StopAreaCode PrivateCode Name ParentStopAreaRef AdministrativeAreaRef StopAreaType Location
used by
element napt:StopAreasStructure/StopArea
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopAreaStructure/StopAreaCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopAreaStructure/PrivateCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopAreaStructure/Name
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopAreaStructure/ParentStopAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopAreaStructure/AdministrativeAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopAreaStructure/StopAreaType
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopAreaStructure/Location
diagram
namespace http://www.naptan.org.uk/
type napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:StopAreaVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:StopAreaCodeType
properties
base StopAreaCodeType
used by
element napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopAreaWrappedRefStructure
diagram
namespace http://www.naptan.org.uk/
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 napt:StopAreaWrappedRefStructure/StopAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure
diagram
namespace http://www.naptan.org.uk/
children StopType OnStreet OffStreet
used by
element napt: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 napt:StopClassificationStructure/StopType
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OnStreet
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OnStreet/Bus
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OnStreet/Bus/BusStopType
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OnStreet/Bus/TimingStatus
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OnStreet/Taxi
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OnStreet/Taxi/TaxiRank
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OnStreet/Taxi/SharedTaxiRank
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/Air
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/Air/Entrance
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Air/AccessArea
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Air/AnnotatedAirRef
diagram
namespace http://www.naptan.org.uk/
type napt:AnnotatedAirRefStructure
properties
isRef 0
content complex
children IataRef Name
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopClassificationStructure/OffStreet/Ferry
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/Ferry/Entrance
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Ferry/AccessArea
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Ferry/Berth
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Ferry/AnnotatedFerryRef
diagram
namespace http://www.naptan.org.uk/
type napt:AnnotatedFerryRefStructure
properties
isRef 0
content complex
children FerryRef Name Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopClassificationStructure/OffStreet/Rail
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/Rail/Entrance
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Rail/AccessArea
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Rail/Platform
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Rail/AnnotatedRailRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopClassificationStructure/OffStreet/Metro
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/Metro/Entrance
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Metro/AccessArea
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Metro/Platform
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/Metro/AnnotatedMetroRef
diagram
namespace http://www.naptan.org.uk/
type napt:AnnotatedMetroRefStructure
properties
isRef 0
content complex
children MetroRef Name Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopClassificationStructure/OffStreet/BusAndCoach
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/BusAndCoach/Entrance
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/BusAndCoach/AccessArea
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/BusAndCoach/Bay
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/BusAndCoach/Bay/TimingStatus
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/BusAndCoach/VariableBay
diagram
namespace http://www.naptan.org.uk/
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 napt:StopClassificationStructure/OffStreet/BusAndCoach/VariableBay/TimingStatus
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopClassificationStructure/OffStreet/BusAndCoach/AnnotatedCoachRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopPointRefsStructure
diagram
namespace http://www.naptan.org.uk/
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 napt:StopPointRefsStructure/StopPointRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopPointRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:AtcoCodeType
properties
base AtcoCodeType
used by
elements napt:StopPointWrappedRefStructure/StopPointRef napt: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 napt:StopPointsStructure
diagram
namespace http://www.naptan.org.uk/
children StopPoint
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 napt:StopPointsStructure/StopPoint
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopPointStructure
diagram
namespace http://www.naptan.org.uk/
children AtcoCode NaptanCode PlateCode PrivateCode CleardownCode Descriptor AlternativeDescriptors Place StopClassification StopAreas AdministrativeAreaRef PlusbusZones Notes StopAvailability
used by
element napt:StopPointsStructure/StopPoint
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopPointStructure/AtcoCode
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Descriptor
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/AlternativeDescriptors
diagram
namespace http://www.naptan.org.uk/
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 napt:StopPointStructure/AlternativeDescriptors/Descriptor
diagram
namespace http://www.naptan.org.uk/
type extension of napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopPointStructure/Place
diagram
namespace http://www.naptan.org.uk/
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 napt:StopPointStructure/Place/NptgLocalityRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Place/AlternativeNptgLocalities
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Place/MainNptgLocalities
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Place/Suburb
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Place/Town
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Place/LocalityCentre
diagram
namespace http://www.naptan.org.uk/
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 napt:StopPointStructure/Place/Location
diagram
namespace http://www.naptan.org.uk/
type extension of napt:LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt: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 napt:StopPointStructure/StopClassification
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/StopAreas
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/AdministrativeAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/PlusbusZones
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/Notes
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointStructure/StopAvailability
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopPointVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:AtcoCodeType
properties
base AtcoCodeType
used by
elements napt:StopAreaStructure/ParentStopAreaRef napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopPointWrappedRefStructure
diagram
namespace http://www.naptan.org.uk/
children StopPointRef
used by
element napt: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 napt:StopPointWrappedRefStructure/StopPointRef
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopValidityStructure
diagram
namespace http://www.naptan.org.uk/
children StopValidity
used by
element napt: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 napt:StopValidityStructure/StopValidity
diagram
namespace http://www.naptan.org.uk/
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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:StopValidityStructure/StopValidity/DateRange
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopValidityStructure/StopValidity/Active
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopValidityStructure/StopValidity/Suspended
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopValidityStructure/StopValidity/Transferred
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:StopValidityStructure/StopValidity/Note
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AtcoCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
elements napt:StopPointStructure/AtcoCode napt:AnnotatedStopPointRefStructure/StopPointRef
complexTypes napt:StopPointRefStructure napt: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 napt:BusStopTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt: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 napt:CleardownCodeType
namespace http://www.naptan.org.uk/
type xsd:positiveInteger
used by
element napt: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 napt:CrsCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt: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 napt:IataCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element napt: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 napt:InterchangeActivityEnumeration
namespace http://www.naptan.org.uk/
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 napt:JourneyStopTypeEnumeration
namespace http://www.naptan.org.uk/
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 napt:MetroCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element napt: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 napt:NaptanAlphaPrefixType
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element AdministrativeAreaStructure/NaptanPrefixes/AlphaPrefix
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 napt:NaptanCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
element napt: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 napt:NationalCoachCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element napt: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 napt:NationalFerryPortCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element napt: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 napt:NationalLocationCodeType
namespace http://www.naptan.org.uk/
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 napt:PlateCodeType
namespace http://www.naptan.org.uk/
type xsd:string
used by
element napt: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 napt:StopActivityEnumeration
namespace http://www.naptan.org.uk/
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 napt:StopAreaCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
element napt:StopAreaStructure/StopAreaCode
complexTypes napt:StopAreaRefStructure napt: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 napt:StopAreaTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt: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 napt:StopTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt: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 napt:TimingStatusEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
elements napt:StopClassificationStructure/OnStreet/Bus/TimingStatus napt:StopClassificationStructure/OffStreet/BusAndCoach/Bay/TimingStatus napt: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 napt:TiplocCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt: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 napt:VehicleAtStopActivityEnumeration
namespace http://www.naptan.org.uk/
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>

complexType napt:AdministrativeAreaRefsStructure
diagram
namespace http://www.naptan.org.uk/
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 napt:AdministrativeAreaRefsStructure/AdministrativeAreaRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AdministrativeAreaRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:AdministrativeAreaCodeType
properties
base AdministrativeAreaCodeType
used by
elements napt:StopPointStructure/AdministrativeAreaRef napt: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 napt:AdministrativeAreaVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:AdministrativeAreaCodeType
properties
base AdministrativeAreaCodeType
used by
element napt:AdministrativeAreaRefsStructure/AdministrativeAreaRef
facets
pattern [0-9]{3}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:NptgLocalityRefsStructure
diagram
namespace http://www.naptan.org.uk/
children NptgLocalityRef
used by
elements napt:StopPointStructure/Place/AlternativeNptgLocalities napt:StopPointStructure/Place/MainNptgLocalities NptgLocalityStructure/AdjacentLocalities
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 napt:NptgLocalityRefsStructure/NptgLocalityRef
diagram
namespace http://www.naptan.org.uk/
type napt: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  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:NptgLocalityRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:NptgLocalityCodeType
properties
base NptgLocalityCodeType
used by
elements NptgLocalityDescriptorStructure/Qualify/NptgLocalityRef napt: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 napt:NptgLocalityVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:NptgLocalityCodeType
properties
base NptgLocalityCodeType
used by
elements NptgLocalityStructure/ParentNptgLocalityRef napt:PlaceRefStructure/NptgLocalityRef napt:NptgLocalityRefsStructure/NptgLocalityRef
facets
pattern [EN][0S][0-9]{6}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:PlusbusZoneRefsStructure
diagram
namespace http://www.naptan.org.uk/
children PlusbusZoneRef
used by
element napt: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 napt:PlusbusZoneRefsStructure/PlusbusZoneRef
diagram
namespace http://www.naptan.org.uk/
type napt:PlusbusZoneVersionedRefStructure
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:PlusbusZoneRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt: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 napt:PlusbusZoneVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:PlusbusZoneCodeType
properties
base PlusbusZoneCodeType
used by
element napt:PlusbusZoneRefsStructure/PlusbusZoneRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:RegionRefsStructure
diagram
namespace http://www.naptan.org.uk/
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 napt:RegionRefsStructure/RegionRef
diagram
namespace http://www.naptan.org.uk/
type napt:RegionVersionedRefStructure
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:RegionRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt: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 napt:RegionVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:RegionCodeType
properties
base RegionCodeType
used by
element napt:RegionRefsStructure/RegionRef
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  napt:ModificationEnumerationoptional  new    
RevisionNumber  napt:RevisionNumberTypeoptional      
Status  napt: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 napt:AdministrativeAreaCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
elements AdministrativeAreaStructure/AdministrativeAreaCode NptgLocalityStructure/AdministrativeAreaRef
complexTypes napt:AdministrativeAreaRefStructure napt: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 napt:AtcoAreaCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element AdministrativeAreaStructure/AtcoAreaCode
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 napt:CallCentreCodeType
namespace http://www.naptan.org.uk/
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 napt:CountryEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
elements RegionStructure/Country PlusbusZoneStructure/Country
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 napt:NptgDistrictCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
elements NptgDistrictStructure/NptgDistrictCode NptgLocalityStructure/NptgDistrictRef
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 napt:NptgLocalityClassificationEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element NptgLocalityStructure/LocalityClassification
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 napt:NptgLocalityCodeType
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element NptgLocalityStructure/NptgLocalityCode
complexTypes napt:NptgLocalityRefStructure napt: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 napt:NptgSourceLocalityTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element NptgLocalityStructure/SourceLocalityType
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 napt:PlusbusZoneCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element PlusbusZoneStructure/PlusbusZoneCode
complexTypes napt:PlusbusZoneRefStructure napt: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 napt:RegionCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element RegionStructure/RegionCode
complexTypes napt:RegionRefStructure napt: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 napt:RegionShortCodeEnumeration
namespace http://www.naptan.org.uk/
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 napt:RegionShortCodeType
namespace http://www.naptan.org.uk/
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 napt:UkLanguageEnumeration
namespace http://www.naptan.org.uk/
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 napt:AllBankHolidaysGroup
diagram
namespace http://www.naptan.org.uk/
children AllBankHolidays Christmas ChristmasDay BoxingDay AllHolidaysExceptChristmas GoodFriday NewYearsDay Jan2ndScotland HolidayMondays LateSummerBankHolidayNotScotland MayDay EasterMonday SpringBank AugustBankHolidayScotland DisplacementHolidays ChristmasDayHoliday BoxingDayHoliday NewYearsDayHoliday OtherPublicHoliday
used by
complexType napt: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 napt:AllBankHolidaysGroup/AllBankHolidays
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AllBankHolidaysGroup/AllHolidaysExceptChristmas
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AllBankHolidaysGroup/GoodFriday
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AllBankHolidaysGroup/NewYearsDay
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AllBankHolidaysGroup/Jan2ndScotland
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AllBankHolidaysGroup/OtherPublicHoliday
diagram
namespace http://www.naptan.org.uk/
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 napt:AllBankHolidaysGroup/OtherPublicHoliday/Description
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:AllBankHolidaysGroup/OtherPublicHoliday/Date
diagram
namespace http://www.naptan.org.uk/
type napt: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 napt:ChristmasGroup
diagram
namespace http://www.naptan.org.uk/
children Christmas ChristmasDay BoxingDay
used by
group napt:AllBankHolidaysGroup
annotation
documentation 
Christmas holidays
source
<xsd:group name<