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="ChristmasGroup">
  <xsd:annotation>
    <xsd:documentation>Christmas holidays</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="Christmas" type="EmptyType">
      <xsd:annotation>
        <xsd:documentation>The days of the Christmas holiday. Usually for specifying non operation.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:sequence>
      <xsd:element name="ChristmasDay" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Christmas Day. 25th December. See also ChristmasDayHoliday</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="BoxingDay" type="EmptyType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Boxing Day 26th December. See also BoxingDayHoliday.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:choice>
</xsd:group>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

element napt:HolidayMondaysGroup/HolidayMondays
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 that may occur on different days each year.
source
<xsd:element name="HolidayMondays" type="EmptyType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>All public bank holidays in the country of the context of use that may occur on different days each year.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

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

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

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

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

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

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

complexType napt:BankHolidaysStructure
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 EarlyRunOffDays ChristmasEve NewYearsEve
used by
element napt:DayAndTimeAvailabilityStructure/HolidayTypes
annotation
documentation 
A collection of specific bank holidays.
source
<xsd:complexType name="BankHolidaysStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of specific bank holidays.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:group ref="AllBankHolidaysGroup" minOccurs="0"/>
    <xsd:group ref="EarlyRunOffGroup" minOccurs="0"/>
  </xsd:sequence>
</xsd:complexType>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

complexType napt:FrequencyStructure
diagram
namespace http://www.naptan.org.uk/
children ScheduledFrequency MinimumFrequency MaximumFrequency Description
annotation
documentation 
Describes the frequency of a  frequency-based service. 
source
<xsd:complexType name="FrequencyStructure">
  <xsd:annotation>
    <xsd:documentation>Describes the frequency of a  frequency-based service. </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="ScheduledFrequency" type="DurationType">
      <xsd:annotation>
        <xsd:documentation>The scheduled time gap between departures for a frequency-based service.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="MinimumFrequency" type="DurationType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The minimum time gap between departures for a frequency-based service.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="MaximumFrequency" type="DurationType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The maximum time gap between departures for a frequency-based service.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Description of the frequency of the service, for example 'every 5 minutes'. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:FrequencyStructure/ScheduledFrequency
diagram
namespace http://www.naptan.org.uk/
type napt:DurationType
properties
isRef 0
content simple
facets
pattern PT.*
annotation
documentation 
The scheduled time gap between departures for a frequency-based service.
source
<xsd:element name="ScheduledFrequency" type="DurationType">
  <xsd:annotation>
    <xsd:documentation>The scheduled time gap between departures for a frequency-based service.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:FrequencyStructure/MinimumFrequency
diagram
namespace http://www.naptan.org.uk/
type napt:DurationType
properties
isRef 0
content simple
facets
pattern PT.*
annotation
documentation 
The minimum time gap between departures for a frequency-based service.
source
<xsd:element name="MinimumFrequency" type="DurationType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The minimum time gap between departures for a frequency-based service.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:FrequencyStructure/MaximumFrequency
diagram
namespace http://www.naptan.org.uk/
type napt:DurationType
properties
isRef 0
content simple
facets
pattern PT.*
annotation
documentation 
The maximum time gap between departures for a frequency-based service.
source
<xsd:element name="MaximumFrequency" type="DurationType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The maximum time gap between departures for a frequency-based service.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:FrequencyStructure/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 frequency of the service, for example 'every 5 minutes'. @lang.
source
<xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Description of the frequency of the service, for example 'every 5 minutes'. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:HalfOpenDateRangeStructure
diagram
namespace http://www.naptan.org.uk/
children StartDate EndDate
used by
element napt:StopValidityStructure/StopValidity/DateRange
annotation
documentation 
A range of dates. The start date is required, but the end date is not.
source
<xsd:complexType name="HalfOpenDateRangeStructure">
  <xsd:annotation>
    <xsd:documentation>A range of dates. The start date is required, but the end date is not.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartDate" type="StartDateType">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start date.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndDate" type="EndDateType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end date. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

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

element napt:HalfOpenDateRangeStructure/EndDate
diagram
namespace http://www.naptan.org.uk/
type napt:EndDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end date. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".
source
<xsd:element name="EndDate" type="EndDateType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end date. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:HalfOpenDateTimeRangeStructure
diagram
namespace http://www.naptan.org.uk/
children StartTime EndTime
annotation
documentation 
A range of date and  times. Start time must be specified, end time is optional.
source
<xsd:complexType name="HalfOpenDateTimeRangeStructure">
  <xsd:annotation>
    <xsd:documentation>A range of date and  times. Start time must be specified, end time is optional.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartTime" type="xsd:dateTime">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start time.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndTime" type="xsd:dateTime" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

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

element napt:HalfOpenDateTimeRangeStructure/EndTime
diagram
namespace http://www.naptan.org.uk/
type xsd:dateTime
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".
source
<xsd:element name="EndTime" type="xsd:dateTime" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:HalfOpenTimeRangeStructure
diagram
namespace http://www.naptan.org.uk/
children StartTime EndTime
annotation
documentation 
A range of times. Start time must be specified, end time is optional.
source
<xsd:complexType name="HalfOpenTimeRangeStructure">
  <xsd:annotation>
    <xsd:documentation>A range of times. Start time must be specified, end time is optional.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartTime" type="xsd:time">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start time.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndTime" type="xsd:time" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

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

element napt:HalfOpenTimeRangeStructure/EndTime
diagram
namespace http://www.naptan.org.uk/
type xsd:time
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".
source
<xsd:element name="EndTime" type="xsd:time" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:OpenDateRangeStructure
diagram
namespace http://www.naptan.org.uk/
children StartDate EndDate
used by
element napt:DatePatternStructure/DateRange
annotation
documentation 
An open-ended range of dates.
source
<xsd:complexType name="OpenDateRangeStructure">
  <xsd:annotation>
    <xsd:documentation>An open-ended range of dates.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="StartDate" type="StartDateType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) start date. If omitted, the range start is open-ended, that is, it should be interpreted as "since the beginning of time".</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="EndDate" type="EndDateType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The (inclusive) end date. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:OpenDateRangeStructure/StartDate
diagram
namespace http://www.naptan.org.uk/
type napt:StartDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) start date. If omitted, the range start is open-ended, that is, it should be interpreted as "since the beginning of time".
source
<xsd:element name="StartDate" type="StartDateType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) start date. If omitted, the range start is open-ended, that is, it should be interpreted as "since the beginning of time".</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:OpenDateRangeStructure/EndDate
diagram
namespace http://www.naptan.org.uk/
type napt:EndDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) end date. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".
source
<xsd:element name="EndDate" type="EndDateType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) end date. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
  </xsd:annotation>
</xsd:element>

simpleType napt:DateType
namespace http://www.naptan.org.uk/
type xsd:date
used by
elements napt:DateCollectionStructure/Date napt:AllBankHolidaysGroup/OtherPublicHoliday/Date napt:DatePatternStructure/DateExclusion
annotation
documentation 
Specific date.
source
<xsd:simpleType name="DateType">
  <xsd:annotation>
    <xsd:documentation>Specific date.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:date"/>
</xsd:simpleType>

simpleType napt:DayTimeDurationType
namespace http://www.naptan.org.uk/
type restriction of xsd:duration
used by
elements napt:DayFrequencyStructure/MaximumFrequency napt:DayFrequencyStructure/MinimumFrequency napt:DayFrequencyStructure/ScheduledFrequency
facets
pattern P((\d+D)|T).*
annotation
documentation 
A restriction of W3C XML Schema's duration datatype that only allows durations to be measured in days, hours, minutes and seconds. This permits a total ordering of values.
source
<xsd:simpleType name="DayTimeDurationType">
  <xsd:annotation>
    <xsd:documentation>A restriction of W3C XML Schema's duration datatype that only allows durations to be measured in days, hours, minutes and seconds. This permits a total ordering of values.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:duration">
    <xsd:pattern value="P((\d+D)|T).*"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:DurationType
namespace http://www.naptan.org.uk/
type restriction of xsd:duration
used by
elements napt:BusStopClassificationGroup/MarkedPoint/DefaultWaitTime napt:FrequencyStructure/MaximumFrequency napt:FrequencyStructure/MinimumFrequency napt:FrequencyStructure/ScheduledFrequency
facets
pattern PT.*
annotation
documentation 
A restriction of W3C XML Schema's duration datatype that only allows durations to be measured in hours, minutes and seconds. This permits a total ordering of values.
source
<xsd:simpleType name="DurationType">
  <xsd:annotation>
    <xsd:documentation>A restriction of W3C XML Schema's duration datatype that only allows durations to be measured in hours, minutes and seconds. This permits a total ordering of values.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:duration">
    <xsd:pattern value="PT.*"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:EndDateType
namespace http://www.naptan.org.uk/
type xsd:date
used by
elements napt:OpenDateRangeStructure/EndDate napt:HalfOpenDateRangeStructure/EndDate napt:ClosedDateRangeStructure/EndDate napt:AnnotatedClosedDateRangeStructure/EndDate
annotation
documentation 
End of miscellaneous period. Default value is '9999-09-09' representing an end date of until further notice.
source
<xsd:simpleType name="EndDateType">
  <xsd:annotation>
    <xsd:documentation>End of miscellaneous period. Default value is '9999-09-09' representing an end date of until further notice.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:date"/>
</xsd:simpleType>

simpleType napt:StartDateType
namespace http://www.naptan.org.uk/
type xsd:date
used by
elements napt:OpenDateRangeStructure/StartDate napt:HalfOpenDateRangeStructure/StartDate napt:ClosedDateRangeStructure/StartDate napt:AnnotatedClosedDateRangeStructure/StartDate
annotation
documentation 
Start of miscellaneous period.
source
<xsd:simpleType name="StartDateType">
  <xsd:annotation>
    <xsd:documentation>Start of miscellaneous period.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:date"/>
</xsd:simpleType>

element napt:LocationSystem
diagram
namespace http://www.naptan.org.uk/
type napt:LocationSystemEnumeration
properties
content simple
default Grid
facets
enumeration WGS84
enumeration Grid
annotation
documentation 
Geodata System to use in document. Grid or WGS84.
source
<xsd:element name="LocationSystem" type="LocationSystemEnumeration" default="Grid">
  <xsd:annotation>
    <xsd:documentation>Geodata System to use in document. Grid or WGS84.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group napt:GridGroup
diagram
namespace http://www.naptan.org.uk/
children GridType Easting Northing
used by
element napt:LocationStructure/Translation
complexType napt:LocationStructure
annotation
documentation 
OSGrid Coordinates
source
<xsd:group name="GridGroup">
  <xsd:annotation>
    <xsd:documentation>OSGrid Coordinates</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="GridType" type="LocationGridTypeEnumeration" default="UKOS" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Specifies the grid system being used. e.g. UKOS or IrishOS.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Easting" type="EastingType">
      <xsd:annotation>
        <xsd:documentation>OS 1 metre - 6 digits.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Northing" type="NorthingType">
      <xsd:annotation>
        <xsd:documentation>OS 1 metre - 6/7 digits.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:group>

element napt:GridGroup/GridType
diagram
namespace http://www.naptan.org.uk/
type napt:LocationGridTypeEnumeration
properties
isRef 0
content simple
default UKOS
facets
enumeration UKOS
enumeration IrishOS
annotation
documentation 
Specifies the grid system being used. e.g. UKOS or IrishOS.
source
<xsd:element name="GridType" type="LocationGridTypeEnumeration" default="UKOS" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Specifies the grid system being used. e.g. UKOS or IrishOS.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:GridGroup/Easting
diagram
namespace http://www.naptan.org.uk/
type napt:EastingType
properties
isRef 0
content simple
facets
maxInclusive 999999
annotation
documentation 
OS 1 metre - 6 digits.
source
<xsd:element name="Easting" type="EastingType">
  <xsd:annotation>
    <xsd:documentation>OS 1 metre - 6 digits.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:GridGroup/Northing
diagram
namespace http://www.naptan.org.uk/
type napt:NorthingType
properties
isRef 0
content simple
facets
maxInclusive 1999999
annotation
documentation 
OS 1 metre - 6/7 digits.
source
<xsd:element name="Northing" type="NorthingType">
  <xsd:annotation>
    <xsd:documentation>OS 1 metre - 6/7 digits.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

group napt:WgsGroup
diagram
namespace http://www.naptan.org.uk/
children Longitude Latitude
used by
element napt:LocationStructure/Translation
complexType napt:LocationStructure
annotation
documentation 
WGS84 Coordinates
source
<xsd:group name="WgsGroup">
  <xsd:annotation>
    <xsd:documentation>WGS84 Coordinates</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Longitude" type="LongitudeType">
      <xsd:annotation>
        <xsd:documentation>Longitude from Greenwich Meridian.  -180° (East) to +180° (West).</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Latitude" type="LatitudeType">
      <xsd:annotation>
        <xsd:documentation>Latitude from equator. -90° (South)  to +90° (North) </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:group>

element napt:WgsGroup/Longitude
diagram
namespace http://www.naptan.org.uk/
type napt:LongitudeType
properties
isRef 0
content simple
facets
minInclusive -180
maxInclusive 180
annotation
documentation 
Longitude from Greenwich Meridian.  -180° (East) to +180° (West).
source
<xsd:element name="Longitude" type="LongitudeType">
  <xsd:annotation>
    <xsd:documentation>Longitude from Greenwich Meridian.  -180° (East) to +180° (West).</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:WgsGroup/Latitude
diagram
namespace http://www.naptan.org.uk/
type napt:LatitudeType
properties
isRef 0
content simple
facets
minInclusive -90
maxInclusive 90
annotation
documentation 
Latitude from equator. -90° (South)  to +90° (North) 
source
<xsd:element name="Latitude" type="LatitudeType">
  <xsd:annotation>
    <xsd:documentation>Latitude from equator. -90° (South)  to +90° (North) </xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:BearingStructure
diagram
namespace http://www.naptan.org.uk/
children CompassPoint Degrees
used by
elements napt:HailAndRideSectionStructure/Bearing napt:BusStopClassificationGroup/MarkedPoint/Bearing napt:BusStopClassificationGroup/UnmarkedPoint/Bearing
annotation
documentation 
Direction in which vehicle is pointing when stopped at stopping point. 
source
<xsd:complexType name="BearingStructure">
  <xsd:annotation>
    <xsd:documentation>Direction in which vehicle is pointing when stopped at stopping point. </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="CompassPoint" type="CompassBearingEnumeration">
      <xsd:annotation>
        <xsd:documentation>Eight point compass bearing (N, S, E, W etc). Enumerated value.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Degrees" type="AbsoluteBearingType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Bearing in degrees.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:BearingStructure/CompassPoint
diagram
namespace http://www.naptan.org.uk/
type napt:CompassBearingEnumeration
properties
isRef 0
content simple
facets
enumeration N
enumeration S
enumeration E
enumeration W
enumeration NE
enumeration NW
enumeration SE
enumeration SW
annotation
documentation 
Eight point compass bearing (N, S, E, W etc). Enumerated value.
source
<xsd:element name="CompassPoint" type="CompassBearingEnumeration">
  <xsd:annotation>
    <xsd:documentation>Eight point compass bearing (N, S, E, W etc). Enumerated value.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:BearingStructure/Degrees
diagram
namespace http://www.naptan.org.uk/
type napt:AbsoluteBearingType
properties
isRef 0
content simple
facets
maxExclusive 360
annotation
documentation 
Bearing in degrees.
source
<xsd:element name="Degrees" type="AbsoluteBearingType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Bearing in degrees.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:BoundingBoxStructure
diagram
namespace http://www.naptan.org.uk/
children UpperCorner LowerCorner
annotation
documentation 
Defines a bounding box using two corner points. GML terminology
source
<xsd:complexType name="BoundingBoxStructure">
  <xsd:annotation>
    <xsd:documentation>Defines a bounding box using two corner points. GML terminology</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="UpperCorner" type="LocationStructure">
      <xsd:annotation>
        <xsd:documentation>A geospatial point. 
Upper Left
 </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="LowerCorner" type="LocationStructure">
      <xsd:annotation>
        <xsd:documentation>A geospatial point. 
Lower right 
 </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:BoundingBoxStructure/UpperCorner
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 
A geospatial point. 
Upper Left
 
source
<xsd:element name="UpperCorner" type="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>A geospatial point. 
Upper Left
 </xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:BoundingBoxStructure/LowerCorner
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 
A geospatial point. 
Lower right 
 
source
<xsd:element name="LowerCorner" type="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>A geospatial point. 
Lower right 
 </xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:GridPositionStructure
diagram
namespace http://www.naptan.org.uk/
children GridType Easting Northing
used by
element napt:PlaceRefStructure/Location
annotation
documentation 
Position of a point in Grid Coordinates
source
<xsd:complexType name="GridPositionStructure">
  <xsd:annotation>
    <xsd:documentation>Position of a point in Grid Coordinates</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="GridType" type="LocationGridTypeEnumeration">
      <xsd:annotation>
        <xsd:documentation>Specifies the grid system being used. e.g. UKOS or IrishOS.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Easting" type="EastingType">
      <xsd:annotation>
        <xsd:documentation>OS 1 metre - 6 digits.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Northing" type="NorthingType">
      <xsd:annotation>
        <xsd:documentation>OS 1 metre - 6/7 digits.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:GridPositionStructure/GridType
diagram
namespace http://www.naptan.org.uk/
type napt:LocationGridTypeEnumeration
properties
isRef 0
content simple
facets
enumeration UKOS
enumeration IrishOS
annotation
documentation 
Specifies the grid system being used. e.g. UKOS or IrishOS.
source
<xsd:element name="GridType" type="LocationGridTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Specifies the grid system being used. e.g. UKOS or IrishOS.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:GridPositionStructure/Easting
diagram
namespace http://www.naptan.org.uk/
type napt:EastingType
properties
isRef 0
content simple
facets
maxInclusive 999999
annotation
documentation 
OS 1 metre - 6 digits.
source
<xsd:element name="Easting" type="EastingType">
  <xsd:annotation>
    <xsd:documentation>OS 1 metre - 6 digits.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:GridPositionStructure/Northing
diagram
namespace http://www.naptan.org.uk/
type napt:NorthingType
properties
isRef 0
content simple
facets
maxInclusive 1999999
annotation
documentation 
OS 1 metre - 6/7 digits.
source
<xsd:element name="Northing" type="NorthingType">
  <xsd:annotation>
    <xsd:documentation>OS 1 metre - 6/7 digits.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:LineStringStructure
diagram
namespace http://www.naptan.org.uk/
children Location
used by
element napt:MapStructure/Mapping
annotation
documentation 
Based on the LineString element from GML 2.1.2, but using JourneyWeb coordinate representations.
source
<xsd:complexType name="LineStringStructure">
  <xsd:annotation>
    <xsd:documentation>Based on the LineString element from GML 2.1.2, but using JourneyWeb coordinate representations.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Location" type="LocationStructure" minOccurs="2" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A geospatial point. 
@Precision, @id.
 </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:LineStringStructure/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 
A geospatial point. 
@Precision, @id.
 
source
<xsd:element name="Location" type="LocationStructure" minOccurs="2" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A geospatial point. 
@Precision, @id.
 </xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:LocationStructure
diagram
namespace http://www.naptan.org.uk/
children GridType Easting Northing Longitude Latitude Translation
used by
elements napt:HailAndRideSectionStructure/EndPoint napt:AnnotatedFerryRefStructure/Location napt:AnnotatedRailRefStructure/Location napt:AnnotatedMetroRefStructure/Location napt:AnnotatedCoachRefStructure/Location napt:StopPointStructure/Place/Location napt:FlexibleZoneStructure/Location napt:StopAreaStructure/Location napt:LineStringStructure/Location napt:BoundingBoxStructure/LowerCorner NptgLocalityStructure/Location PlusbusZoneStructure/Mapping/Location napt:HailAndRideSectionStructure/StartPoint napt:BoundingBoxStructure/UpperCorner
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  napt:PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Spatial co-ordinates of a location.
source
<xsd:complexType name="LocationStructure">
  <xsd:annotation>
    <xsd:documentation>Spatial co-ordinates of a location.</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:group ref="GridGroup"/>
    <xsd:group ref="WgsGroup"/>
    <xsd:sequence>
      <xsd:element name="Translation">
        <xsd:annotation>
          <xsd:documentation>Both sets of coordinates. (This Wrapper tag is needed to avoid a non-deterministic ocnodition in XML)</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:group ref="GridGroup"/>
            <xsd:group ref="WgsGroup"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:choice>
  <xsd:attribute name="Precision" type="PrecisionEnumeration" use="optional" default="1km">
    <xsd:annotation>
      <xsd:documentation>Precision of geocoding</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="id" type="xsd:NMTOKEN" use="optional"/>
</xsd:complexType>

element napt:LocationStructure/Translation
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude
annotation
documentation 
Both sets of coordinates. (This Wrapper tag is needed to avoid a non-deterministic ocnodition in XML)
source
<xsd:element name="Translation">
  <xsd:annotation>
    <xsd:documentation>Both sets of coordinates. (This Wrapper tag is needed to avoid a non-deterministic ocnodition in XML)</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:group ref="GridGroup"/>
      <xsd:group ref="WgsGroup"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

complexType napt:MapStructure
diagram
namespace http://www.naptan.org.uk/
children Mapping RenderedMap
annotation
documentation 
Either a rendered map or a sequence of points that can be rendered by the client.
source
<xsd:complexType name="MapStructure">
  <xsd:annotation>
    <xsd:documentation>Either a rendered map or a sequence of points that can be rendered by the client.</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element name="Mapping" type="LineStringStructure">
      <xsd:annotation>
        <xsd:documentation>Set of physical points which describe this segment. This must include the beginning and end of the segment.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="RenderedMap" type="xsd:anyURI">
      <xsd:annotation>
        <xsd:documentation>URL of a custom map rendered by the journey planning system.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:choice>
</xsd:complexType>

element napt:MapStructure/Mapping
diagram
namespace http://www.naptan.org.uk/
type napt:LineStringStructure
properties
isRef 0
content complex
children Location
annotation
documentation 
Set of physical points which describe this segment. This must include the beginning and end of the segment.
source
<xsd:element name="Mapping" type="LineStringStructure">
  <xsd:annotation>
    <xsd:documentation>Set of physical points which describe this segment. This must include the beginning and end of the segment.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:MapStructure/RenderedMap
diagram
namespace http://www.naptan.org.uk/
type xsd:anyURI
properties
isRef 0
content simple
annotation
documentation 
URL of a custom map rendered by the journey planning system.
source
<xsd:element name="RenderedMap" type="xsd:anyURI">
  <xsd:annotation>
    <xsd:documentation>URL of a custom map rendered by the journey planning system.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:MapSystemReferenceStructure
diagram
namespace http://www.naptan.org.uk/
type extension of xsd:string
properties
base xsd:string
attributes
Name  Type  Use  Default  Fixed  Annotation
MappingSystem  napt:MappingSystemEnumerationrequired      
documentation 
This enumeration should include all mapping systems used by JourneyWeb clients and suppliers.
annotation
documentation 
@MappingSystem.
Identifies the map reference system of Map element IDs (e.g. OSODRs or TOIDs) of any mapping layer references used. 
source
<xsd:complexType name="MapSystemReferenceStructure">
  <xsd:annotation>
    <xsd:documentation>@MappingSystem.
Identifies the map reference system of Map element IDs (e.g. OSODRs or TOIDs) of any mapping layer references used. </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="xsd:string">
      <xsd:attribute name="MappingSystem" type="MappingSystemEnumeration" use="required">
        <xsd:annotation>
          <xsd:documentation>This enumeration should include all mapping systems used by JourneyWeb clients and suppliers.</xsd:documentation>
        </xsd:annotation>
      </xsd:attribute>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType napt:WGS84PositionStructure
diagram
namespace http://www.naptan.org.uk/
children Longitude Latitude
annotation
documentation 
Position of a point in WGS 84 Coordinates.         
source
<xsd:complexType name="WGS84PositionStructure">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">Position of a point in WGS 84 Coordinates.         </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Longitude" type="LongitudeType">
      <xsd:annotation>
        <xsd:documentation>Longitude from Greenwich Meridian.  -180° (East) to +180° (West).</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Latitude" type="LatitudeType">
      <xsd:annotation>
        <xsd:documentation>Latitude from equator. -90° (South)  to +90° (North) </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:WGS84PositionStructure/Longitude
diagram
namespace http://www.naptan.org.uk/
type napt:LongitudeType
properties
isRef 0
content simple
facets
minInclusive -180
maxInclusive 180
annotation
documentation 
Longitude from Greenwich Meridian.  -180° (East) to +180° (West).
source
<xsd:element name="Longitude" type="LongitudeType">
  <xsd:annotation>
    <xsd:documentation>Longitude from Greenwich Meridian.  -180° (East) to +180° (West).</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:WGS84PositionStructure/Latitude
diagram
namespace http://www.naptan.org.uk/
type napt:LatitudeType
properties
isRef 0
content simple
facets
minInclusive -90
maxInclusive 90
annotation
documentation 
Latitude from equator. -90° (South)  to +90° (North) 
source
<xsd:element name="Latitude" type="LatitudeType">
  <xsd:annotation>
    <xsd:documentation>Latitude from equator. -90° (South)  to +90° (North) </xsd:documentation>
  </xsd:annotation>
</xsd:element>

simpleType napt:AbsoluteBearingType
namespace http://www.naptan.org.uk/
type restriction of xsd:nonNegativeInteger
used by
element napt:BearingStructure/Degrees
facets
maxExclusive 360
annotation
documentation 
The compass bearing in degrees.
source
<xsd:simpleType name="AbsoluteBearingType">
  <xsd:annotation>
    <xsd:documentation>The compass bearing in degrees.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:nonNegativeInteger">
    <xsd:maxExclusive value="360"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:CompassBearingEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt:BearingStructure/CompassPoint
facets
enumeration N
enumeration S
enumeration E
enumeration W
enumeration NE
enumeration NW
enumeration SE
enumeration SW
annotation
documentation 
Allowed values for compass bearings.
source
<xsd:simpleType name="CompassBearingEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed values for compass bearings.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="N"/>
    <xsd:enumeration value="S"/>
    <xsd:enumeration value="E"/>
    <xsd:enumeration value="W"/>
    <xsd:enumeration value="NE"/>
    <xsd:enumeration value="NW"/>
    <xsd:enumeration value="SE"/>
    <xsd:enumeration value="SW"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:DistanceType
namespace http://www.naptan.org.uk/
type xsd:nonNegativeInteger
annotation
documentation 
Distance (metres) as defined by http://www.ordnancesurvey.co.uk/xml/resource/units.xml#metres
source
<xsd:simpleType name="DistanceType">
  <xsd:annotation>
    <xsd:documentation>Distance (metres) as defined by http://www.ordnancesurvey.co.uk/xml/resource/units.xml#metres</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:nonNegativeInteger"/>
</xsd:simpleType>

simpleType napt:EastingType
namespace http://www.naptan.org.uk/
type restriction of xsd:nonNegativeInteger
used by
elements napt:GridPositionStructure/Easting napt:GridGroup/Easting
facets
maxInclusive 999999
annotation
documentation 
OS 1 metre - 6 digits.
source
<xsd:simpleType name="EastingType">
  <xsd:annotation>
    <xsd:documentation>OS 1 metre - 6 digits.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:nonNegativeInteger">
    <xsd:maxInclusive value="999999"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:FeatureTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
facets
enumeration legOrigin
enumeration legDestination
enumeration bend
enumeration crossing
enumeration bridge
enumeration junction
enumeration miniRoundabout
enumeration roadChange
enumeration roundabout
enumeration subway
enumeration trafficLights
enumeration landmark
annotation
documentation 
Available types of features for describing legs.
source
<xsd:simpleType name="FeatureTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Available types of features for describing legs.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="legOrigin">
      <xsd:annotation>
        <xsd:documentation>The start point of the leg.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="legDestination">
      <xsd:annotation>
        <xsd:documentation>The end point of the leg.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="bend">
      <xsd:annotation>
        <xsd:documentation>A bend in the track that merits attention (without a junction).</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="crossing">
      <xsd:annotation>
        <xsd:documentation>Cross over the road.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="bridge">
      <xsd:annotation>
        <xsd:documentation>Traversing over a bridge.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="junction">
      <xsd:annotation>
        <xsd:documentation>Either a point at which another road is taken, or a side road that is passed along the way.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="miniRoundabout"/>
    <xsd:enumeration value="roadChange">
      <xsd:annotation>
        <xsd:documentation>Denotes a change of road name when there is no junction.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="roundabout"/>
    <xsd:enumeration value="subway">
      <xsd:annotation>
        <xsd:documentation>Going through a subway.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="trafficLights"/>
    <xsd:enumeration value="landmark">
      <xsd:annotation>
        <xsd:documentation>A named landmark that can be seen from the track. The name should be provided in the Feature Description.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:LatitudeType
namespace http://www.naptan.org.uk/
type restriction of xsd:decimal
used by
elements napt:WGS84PositionStructure/Latitude napt:WgsGroup/Latitude
facets
minInclusive -90
maxInclusive 90
annotation
documentation 
Latitude from equator.
source
<xsd:simpleType name="LatitudeType">
  <xsd:annotation>
    <xsd:documentation>Latitude from equator.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:decimal">
    <xsd:minInclusive value="-90"/>
    <xsd:maxInclusive value="90"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:LocationGridTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
elements napt:GridPositionStructure/GridType napt:GridGroup/GridType
facets
enumeration UKOS
enumeration IrishOS
annotation
documentation 
Different grid systems (e.g. UK OS, Irish OS) that can be used to express Eastings and Northings.
source
<xsd:simpleType name="LocationGridTypeEnumeration">
  <xsd:annotation>
    <xsd:documentation>Different grid systems (e.g. UK OS, Irish OS) that can be used to express Eastings and Northings.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="UKOS">
      <xsd:annotation>
        <xsd:documentation>Ordnance Survey UK grid with origin at bottom left of Sheet SV.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="IrishOS">
      <xsd:annotation>
        <xsd:documentation>Ordnance Survey Irish grid with origin at bottom left of Grid V.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:LocationSystemEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt:LocationSystem
attribute NationalPublicTransportGazetteer/@LocationSystem
facets
enumeration WGS84
enumeration Grid
annotation
documentation 
Different Geospatial coordinate systems can be used to express location.
source
<xsd:simpleType name="LocationSystemEnumeration">
  <xsd:annotation>
    <xsd:documentation>Different Geospatial coordinate systems can be used to express location.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="WGS84">
      <xsd:annotation>
        <xsd:documentation>All coordinate will be in World Geodetic System 84 (WGS 84) format.  http://www.wgs84.com/</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="Grid">
      <xsd:annotation>
        <xsd:documentation>All coordinates will be in a grid based system.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:LongitudeType
namespace http://www.naptan.org.uk/
type restriction of xsd:decimal
used by
elements napt:WGS84PositionStructure/Longitude napt:WgsGroup/Longitude
facets
minInclusive -180
maxInclusive 180
annotation
documentation 
Longitude from Greenwich.
source
<xsd:simpleType name="LongitudeType">
  <xsd:annotation>
    <xsd:documentation>Longitude from Greenwich.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:decimal">
    <xsd:minInclusive value="-180"/>
    <xsd:maxInclusive value="180"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:MappingSystemEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attribute napt:MapSystemReferenceStructure/@MappingSystem
facets
enumeration TOID
enumeration OSODR
enumeration NavTech
enumeration MDV
annotation
documentation 
Mapping systems that the client may use.
source
<xsd:simpleType name="MappingSystemEnumeration">
  <xsd:annotation>
    <xsd:documentation>Mapping systems that the client may use.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="TOID">
      <xsd:annotation>
        <xsd:documentation>Ordnance Survey MasterMap Topographical ID.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="OSODR">
      <xsd:annotation>
        <xsd:documentation>Ordnance Survey ROADS (previously OSCAR hence the O) Database Reference.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="NavTech">
      <xsd:annotation>
        <xsd:documentation>NavTech mapping reference.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="MDV">
      <xsd:annotation>
        <xsd:documentation>Mentz Datenverarbeitung GmbH
mapping reference http://www.mentzdv.de
.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:NorthingType
namespace http://www.naptan.org.uk/
type restriction of xsd:nonNegativeInteger
used by
elements napt:GridPositionStructure/Northing napt:GridGroup/Northing
facets
maxInclusive 1999999
annotation
documentation 
OS 1 metre - 6/7 digits.
source
<xsd:simpleType name="NorthingType">
  <xsd:annotation>
    <xsd:documentation>OS 1 metre - 6/7 digits.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:nonNegativeInteger">
    <xsd:maxInclusive value="1999999"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:PrecisionEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attribute napt:LocationStructure/@Precision
facets
enumeration 1km
enumeration 100m
enumeration 10m
enumeration 1m
annotation
documentation 
Levels of precision for geocodes.
source
<xsd:simpleType name="PrecisionEnumeration">
  <xsd:annotation>
    <xsd:documentation>Levels of precision for geocodes.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="1km"/>
    <xsd:enumeration value="100m"/>
    <xsd:enumeration value="10m"/>
    <xsd:enumeration value="1m"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:RelativeBearingEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
facets
enumeration left
enumeration right
enumeration straightAhead
enumeration uTurn
annotation
documentation 
Available directions to turn from a feature point.
source
<xsd:simpleType name="RelativeBearingEnumeration">
  <xsd:annotation>
    <xsd:documentation>Available directions to turn from a feature point.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="left"/>
    <xsd:enumeration value="right"/>
    <xsd:enumeration value="straightAhead"/>
    <xsd:enumeration value="uTurn"/>
  </xsd:restriction>
</xsd:simpleType>

complexType napt:OperatorRefsStructure
diagram
namespace http://www.naptan.org.uk/
children OperatorRef
annotation
documentation 
A collection of one or more operator refs.
source
<xsd:complexType name="OperatorRefsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more operator refs.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="OperatorRef" type="OperatorRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to an Operator.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:OperatorRefsStructure/OperatorRef
diagram
namespace http://www.naptan.org.uk/
type napt:OperatorRefStructure
properties
isRef 0
content complex
annotation
documentation 
Reference to an Operator.
source
<xsd:element name="OperatorRef" type="OperatorRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to an Operator.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:OperatorRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:OperatorCodeType
properties
base OperatorCodeType
used by
element napt:OperatorRefsStructure/OperatorRef
annotation
documentation 
A direct reference to an Operator that is defined elsewhere   The reference is by Operator code.
source
<xsd:complexType name="OperatorRefStructure">
  <xsd:annotation>
    <xsd:documentation>A direct reference to an Operator that is defined elsewhere   The reference is by Operator code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="OperatorCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

simpleType napt:NationalOperatorCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
annotation
documentation 
Identifying code for the operator, conforming to a national scheme.
source
<xsd:simpleType name="NationalOperatorCodeType">
  <xsd:annotation>
    <xsd:documentation>Identifying code for the operator, conforming to a national scheme.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType napt:OperatorCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
complexType napt:OperatorRefStructure
annotation
documentation 
Identifying code for the operator.
source
<xsd:simpleType name="OperatorCodeType">
  <xsd:annotation>
    <xsd:documentation>Identifying code for the operator.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType napt:ServicedOrganisationCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
annotation
documentation 
Identifying code for a serviced organisation. In the case of LEAs and schools this should be the Department of Education Number.
source
<xsd:simpleType name="ServicedOrganisationCodeType">
  <xsd:annotation>
    <xsd:documentation>Identifying code for a serviced organisation. In the case of LEAs and schools this should be the Department of Education Number.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

complexType napt:ModesStructure
diagram
namespace http://www.naptan.org.uk/
children Mode
attributes
Name  Type  Use  Default  Fixed  Annotation
Exclude  xsd:booleanoptional  false    
annotation
documentation 
Transport Modes
source
<xsd:complexType name="ModesStructure">
  <xsd:annotation>
    <xsd:documentation>Transport Modes</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Mode" type="AllModesEnumeration" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A method of transportation such as bus, rail, etc.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attribute name="Exclude" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>

element napt:ModesStructure/Mode
diagram
namespace http://www.naptan.org.uk/
type napt:AllModesEnumeration
properties
isRef 0
content simple
facets
enumeration air
enumeration bus
enumeration coach
enumeration ferry
enumeration metro
enumeration rail
enumeration tram
enumeration underground
enumeration walk
enumeration car
enumeration taxi
enumeration cycle
enumeration drt
enumeration movingWalkway
enumeration through
annotation
documentation 
A method of transportation such as bus, rail, etc.
source
<xsd:element name="Mode" type="AllModesEnumeration" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A method of transportation such as bus, rail, etc.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

simpleType napt:AllModesEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element napt:ModesStructure/Mode
facets
enumeration air
enumeration bus
enumeration coach
enumeration ferry
enumeration metro
enumeration rail
enumeration tram
enumeration underground
enumeration walk
enumeration car
enumeration taxi
enumeration cycle
enumeration drt
enumeration movingWalkway
enumeration through
annotation
documentation 
Union of vehicle and continuous modes.
source
<xsd:simpleType name="AllModesEnumeration">
  <xsd:annotation>
    <xsd:documentation>Union of vehicle and continuous modes.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="air"/>
    <xsd:enumeration value="bus"/>
    <xsd:enumeration value="coach"/>
    <xsd:enumeration value="ferry"/>
    <xsd:enumeration value="metro"/>
    <xsd:enumeration value="rail"/>
    <xsd:enumeration value="tram"/>
    <xsd:enumeration value="underground"/>
    <xsd:enumeration value="walk"/>
    <xsd:enumeration value="car"/>
    <xsd:enumeration value="taxi"/>
    <xsd:enumeration value="cycle"/>
    <xsd:enumeration value="drt"/>
    <xsd:enumeration value="movingWalkway"/>
    <xsd:enumeration value="through"/>
  </xsd:restriction>
  <!--    <xsd:union memberTypes="VehicleModesEnumeration ContinuousModesEnumeration"/>
             Union not used because of issue in MSM validator -->
</xsd:simpleType>

simpleType napt:ContinuousModesEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
facets
enumeration walk
enumeration car
enumeration taxi
enumeration cycle
enumeration drt
enumeration movingWalkway
enumeration through
annotation
documentation 
Modes of transport applicable to private and non-timetabled transport.
source
<xsd:simpleType name="ContinuousModesEnumeration">
  <xsd:annotation>
    <xsd:documentation>Modes of transport applicable to private and non-timetabled transport.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="walk"/>
    <xsd:enumeration value="car"/>
    <xsd:enumeration value="taxi"/>
    <xsd:enumeration value="cycle"/>
    <xsd:enumeration value="drt"/>
    <xsd:enumeration value="movingWalkway"/>
    <xsd:enumeration value="through"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:DeltaModificationEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
facets
enumeration new
enumeration delete
enumeration revise
enumeration delta
annotation
documentation 
Classification of modification as addition, deletion, revision or delta only. Enumerated value.
source
<xsd:simpleType name="DeltaModificationEnumeration">
  <xsd:annotation>
    <xsd:documentation>Classification of modification as addition, deletion, revision or delta only. Enumerated value.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="new">
      <xsd:annotation>
        <xsd:documentation>This is a definition of a new entity</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="delete">
      <xsd:annotation>
        <xsd:documentation>This is a deletion of an existing entity</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="revise">
      <xsd:annotation>
        <xsd:documentation>This is a revision to an existing entity.  All values are replaced.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="delta">
      <xsd:annotation>
        <xsd:documentation>This is a change to an existing enity. Only those values expliciitly supplied will be changed.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:ModificationEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attributes napt:RequiredModificationDetailsGroup/@Modification napt:ModificationDetailsGroup/@Modification napt:DocumentModificationDetailsGroup/@Modification
facets
enumeration new
enumeration delete
enumeration revise
annotation
documentation 
Classification of modification as addition, deletion or revision. Enumerated value.
source
<xsd:simpleType name="ModificationEnumeration">
  <xsd:annotation>
    <xsd:documentation>Classification of modification as addition, deletion or revision. Enumerated value.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="new">
      <xsd:annotation>
        <xsd:documentation>This is a definition of a new entity</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="delete">
      <xsd:annotation>
        <xsd:documentation>This is a deletion of an existing entity</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="revise">
      <xsd:annotation>
        <xsd:documentation>This is a revision to an existing entity.  All values are replaced.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:RevisionNumberType
namespace http://www.naptan.org.uk/
type xsd:nonNegativeInteger
used by
attributes napt:RequiredModificationDetailsGroup/@RevisionNumber napt:ModificationDetailsGroup/@RevisionNumber napt:DocumentModificationDetailsGroup/@RevisionNumber
annotation
documentation 
A revision number is an integer that should be increased by one each time the unit that is refers to is modified.
source
<xsd:simpleType name="RevisionNumberType">
  <xsd:annotation>
    <xsd:documentation>A revision number is an integer that should be increased by one each time the unit that is refers to is modified.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:nonNegativeInteger"/>
</xsd:simpleType>

simpleType napt:StatusEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attributes napt:RequiredModificationDetailsGroup/@Status napt:ModificationDetailsGroup/@Status
facets
enumeration active
enumeration inactive
enumeration pending
annotation
documentation 
Indicates whether the entity this annotates is available for use. Use of this attribute allows entities to be retired without deleting the details from the dataset. 
source
<xsd:simpleType name="StatusEnumeration">
  <xsd:annotation>
    <xsd:documentation>Indicates whether the entity this annotates is available for use. Use of this attribute allows entities to be retired without deleting the details from the dataset. </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="active">
      <xsd:annotation>
        <xsd:documentation>Entity is active.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="inactive">
      <xsd:annotation>
        <xsd:documentation>Entity is inactive.</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="pending">
      <xsd:annotation>
        <xsd:documentation>Entity is still active but is in the process of being made inactive..</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:VehicleModesEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
facets
enumeration air
enumeration bus
enumeration coach
enumeration ferry
enumeration metro
enumeration rail
enumeration tram
enumeration underground
annotation
documentation 
Modes of transport applicable to timetabled public transport.
source
<xsd:simpleType name="VehicleModesEnumeration">
  <xsd:annotation>
    <xsd:documentation>Modes of transport applicable to timetabled public transport.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="air"/>
    <xsd:enumeration value="bus"/>
    <xsd:enumeration value="coach"/>
    <xsd:enumeration value="ferry"/>
    <xsd:enumeration value="metro"/>
    <xsd:enumeration value="rail"/>
    <xsd:enumeration value="tram"/>
    <xsd:enumeration value="underground"/>
  </xsd:restriction>
</xsd:simpleType>

attributeGroup napt:DocumentModificationDetailsGroup
namespace http://www.naptan.org.uk/
used by
element NationalPublicTransportGazetteer
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.
annotation
documentation 
Grouping for modifications metadata for a document.
source
<xsd:attributeGroup name="DocumentModificationDetailsGroup">
  <xsd:annotation>
    <xsd:documentation>Grouping for modifications metadata for a document.</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute ref="xml:lang"/>
  <xsd:attribute name="CreationDateTime" type="xsd:dateTime" use="required"/>
  <xsd:attribute name="ModificationDateTime" type="xsd:dateTime" use="required"/>
  <xsd:attribute name="Modification" type="ModificationEnumeration" use="required"/>
  <xsd:attribute name="RevisionNumber" type="RevisionNumberType" use="required"/>
  <xsd:attribute name="FileName" type="xsd:string" use="required">
    <xsd:annotation>
      <xsd:documentation>The name of the file containing the instance document.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>

attributeGroup napt:ModificationDetailsGroup
namespace http://www.naptan.org.uk/
used by
elements NptgLocalityStructure/AlternativeDescriptors NptgLocalityStructure/AlternativeDescriptors/Descriptor napt:StopValidityStructure/StopValidity
complexTypes napt:AdministrativeAreaVersionedRefStructure napt:AnnotatedAirRefStructure napt:AnnotatedCoachRefStructure napt:AnnotatedFerryRefStructure napt:AnnotatedMetroRefStructure napt:AnnotatedRailRefStructure napt:FlexibleZoneStructure napt:HailAndRideSectionStructure napt:NptgLocalityVersionedRefStructure napt:PlusbusZoneVersionedRefStructure napt:RegionVersionedRefStructure napt:StopAreaVersionedRefStructure napt:StopPointVersionedRefStructure NptgDistrictStructure
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 
Grouping for modifications metadata.
source
<xsd:attributeGroup name="ModificationDetailsGroup">
  <xsd:annotation>
    <xsd:documentation>Grouping for modifications metadata.</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="CreationDateTime" type="xsd:dateTime" use="optional"/>
  <xsd:attribute name="ModificationDateTime" type="xsd:dateTime" use="optional"/>
  <xsd:attribute name="Modification" type="ModificationEnumeration" use="optional" default="new"/>
  <xsd:attribute name="RevisionNumber" type="RevisionNumberType" use="optional"/>
  <xsd:attribute name="Status" type="StatusEnumeration" use="optional" default="active"/>
</xsd:attributeGroup>

attributeGroup napt:RequiredModificationDetailsGroup
namespace http://www.naptan.org.uk/
used by
element napt:StopPointStructure/AlternativeDescriptors/Descriptor
complexTypes AdministrativeAreaStructure napt:StopAreaStructure napt:StopPointStructure NptgLocalityStructure PlusbusZoneStructure RegionStructure
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 
Grouping for modifications metadata. Creation Date required
source
<xsd:attributeGroup name="RequiredModificationDetailsGroup">
  <xsd:annotation>
    <xsd:documentation>Grouping for modifications metadata. Creation Date required</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="CreationDateTime" type="xsd:dateTime" use="required"/>
  <xsd:attribute name="ModificationDateTime" type="xsd:dateTime" use="optional"/>
  <xsd:attribute name="Modification" type="ModificationEnumeration" use="optional" default="new"/>
  <xsd:attribute name="RevisionNumber" type="RevisionNumberType" use="optional"/>
  <xsd:attribute name="Status" type="StatusEnumeration" use="optional" default="active"/>
</xsd:attributeGroup>

complexType napt:FullPersonNameStructure
diagram
namespace http://www.naptan.org.uk/
children Position Title Forename Surname
annotation
documentation 
Person Name required in full..
source
<xsd:complexType name="FullPersonNameStructure">
  <xsd:annotation>
    <xsd:documentation>Person Name required in full..</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="Position" type="NaturalLanguageStringStructure">
      <xsd:annotation>
        <xsd:documentation>Position of responsibility of the person, job title. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Title" type="PopulatedStringType">
      <xsd:annotation>
        <xsd:documentation>Title (i.e. Mr, Mrs, Miss, Ms, Rev, Rt.Hon etc).</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Forename" type="PopulatedStringType">
      <xsd:annotation>
        <xsd:documentation>Forename of the person</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Surname" type="PopulatedStringType">
      <xsd:annotation>
        <xsd:documentation>Surname of the person.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:FullPersonNameStructure/Position
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 
Position of responsibility of the person, job title. @lang.
source
<xsd:element name="Position" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Position of responsibility of the person, job title. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:FullPersonNameStructure/Title
diagram
namespace http://www.naptan.org.uk/
type napt:PopulatedStringType
properties
isRef 0
content simple
facets
minLength 1
annotation
documentation 
Title (i.e. Mr, Mrs, Miss, Ms, Rev, Rt.Hon etc).
source
<xsd:element name="Title" type="PopulatedStringType">
  <xsd:annotation>
    <xsd:documentation>Title (i.e. Mr, Mrs, Miss, Ms, Rev, Rt.Hon etc).</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:FullPersonNameStructure/Forename
diagram
namespace http://www.naptan.org.uk/
type napt:PopulatedStringType
properties
isRef 0
content simple
facets
minLength 1
annotation
documentation 
Forename of the person
source
<xsd:element name="Forename" type="PopulatedStringType">
  <xsd:annotation>
    <xsd:documentation>Forename of the person</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:FullPersonNameStructure/Surname
diagram
namespace http://www.naptan.org.uk/
type napt:PopulatedStringType
properties
isRef 0
content simple
facets
minLength 1
annotation
documentation 
Surname of the person.
source
<xsd:element name="Surname" type="PopulatedStringType">
  <xsd:annotation>
    <xsd:documentation>Surname of the person.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType napt:NaturalLanguagePlaceNameStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:PopulatedPlaceNameType
properties
base PopulatedPlaceNameType
used by
elements napt:DescriptorStructure/CommonName napt:DescriptorStructure/Crossing napt:DescriptorStructure/Indicator napt:AnnotatedStopPointRefStructure/Indicator napt:DescriptorStructure/Landmark napt:StopAreaStructure/Name NptgLocalityDescriptorStructure/LocalityName PlusbusZoneStructure/Name NptgDistrictStructure/Name AdministrativeAreaStructure/Name RegionStructure/Name NptgLocalityDescriptorStructure/Qualify/QualifierName NptgLocalityDescriptorStructure/ShortName AdministrativeAreaStructure/ShortName napt:DescriptorStructure/ShortCommonName napt:DescriptorStructure/Street napt:StopPointStructure/Place/Suburb napt:StopPointStructure/Place/Town
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 
@lang. ISO language code (default is en)
A string containing a phrase in a natural language name that requires at least one character of text and forbids certain reserved characters. 
source
<xsd:complexType name="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>@lang. ISO language code (default is en)
A string containing a phrase in a natural language name that requires at least one character of text and forbids certain reserved characters. </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="PopulatedPlaceNameType">
      <xsd:attribute ref="xml:lang"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType napt:NaturalLanguageStringStructure
diagram
namespace http://www.naptan.org.uk/
type extension of napt:PopulatedStringType
properties
base PopulatedStringType
used by
elements napt:AnnotatedStopPointRefStructure/CommonName napt:DatePatternStructure/DateRange/Description napt:FrequencyStructure/Description napt:AllBankHolidaysGroup/OtherPublicHoliday/Description napt:AnnotatedStopPointRefStructure/LocalityName napt:AnnotatedStopPointRefStructure/LocalityQualifier napt:AnnotatedCoachRefStructure/LongName napt:AnnotatedAirRefStructure/Name napt:AnnotatedFerryRefStructure/Name napt:AnnotatedMetroRefStructure/Name napt:AnnotatedCoachRefStructure/Name napt:StopValidityStructure/StopValidity/Note napt:AnnotatedClosedDateRangeStructure/Note napt:StopPointStructure/Notes napt:FullPersonNameStructure/Position napt:AnnotatedRailRefStructure/StationName
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 
@lang. ISO language code (default is en)
A string containing a phrase in a natural language.  
source
<xsd:complexType name="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>@lang. ISO language code (default is en)
A string containing a phrase in a natural language.  </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="PopulatedStringType">
      <xsd:attribute ref="xml:lang"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

complexType napt:TelephoneContactStructure
diagram
namespace http://www.naptan.org.uk/
children TelNationalNumber TelExtensionNumber TelCountryCode
used by
element AdministrativeAreaStructure/ContactTelephone
annotation
documentation 
A telephone number, using GovTalk constructs.
source
<xsd:complexType name="TelephoneContactStructure">
  <xsd:annotation>
    <xsd:documentation>A telephone number, using GovTalk constructs.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="TelNationalNumber" type="core:TelephoneNumberType">
      <xsd:annotation>
        <xsd:documentation>Full telephone number including STD prefix</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="TelExtensionNumber" type="core:TelephoneExtensionType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Any additional extension number.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="TelCountryCode" type="core:TelCountryCodeType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Two character country prefix, e.g. 44 for UK.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element napt:TelephoneContactStructure/TelNationalNumber
diagram
namespace http://www.naptan.org.uk/
type TelephoneNumberType
properties
isRef 0
content simple
facets
pattern [0-9 \-]{1,20}
annotation
documentation 
Full telephone number including STD prefix
source
<xsd:element name="TelNationalNumber" type="core:TelephoneNumberType">
  <xsd:annotation>
    <xsd:documentation>Full telephone number including STD prefix</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:TelephoneContactStructure/TelExtensionNumber
diagram
namespace http://www.naptan.org.uk/
type TelephoneExtensionType
properties
isRef 0
content simple
facets
pattern [0-9]{1,6}
annotation
documentation 
Any additional extension number.
source
<xsd:element name="TelExtensionNumber" type="core:TelephoneExtensionType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Any additional extension number.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element napt:TelephoneContactStructure/TelCountryCode
diagram
namespace http://www.naptan.org.uk/
type TelCountryCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{1,3}
annotation
documentation 
Two character country prefix, e.g. 44 for UK.
source
<xsd:element name="TelCountryCode" type="core:TelCountryCodeType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Two character country prefix, e.g. 44 for UK.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

simpleType napt:EmailAddressType
namespace http://www.naptan.org.uk/
type EmailAddressType
used by
element AdministrativeAreaStructure/ContactEmail
facets
pattern [0-9A-Za-z'\.\-_]{1,127}@[0-9A-Za-z'\.\-_]{1,127}
annotation
documentation 
An email address, using GovTalk constructs.
source
<xsd:simpleType name="EmailAddressType">
  <xsd:annotation>
    <xsd:documentation>An email address, using GovTalk constructs.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="core:EmailAddressType"/>
</xsd:simpleType>

simpleType napt:EmptyType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
elements napt:StopClassificationStructure/OffStreet/BusAndCoach/AccessArea napt:StopClassificationStructure/OffStreet/Air/AccessArea napt:StopClassificationStructure/OffStreet/Metro/AccessArea napt:StopClassificationStructure/OffStreet/Ferry/AccessArea napt:StopClassificationStructure/OffStreet/Rail/AccessArea napt:StopValidityStructure/StopValidity/Active napt:AllBankHolidaysGroup/AllBankHolidays napt:AllBankHolidaysGroup/AllHolidaysExceptChristmas napt:HolidayMondaysGroup/AugustBankHolidayScotland napt:DayAndTimeAvailabilityStructure/Season/Autumn napt:DaysOfOperationStructure/BankHoliday napt:StopClassificationStructure/OffStreet/Ferry/Berth napt:ChristmasGroup/BoxingDay napt:DisplacementHolidaysGroup/BoxingDayHoliday napt:ChristmasGroup/Christmas napt:ChristmasGroup/ChristmasDay napt:DisplacementHolidaysGroup/ChristmasDayHoliday napt:EarlyRunOffGroup/ChristmasEve napt:DisplacementHolidaysGroup/DisplacementHolidays napt:EarlyRunOffGroup/EarlyRunOffDays napt:HolidayMondaysGroup/EasterMonday napt:StopClassificationStructure/OffStreet/BusAndCoach/Entrance napt:StopClassificationStructure/OffStreet/Metro/Entrance napt:StopClassificationStructure/OffStreet/Rail/Entrance napt:StopClassificationStructure/OffStreet/Ferry/Entrance napt:StopClassificationStructure/OffStreet/Air/Entrance napt:DaysOfOperationStructure/Friday napt:Days5Group/Friday napt:AllBankHolidaysGroup/GoodFriday napt:HolidayMondaysGroup/HolidayMondays napt:AllBankHolidaysGroup/Jan2ndScotland napt:HolidayMondaysGroup/LateSummerBankHolidayNotScotland napt:HolidayMondaysGroup/MayDay napt:Days5Group/Monday napt:DaysOfOperationStructure/Monday napt:DaysOfOperationStructure/MondayToFriday napt:Days5Group/MondayToFriday napt:DaysOfOperationStructure/MondayToSaturday napt:Days5NotGroup/MondayToSaturday napt:DaysOfOperationStructure/MondayToSunday napt:DaysGroup/MondayToSunday NptgLocalityDescriptorStructure/Qualify/NptgDistrictRef napt:AllBankHolidaysGroup/NewYearsDay napt:DisplacementHolidaysGroup/NewYearsDayHoliday napt:EarlyRunOffGroup/NewYearsEve napt:DaysOfOperationStructure/NotBankHoliday napt:Days5NotGroup/NotFriday napt:Days5NotGroup/NotMonday napt:Days5NotGroup/NotSaturday napt:DaysOfOperationStructure/NotSchoolHoliday napt:Days5NotGroup/NotThursday napt:Days5NotGroup/NotTuesday napt:Days5NotGroup/NotWednesday napt:StopClassificationStructure/OffStreet/Rail/Platform napt:StopClassificationStructure/OffStreet/Metro/Platform napt:DaysOfOperationStructure/Saturday napt:Days6Group/Saturday napt:DaysOfOperationStructure/SchoolHoliday napt:StopClassificationStructure/OnStreet/Taxi/SharedTaxiRank napt:DayAndTimeAvailabilityStructure/Season/Spring napt:HolidayMondaysGroup/SpringBank napt:DayAndTimeAvailabilityStructure/Season/Summer napt:DaysGroup/Sunday napt:DaysOfOperationStructure/Sunday napt:StopValidityStructure/StopValidity/Suspended napt:StopClassificationStructure/OnStreet/Taxi/TaxiRank napt:DaysOfOperationStructure/Thursday napt:Days5Group/Thursday napt:DaysOfOperationStructure/Tuesday napt:Days5Group/Tuesday napt:DailyOpeningHoursStructure/TwentyFourHours napt:DailyOpeningHoursStructure/Unavailable napt:DaysOfOperationStructure/Wednesday napt:Days5Group/Wednesday napt:DaysGroup/Weekend napt:DayAndTimeAvailabilityStructure/Season/Winter
facets
enumeration 
annotation
documentation 
A type with no allowed content, used when simply the presence of an element is significant.
source
<xsd:simpleType name="EmptyType">
  <xsd:annotation>
    <xsd:documentation>A type with no allowed content, used when simply the presence of an element is significant.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value=""/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:IdType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
annotation
documentation 
Id type for document references
source
<xsd:simpleType name="IdType">
  <xsd:annotation>
    <xsd:documentation>Id type for document references</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType napt:IpAddressType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
annotation
documentation 
Internet protocol address of form 000.000.000.000
source
<xsd:simpleType name="IpAddressType">
  <xsd:annotation>
    <xsd:documentation>Internet protocol address of form 000.000.000.000</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

simpleType napt:PopulatedPlaceNameType
namespace http://www.naptan.org.uk/
type restriction of napt:PopulatedStringType
used by
complexType napt:NaturalLanguagePlaceNameStructure
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
annotation
documentation 
A name that requires at least one character of text and forbids certain reserved characters. 
source
<xsd:simpleType name="PopulatedPlaceNameType">
  <xsd:annotation>
    <xsd:documentation>A name that requires at least one character of text and forbids certain reserved characters. </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="PopulatedStringType">
    <xsd:maxLength value="48"/>
    <xsd:pattern value="[^,\[\]\{\}\?$£%\^=@#;:]+"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:PopulatedStringType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
elements napt:FullPersonNameStructure/Forename napt:FullPersonNameStructure/Surname napt:FullPersonNameStructure/Title
complexType napt:NaturalLanguageStringStructure
simpleType napt:PopulatedPlaceNameType
facets
minLength 1
annotation
documentation 
A restriction of W3C XML Schema's string that requires at least one character of text. 
source
<xsd:simpleType name="PopulatedStringType">
  <xsd:annotation>
    <xsd:documentation>A restriction of W3C XML Schema's string that requires at least one character of text. </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:minLength value="1"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType napt:PrivateCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
elements napt:StopAreaStructure/PrivateCode napt:StopIdentifierGroup/PrivateCode
annotation
documentation 
An identifying code that is an internal, private identifier for interoperating with other (legacy) systems.
source
<xsd:simpleType name="PrivateCodeType">
  <xsd:annotation>
    <xsd:documentation>An identifying code that is an internal, private identifier for interoperating with other (legacy) systems.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

attributeGroup specialAttrs
namespace http://www.w3.org/XML/1998/namespace
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:base        
documentation 
See http://www.w3.org/TR/xmlbase/ for
                     information about this attribute.
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
xml:space        
source
<xsd:attributeGroup name="specialAttrs">
  <xsd:attribute ref="xml:base"/>
  <xsd:attribute ref="xml:lang"/>
  <xsd:attribute ref="xml:space"/>
</xsd:attributeGroup>

simpleType DateType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type xsd:date
annotation
documentation 
A Common DataType W 3C XML Schema datetype
source
<xsd:simpleType name="DateType">
  <xsd:annotation>
    <xsd:documentation>A Common DataType W 3C XML Schema datetype</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:date"/>
</xsd:simpleType>

simpleType EmailAddressType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
used by
simpleType napt:EmailAddressType
facets
pattern [0-9A-Za-z'\.\-_]{1,127}@[0-9A-Za-z'\.\-_]{1,127}
source
<xsd:simpleType name="EmailAddressType">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9A-Za-z'\.\-_]{1,127}@[0-9A-Za-z'\.\-_]{1,127}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType LanguageType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
facets
pattern [A-Za-z]{2}
enumeration en
enumeration cy
annotation
documentation 
A Common DataType Values from the ISO standard for 2 character language codes (ISO 639:1988 Code for the representation of names of languages).  
source
<xsd:simpleType name="LanguageType">
  <xsd:annotation>
    <xsd:documentation>A Common DataType Values from the ISO standard for 2 character language codes (ISO 639:1988 Code for the representation of names of languages).  </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[A-Za-z]{2}"/>
    <xsd:enumeration value="en"/>
    <xsd:enumeration value="cy"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType MaritalStatusType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
facets
enumeration s
enumeration m
enumeration d
enumeration w
enumeration n
enumeration p
source
<xsd:simpleType name="MaritalStatusType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="s"/>
    <xsd:enumeration value="m"/>
    <xsd:enumeration value="d"/>
    <xsd:enumeration value="w"/>
    <xsd:enumeration value="n"/>
    <xsd:enumeration value="p"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType PopulatedStringType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
facets
minLength 1
source
<xsd:simpleType name="PopulatedStringType">
  <xsd:restriction base="xsd:string">
    <xsd:minLength value="1"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType RestrictedStringType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
facets
pattern [A-Za-z0-9\s~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]_\{\}\^£€]*
source
<xsd:simpleType name="RestrictedStringType">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[A-Za-z0-9\s~!"@#$%&'\(\)\*\+,\-\./:;<=>\?\[\\\]_\{\}\^£€]*"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType TelCountryCodeType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
used by
element napt:TelephoneContactStructure/TelCountryCode
facets
pattern [0-9]{1,3}
source
<xsd:simpleType name="TelCountryCodeType">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9]{1,3}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType TelephoneExtensionType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
used by
element napt:TelephoneContactStructure/TelExtensionNumber
facets
pattern [0-9]{1,6}
source
<xsd:simpleType name="TelephoneExtensionType">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9]{1,6}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType TelephoneNumberType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
used by
element napt:TelephoneContactStructure/TelNationalNumber
facets
pattern [0-9 \-]{1,20}
source
<xsd:simpleType name="TelephoneNumberType">
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="[0-9 \-]{1,20}"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType WorkHomeType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
facets
enumeration work
enumeration home
source
<xsd:simpleType name="WorkHomeType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="work"/>
    <xsd:enumeration value="home"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType YesNoType
namespace http://www.cabinetoffice.gov.uk/govtalk.aspx/core
type restriction of xsd:string
facets
enumeration yes
enumeration no
source
<xsd:simpleType name="YesNoType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="yes"/>
    <xsd:enumeration value="no"/>
  </xsd:restriction>
</xsd:simpleType>


XML Schema documentation generated with
XMLSpy Schema Editor http://www.altova.com/xmlspy