Schema NPTG_Discovery.xsd


schema location:  http://www.naptan.org.uk/schema/2.0/NPTG_Discovery.xsd
attribute form default:  unqualified
element form default:  qualified
targetNamespace:  http://www.naptan.org.uk/
 
Elements  Complex types  Simple types 
NptgDiscovery  AdjacentRegionsStructure  StagingEnumeration 
AdjacentRegionStructure  WebApplicationClassificationEnumeration 
CallCentresStructure  WebApplicationCodeType 
CallCentreStructure 
TrustedServerRefsStructure 
TrustedServerStructure 
UsedByStructure 
WebApplicationRefsStructure 
WebApplicationRefStructure 
WebApplicationsStructure 
WebApplicationStructure 


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 NptgDiscovery
diagram
namespace http://www.naptan.org.uk/
properties
content complex
children CallCentres WebApplications TrustedServers AdjacentRegions
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimerequired      
Modification  ModificationEnumerationrequired      
RevisionNumber  RevisionNumberTyperequired      
FileName  xsd:stringrequired      
documentation 
The name of the file containing the instance document.
SchemaVersion  xsd:NMTOKENrequired    2.0  
LocationSystem  LocationSystemEnumerationoptional    Grid  
identity constraints
  Name  Refer  Selector  Field(s)  
unique  CallCentreKey    .//napt:CallCentres/napt:CallCentre  CallCentreCode  
annotation
documentation 
Schema for exchanging NPTG Discovery data.
@xml:lang
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status,
@FileName,
@SchemaVersion,
@LocationSystem
source
<xsd:element name="NptgDiscovery">
  <xsd:annotation>
    <xsd:documentation>Schema for exchanging NPTG Discovery data.
@xml:lang
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status,
@FileName,
@SchemaVersion,
@LocationSystem</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="CallCentres" type="CallCentresStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Call centres covering the region.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="WebApplications" type="WebApplicationsStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Definitions of web services.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="TrustedServers" type="TrustedServerRefsStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Definitions of access points to services.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="AdjacentRegions" type="AdjacentRegionsStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Definitions of area exchanges.</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:unique name="CallCentreKey">
    <xsd:selector xpath=".//napt:CallCentres/napt:CallCentre"/>
    <xsd:field xpath="CallCentreCode"/>
  </xsd:unique>
</xsd:element>

element NptgDiscovery/CallCentres
diagram
namespace http://www.naptan.org.uk/
type CallCentresStructure
properties
isRef 0
content complex
children CallCentre
annotation
documentation 
Call centres covering the region.
source
<xsd:element name="CallCentres" type="CallCentresStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Call centres covering the region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgDiscovery/WebApplications
diagram
namespace http://www.naptan.org.uk/
type WebApplicationsStructure
properties
isRef 0
content complex
children WebApplication
annotation
documentation 
Definitions of web services.
source
<xsd:element name="WebApplications" type="WebApplicationsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of web services.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgDiscovery/TrustedServers
diagram
namespace http://www.naptan.org.uk/
type TrustedServerRefsStructure
properties
isRef 0
content complex
children TrustedServer
annotation
documentation 
Definitions of access points to services.
source
<xsd:element name="TrustedServers" type="TrustedServerRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of access points to services.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element NptgDiscovery/AdjacentRegions
diagram
namespace http://www.naptan.org.uk/
type AdjacentRegionsStructure
properties
isRef 0
content complex
children AdjacentRegion
annotation
documentation 
Definitions of area exchanges.
source
<xsd:element name="AdjacentRegions" type="AdjacentRegionsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Definitions of area exchanges.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AdjacentRegionsStructure
diagram
namespace http://www.naptan.org.uk/
children AdjacentRegion
used by
element NptgDiscovery/AdjacentRegions
annotation
documentation 
Collection of area exchanges.
source
<xsd:complexType name="AdjacentRegionsStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of area exchanges.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="AdjacentRegion" type="AdjacentRegionStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>An area exchange indicates NaPTAN point that is shared by a pair of regions for journey planning computations. 
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element AdjacentRegionsStructure/AdjacentRegion
diagram
namespace http://www.naptan.org.uk/
type AdjacentRegionStructure
properties
isRef 0
content complex
children StopPointRef FromRegionRef ToRegionRef Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
An area exchange indicates NaPTAN point that is shared by a pair of regions for journey planning computations. 
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="AdjacentRegion" type="AdjacentRegionStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>An area exchange indicates NaPTAN point that is shared by a pair of regions for journey planning computations. 
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType AdjacentRegionStructure
diagram
namespace http://www.naptan.org.uk/
children StopPointRef FromRegionRef ToRegionRef Location
used by
element AdjacentRegionsStructure/AdjacentRegion
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Area Exchange.
source
<xsd:complexType name="AdjacentRegionStructure">
  <xsd:annotation>
    <xsd:documentation>Area Exchange.</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="FromRegionRef" type="RegionRefStructure">
      <xsd:annotation>
        <xsd:documentation>Identifier of region that shares point with to region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ToRegionRef" type="RegionRefStructure">
      <xsd:annotation>
        <xsd:documentation>Identifier of Region that shares point with from region. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Location" type="napt:LocationStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Spatial location of point.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

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

element AdjacentRegionStructure/FromRegionRef
diagram
namespace http://www.naptan.org.uk/
type RegionRefStructure
properties
isRef 0
content complex
annotation
documentation 
Identifier of region that shares point with to region.
source
<xsd:element name="FromRegionRef" type="RegionRefStructure">
  <xsd:annotation>
    <xsd:documentation>Identifier of region that shares point with to region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AdjacentRegionStructure/ToRegionRef
diagram
namespace http://www.naptan.org.uk/
type RegionRefStructure
properties
isRef 0
content complex
annotation
documentation 
Identifier of Region that shares point with from region. 
source
<xsd:element name="ToRegionRef" type="RegionRefStructure">
  <xsd:annotation>
    <xsd:documentation>Identifier of Region that shares point with from region. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

complexType CallCentresStructure
diagram
namespace http://www.naptan.org.uk/
children CallCentre
used by
element NptgDiscovery/CallCentres
annotation
documentation 
Collection of call centres.
source
<xsd:complexType name="CallCentresStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of call centres.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="CallCentre" type="CallCentreStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Call centre providing travel information for the region.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element CallCentresStructure/CallCentre
diagram
namespace http://www.naptan.org.uk/
type CallCentreStructure
properties
isRef 0
content complex
children CallCentreCode Name RegionRef AdministrativeAreas Availability PublicTelephone DirectTelephone ContactEmail Notes
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Call centre providing travel information for the region.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="CallCentre" type="CallCentreStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Call centre providing travel information for the region.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType CallCentreStructure
diagram
namespace http://www.naptan.org.uk/
children CallCentreCode Name RegionRef AdministrativeAreas Availability PublicTelephone DirectTelephone ContactEmail Notes
used by
element CallCentresStructure/CallCentre
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Call centre.
source
<xsd:complexType name="CallCentreStructure">
  <xsd:annotation>
    <xsd:documentation>Call centre.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="CallCentreCode" type="CallCentreCodeType">
      <xsd:annotation>
        <xsd:documentation>Unique identifier of the call centre.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Name" type="NaturalLanguageStringStructure">
      <xsd:annotation>
        <xsd:documentation>Name of the call centre. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="RegionRef" type="RegionRefStructure">
      <xsd:annotation>
        <xsd:documentation>Region for Call Centre.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdministrativeAreas" type="AdministrativeAreaRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Administrative Areas that Call Centre Covers</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Availability" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Hours when call centre is open.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Open" minOccurs="0" maxOccurs="unbounded">
            <xsd:annotation>
              <xsd:documentation>Structured representation of opening hours as one or more day types and hours. </xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
              <xsd:complexContent>
                <xsd:extension base="napt:DayAndTimeAvailabilityStructure">
                  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
                </xsd:extension>
              </xsd:complexContent>
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="Note" type="napt:NaturalLanguageStringStructure">
            <xsd:annotation>
              <xsd:documentation>Description of opening hours. @lang.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="PublicTelephone" type="TelephoneContactStructure">
      <xsd:annotation>
        <xsd:documentation>Public Contact telephone number for the call centre.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="DirectTelephone" type="TelephoneContactStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Internal use contact telephone number for the call centre.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="ContactEmail" type="EmailAddressType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Contact email. Should be a general address rather than an individual. </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Notes" type="napt:NaturalLanguageStringStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Notes on call centre use. @lang.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element CallCentreStructure/CallCentreCode
diagram
namespace http://www.naptan.org.uk/
type CallCentreCodeType
properties
isRef 0
content simple
annotation
documentation 
Unique identifier of the call centre.
source
<xsd:element name="CallCentreCode" type="CallCentreCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique identifier of the call centre.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CallCentreStructure/Name
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of the call centre. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the call centre. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CallCentreStructure/RegionRef
diagram
namespace http://www.naptan.org.uk/
type RegionRefStructure
properties
isRef 0
content complex
annotation
documentation 
Region for Call Centre.
source
<xsd:element name="RegionRef" type="RegionRefStructure">
  <xsd:annotation>
    <xsd:documentation>Region for Call Centre.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CallCentreStructure/AdministrativeAreas
diagram
namespace http://www.naptan.org.uk/
type AdministrativeAreaRefsStructure
properties
isRef 0
content complex
children AdministrativeAreaRef
annotation
documentation 
Administrative Areas that Call Centre Covers
source
<xsd:element name="AdministrativeAreas" type="AdministrativeAreaRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Administrative Areas that Call Centre Covers</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CallCentreStructure/Availability
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children Open Note
annotation
documentation 
Hours when call centre is open.
source
<xsd:element name="Availability" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Hours when call centre is open.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Open" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>Structured representation of opening hours as one or more day types and hours. </xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:complexContent>
            <xsd:extension base="napt:DayAndTimeAvailabilityStructure">
              <xsd:attributeGroup ref="ModificationDetailsGroup"/>
            </xsd:extension>
          </xsd:complexContent>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="Note" type="napt:NaturalLanguageStringStructure">
        <xsd:annotation>
          <xsd:documentation>Description of opening hours. @lang.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element CallCentreStructure/Availability/Open
diagram
namespace http://www.naptan.org.uk/
type extension of DayAndTimeAvailabilityStructure
properties
isRef 0
content complex
children DayTypes Season HolidayTypes OpeningHours
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Structured representation of opening hours as one or more day types and hours. 
source
<xsd:element name="Open" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Structured representation of opening hours as one or more day types and hours. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="napt:DayAndTimeAvailabilityStructure">
        <xsd:attributeGroup ref="ModificationDetailsGroup"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

element CallCentreStructure/Availability/Note
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Description of opening hours. @lang.
source
<xsd:element name="Note" type="napt:NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Description of opening hours. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CallCentreStructure/PublicTelephone
diagram
namespace http://www.naptan.org.uk/
type TelephoneContactStructure
properties
isRef 0
content complex
children TelNationalNumber TelExtensionNumber TelCountryCode
annotation
documentation 
Public Contact telephone number for the call centre.
source
<xsd:element name="PublicTelephone" type="TelephoneContactStructure">
  <xsd:annotation>
    <xsd:documentation>Public Contact telephone number for the call centre.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element CallCentreStructure/DirectTelephone
diagram
namespace http://www.naptan.org.uk/
type TelephoneContactStructure
properties
isRef 0
content complex
children TelNationalNumber TelExtensionNumber TelCountryCode
annotation
documentation 
Internal use contact telephone number for the call centre.
source
<xsd:element name="DirectTelephone" type="TelephoneContactStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Internal use contact telephone number for the call centre.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

element CallCentreStructure/Notes
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Notes on call centre use. @lang.
source
<xsd:element name="Notes" type="napt:NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Notes on call centre use. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType TrustedServerRefsStructure
diagram
namespace http://www.naptan.org.uk/
children TrustedServer
used by
element NptgDiscovery/TrustedServers
annotation
documentation 
Collection of references to trusted servers.
source
<xsd:complexType name="TrustedServerRefsStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of references to trusted servers.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="TrustedServer" type="TrustedServerStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A web service able to provide an travel information service about the region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element TrustedServerRefsStructure/TrustedServer
diagram
namespace http://www.naptan.org.uk/
type TrustedServerStructure
properties
isRef 0
content complex
children ServerCode IpAddressRange Description
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A web service able to provide an travel information service about the region.
source
<xsd:element name="TrustedServer" type="TrustedServerStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A web service able to provide an travel information service about the region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType TrustedServerStructure
diagram
namespace http://www.naptan.org.uk/
children ServerCode IpAddressRange Description
used by
element TrustedServerRefsStructure/TrustedServer
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Information service.
source
<xsd:complexType name="TrustedServerStructure">
  <xsd:annotation>
    <xsd:documentation>Information service.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="ServerCode" type="WebApplicationCodeType">
      <xsd:annotation>
        <xsd:documentation>Identifier of the server</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="IpAddressRange">
      <xsd:annotation>
        <xsd:documentation>Range of Accessible IP addresses on the server.</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="FirstIp" type="IpAddressType">
            <xsd:annotation>
              <xsd:documentation>First IP address in range.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="LastIp" type="IpAddressType" minOccurs="0">
            <xsd:annotation>
              <xsd:documentation>Last IP address in range.</xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="Description" type="PopulatedStringType"/>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element TrustedServerStructure/ServerCode
diagram
namespace http://www.naptan.org.uk/
type WebApplicationCodeType
properties
isRef 0
content simple
annotation
documentation 
Identifier of the server
source
<xsd:element name="ServerCode" type="WebApplicationCodeType">
  <xsd:annotation>
    <xsd:documentation>Identifier of the server</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element TrustedServerStructure/IpAddressRange
diagram
namespace http://www.naptan.org.uk/
properties
isRef 0
content complex
children FirstIp LastIp
annotation
documentation 
Range of Accessible IP addresses on the server.
source
<xsd:element name="IpAddressRange">
  <xsd:annotation>
    <xsd:documentation>Range of Accessible IP addresses on the server.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="FirstIp" type="IpAddressType">
        <xsd:annotation>
          <xsd:documentation>First IP address in range.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="LastIp" type="IpAddressType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Last IP address in range.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

element TrustedServerStructure/IpAddressRange/FirstIp
diagram
namespace http://www.naptan.org.uk/
type IpAddressType
properties
isRef 0
content simple
annotation
documentation 
First IP address in range.
source
<xsd:element name="FirstIp" type="IpAddressType">
  <xsd:annotation>
    <xsd:documentation>First IP address in range.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element TrustedServerStructure/IpAddressRange/LastIp
diagram
namespace http://www.naptan.org.uk/
type IpAddressType
properties
isRef 0
content simple
annotation
documentation 
Last IP address in range.
source
<xsd:element name="LastIp" type="IpAddressType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Last IP address in range.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element TrustedServerStructure/Description
diagram
namespace http://www.naptan.org.uk/
type PopulatedStringType
properties
isRef 0
content simple
facets
minLength 1
source
<xsd:element name="Description" type="PopulatedStringType"/>

complexType UsedByStructure
diagram
namespace http://www.naptan.org.uk/
children RegionRefs AdministrativeAreaRefs NptgLocalityRefs StopPointRefs
used by
element WebApplicationStructure/UsedBy
annotation
documentation 
Uses of web services by 
source
<xsd:complexType name="UsedByStructure">
  <xsd:annotation>
    <xsd:documentation>Uses of web services by </xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="RegionRefs" type="napt:RegionRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>References to regions that use the application.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="AdministrativeAreaRefs" type="napt:AdministrativeAreaRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>References to admin areas that use application, if different from region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="NptgLocalityRefs" type="napt:NptgLocalityRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>References to NptgLocality instances that use the application, if different from admin area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="StopPointRefs" type="StopPointRefsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>References to NaPTAN stop points that use the application, if different from locality.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element UsedByStructure/RegionRefs
diagram
namespace http://www.naptan.org.uk/
type RegionRefsStructure
properties
isRef 0
content complex
children RegionRef
annotation
documentation 
References to regions that use the application.
source
<xsd:element name="RegionRefs" type="napt:RegionRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>References to regions that use the application.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element UsedByStructure/AdministrativeAreaRefs
diagram
namespace http://www.naptan.org.uk/
type AdministrativeAreaRefsStructure
properties
isRef 0
content complex
children AdministrativeAreaRef
annotation
documentation 
References to admin areas that use application, if different from region.
source
<xsd:element name="AdministrativeAreaRefs" type="napt:AdministrativeAreaRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>References to admin areas that use application, if different from region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element UsedByStructure/NptgLocalityRefs
diagram
namespace http://www.naptan.org.uk/
type NptgLocalityRefsStructure
properties
isRef 0
content complex
children NptgLocalityRef
annotation
documentation 
References to NptgLocality instances that use the application, if different from admin area.
source
<xsd:element name="NptgLocalityRefs" type="napt:NptgLocalityRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>References to NptgLocality instances that use the application, if different from admin area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element UsedByStructure/StopPointRefs
diagram
namespace http://www.naptan.org.uk/
type StopPointRefsStructure
properties
isRef 0
content complex
children StopPointRef
annotation
documentation 
References to NaPTAN stop points that use the application, if different from locality.
source
<xsd:element name="StopPointRefs" type="StopPointRefsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>References to NaPTAN stop points that use the application, if different from locality.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType WebApplicationRefsStructure
diagram
namespace http://www.naptan.org.uk/
children WebApplicationRef
annotation
documentation 
Collection of references to web services.
source
<xsd:complexType name="WebApplicationRefsStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of references to web services.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="WebApplicationRef" type="WebApplicationRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>A web service able to provide an travel information service about the region.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element WebApplicationRefsStructure/WebApplicationRef
diagram
namespace http://www.naptan.org.uk/
type WebApplicationRefStructure
properties
isRef 0
content complex
annotation
documentation 
A web service able to provide an travel information service about the region.
source
<xsd:element name="WebApplicationRef" type="WebApplicationRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>A web service able to provide an travel information service about the region.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType WebApplicationRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of WebApplicationCodeType
properties
base WebApplicationCodeType
used by
element WebApplicationRefsStructure/WebApplicationRef
annotation
documentation 
A reference to a Web service. The reference is by WebApplication Code.
source
<xsd:complexType name="WebApplicationRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a Web service. The reference is by WebApplication Code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="WebApplicationCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

complexType WebApplicationsStructure
diagram
namespace http://www.naptan.org.uk/
children WebApplication
used by
element NptgDiscovery/WebApplications
annotation
documentation 
Collection of web applications.
source
<xsd:complexType name="WebApplicationsStructure">
  <xsd:annotation>
    <xsd:documentation>Collection of web applications.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="WebApplication" type="WebApplicationStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>An information application.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

element WebApplicationsStructure/WebApplication
diagram
namespace http://www.naptan.org.uk/
type WebApplicationStructure
properties
isRef 0
content complex
children WebApplicationCode WebApplicationClassification CapabilityClassification Description Staging Url Version UsedBy
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
An information application.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.
source
<xsd:element name="WebApplication" type="WebApplicationStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>An information application.
@CreationDateTime,
@ModificationDateTime,
@Modification,
@RevisionNumber,
@Status.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType WebApplicationStructure
diagram
namespace http://www.naptan.org.uk/
children WebApplicationCode WebApplicationClassification CapabilityClassification Description Staging Url Version UsedBy
used by
element WebApplicationsStructure/WebApplication
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Information service.
source
<xsd:complexType name="WebApplicationStructure">
  <xsd:annotation>
    <xsd:documentation>Information service.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="WebApplicationCode" type="WebApplicationCodeType">
      <xsd:annotation>
        <xsd:documentation>Identifier of the application.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="WebApplicationClassification" type="napt:WebApplicationClassificationEnumeration">
      <xsd:annotation>
        <xsd:documentation>Type of the application.JW, TXC, other</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="CapabilityClassification" type="xsd:NMTOKEN" minOccurs="0" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>List of capabilities of the application.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Description" type="PopulatedStringType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Description of application.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Staging" type="StagingEnumeration">
      <xsd:annotation>
        <xsd:documentation>Whether application.is for  demo, test, or production. Enumeration</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Url" type="xsd:anyURI" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>URL with which to access of the application.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="Version" type="xsd:string">
      <xsd:annotation>
        <xsd:documentation>Version number.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element name="UsedBy" type="UsedByStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The NPTG and NaPTAN entities that use the application.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
  <xsd:attributeGroup ref="ModificationDetailsGroup"/>
</xsd:complexType>

element WebApplicationStructure/WebApplicationCode
diagram
namespace http://www.naptan.org.uk/
type WebApplicationCodeType
properties
isRef 0
content simple
annotation
documentation 
Identifier of the application.
source
<xsd:element name="WebApplicationCode" type="WebApplicationCodeType">
  <xsd:annotation>
    <xsd:documentation>Identifier of the application.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/WebApplicationClassification
diagram
namespace http://www.naptan.org.uk/
type WebApplicationClassificationEnumeration
properties
isRef 0
content simple
facets
enumeration JourneyWeb
enumeration Other
annotation
documentation 
Type of the application.JW, TXC, other
source
<xsd:element name="WebApplicationClassification" type="napt:WebApplicationClassificationEnumeration">
  <xsd:annotation>
    <xsd:documentation>Type of the application.JW, TXC, other</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/CapabilityClassification
diagram
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
properties
isRef 0
content simple
annotation
documentation 
List of capabilities of the application.
source
<xsd:element name="CapabilityClassification" type="xsd:NMTOKEN" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>List of capabilities of the application.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/Description
diagram
namespace http://www.naptan.org.uk/
type PopulatedStringType
properties
isRef 0
content simple
facets
minLength 1
annotation
documentation 
Description of application.
source
<xsd:element name="Description" type="PopulatedStringType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Description of application.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/Staging
diagram
namespace http://www.naptan.org.uk/
type StagingEnumeration
properties
isRef 0
content simple
facets
enumeration Demo
enumeration Test
enumeration Production
annotation
documentation 
Whether application.is for  demo, test, or production. Enumeration
source
<xsd:element name="Staging" type="StagingEnumeration">
  <xsd:annotation>
    <xsd:documentation>Whether application.is for  demo, test, or production. Enumeration</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/Url
diagram
namespace http://www.naptan.org.uk/
type xsd:anyURI
properties
isRef 0
content simple
annotation
documentation 
URL with which to access of the application.
source
<xsd:element name="Url" type="xsd:anyURI" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>URL with which to access of the application.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/Version
diagram
namespace http://www.naptan.org.uk/
type xsd:string
properties
isRef 0
content simple
annotation
documentation 
Version number.
source
<xsd:element name="Version" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Version number.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element WebApplicationStructure/UsedBy
diagram
namespace http://www.naptan.org.uk/
type UsedByStructure
properties
isRef 0
content complex
children RegionRefs AdministrativeAreaRefs NptgLocalityRefs StopPointRefs
annotation
documentation 
The NPTG and NaPTAN entities that use the application.
source
<xsd:element name="UsedBy" type="UsedByStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>The NPTG and NaPTAN entities that use the application.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

simpleType StagingEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element WebApplicationStructure/Staging
facets
enumeration Demo
enumeration Test
enumeration Production
annotation
documentation 
Allowed Staging types.
source
<xsd:simpleType name="StagingEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed Staging types.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="Demo"/>
    <xsd:enumeration value="Test"/>
    <xsd:enumeration value="Production"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType WebApplicationClassificationEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element WebApplicationStructure/WebApplicationClassification
facets
enumeration JourneyWeb
enumeration Other
annotation
documentation 
Allowed WebApplication types.
source
<xsd:simpleType name="WebApplicationClassificationEnumeration">
  <xsd:annotation>
    <xsd:documentation>Allowed WebApplication types.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="JourneyWeb"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

simpleType WebApplicationCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
elements TrustedServerStructure/ServerCode WebApplicationStructure/WebApplicationCode
complexType WebApplicationRefStructure
annotation
documentation 
Unique Identifier of Web Service.
source
<xsd:simpleType name="WebApplicationCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of Web Service.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

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

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

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

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

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

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

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

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

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

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

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

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

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

element AnnotatedAirRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of airport. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of airport. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

element AnnotatedCoachRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of coach location. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of coach location. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedCoachRefStructure/LongName
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Long name of coach location. @lang.
source
<xsd:element name="LongName" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Long name of coach location. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

element AnnotatedFerryRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of port. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Name of port. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

element AnnotatedMetroRefStructure/Name
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of station. @lang.
source
<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Name of station. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

element AnnotatedRailRefStructure/StationName
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of station. @lang.
source
<xsd:element name="StationName" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Name of station. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

element AnnotatedStopPointRefStructure/CommonName
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Common name for the stop. @lang.
source
<xsd:element name="CommonName" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Common name for the stop. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/Indicator
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Brief additional description to further distinguish the stop. @lang.
source
<xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Brief additional description to further distinguish the stop. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/LocalityName
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of NPTG Locality in which stop lies.
source
<xsd:element name="LocalityName" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Name of NPTG Locality in which stop lies.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element AnnotatedStopPointRefStructure/LocalityQualifier
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Any qualifier of NPTG Locality in which stop lies.
source
<xsd:element name="LocalityQualifier" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Any qualifier of NPTG Locality in which stop lies.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

element DescriptorStructure/CommonName
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Common name for the stop in a specified language. @lang.
source
<xsd:element name="CommonName" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Common name for the stop in a specified language. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/ShortCommonName
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Alternative short name for stop. Length limit is set by administrative area. Standard abbreviations should be used to condense name elements. If omitted, defaults to CommonName, truncated if necessary. @lang.
source
<xsd:element name="ShortCommonName" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Alternative short name for stop. Length limit is set by administrative area. Standard abbreviations should be used to condense name elements. If omitted, defaults to CommonName, truncated if necessary. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Landmark
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Description of the nearest landmark to the stop, for example 'Town Hall'. Or nearest street crossing that can be used to distinguish stop from other stops in the street, i.e. Lanmark may be a crossing.  @lang.
source
<xsd:element name="Landmark" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Description of the nearest landmark to the stop, for example 'Town Hall'. Or nearest street crossing that can be used to distinguish stop from other stops in the street, i.e. Lanmark may be a crossing.  @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Street
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Street of stop. @lang
source
<xsd:element name="Street" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Street of stop. @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Crossing
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Where there is a street that intersects the Street, as well as a Landmark, the name of the crossing street may be included separately here.   @lang
source
<xsd:element name="Crossing" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Where there is a street that intersects the Street, as well as a Landmark, the name of the crossing street may be included separately here.   @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element DescriptorStructure/Indicator
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Indicative description of the relative position of the stop, for example, "100 yards from Town Hall".  Bay Stand or Stance number should be placed here. @lang.
source
<xsd:element name="Indicator" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Indicative description of the relative position of the stop, for example, "100 yards from Town Hall".  Bay Stand or Stance number should be placed here. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

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

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

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

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

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

element StopAreaRefsStructure/StopAreaRef
diagram
namespace http://www.naptan.org.uk/
type StopAreaVersionedRefStructure
properties
isRef 0
content complex
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Reference to the identifier of a stop area.
source
<xsd:element name="StopAreaRef" type="StopAreaVersionedRefStructure" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Reference to the identifier of a stop area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

element StopAreaStructure/Name
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Name of the area.
source
<xsd:element name="Name" type="NaturalLanguagePlaceNameStructure">
  <xsd:annotation>
    <xsd:documentation>Name of the area.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

complexType StopAreaVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of StopAreaCodeType
properties
base StopAreaCodeType
used by
element StopAreaRefsStructure/StopAreaRef
facets
pattern [0-9]{3}[G0][A-Za-z0-9]{1,8}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Data type for a versioned direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.
source
<xsd:complexType name="StopAreaVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a versioned direct reference to a stop area that is defined elsewhere using a StopAreaStructure. The reference is by area code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="StopAreaCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

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

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

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

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

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

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

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

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

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

element StopClassificationStructure/OffStreet/Air/AnnotatedAirRef
diagram
namespace http://www.naptan.org.uk/
type AnnotatedAirRefStructure
properties
isRef 0
content complex
children IataRef Name
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with other reference systems.
source
<xsd:element name="AnnotatedAirRef" type="AnnotatedAirRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collation with other reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

element StopClassificationStructure/OffStreet/Ferry/AnnotatedFerryRef
diagram
namespace http://www.naptan.org.uk/
type AnnotatedFerryRefStructure
properties
isRef 0
content complex
children FerryRef Name Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with other industry reference systems
source
<xsd:element name="AnnotatedFerryRef" type="AnnotatedFerryRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collation with other industry reference systems</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

element StopClassificationStructure/OffStreet/Rail/AnnotatedRailRef
diagram
namespace http://www.naptan.org.uk/
type AnnotatedRailRefStructure
properties
isRef 0
content complex
children TiplocRef CrsRef StationName Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with other industry reference systems.
source
<xsd:element name="AnnotatedRailRef" type="AnnotatedRailRefStructure" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

element StopClassificationStructure/OffStreet/Metro/AnnotatedMetroRef
diagram
namespace http://www.naptan.org.uk/
type AnnotatedMetroRefStructure
properties
isRef 0
content complex
children MetroRef Name Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with other industry reference systems.
source
<xsd:element name="AnnotatedMetroRef" type="AnnotatedMetroRefStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Collation with other industry reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

element StopClassificationStructure/OffStreet/BusAndCoach/AnnotatedCoachRef
diagram
namespace http://www.naptan.org.uk/
type AnnotatedCoachRefStructure
properties
isRef 0
content complex
children CoachRef Name LongName Location
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Collation with other reference systems.
source
<xsd:element name="AnnotatedCoachRef" type="AnnotatedCoachRefStructure" minOccurs="0" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Collation with other reference systems.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

element StopPointStructure/AtcoCode
diagram
namespace http://www.naptan.org.uk/
type AtcoCodeType
properties
isRef 0
content simple
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
annotation
documentation 
Full NaPTAN stop identifier that uniquely identifies the stop within the UK. 
source
<xsd:element name="AtcoCode" type="AtcoCodeType">
  <xsd:annotation>
    <xsd:documentation>Full NaPTAN stop identifier that uniquely identifies the stop within the UK. </xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

element StopPointStructure/Place/Suburb
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Suburb within which stop lies. @lang.
source
<xsd:element name="Suburb" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Suburb within which stop lies. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/Town
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguagePlaceNameStructure
properties
isRef 0
content complex
facets
minLength 1
maxLength 48
pattern [^,\[\]\{\}\?$£%\^=@#;:]+
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Town within which stop lies. @lang.
source
<xsd:element name="Town" type="NaturalLanguagePlaceNameStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Town within which stop lies. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element StopPointStructure/Place/LocalityCentre
diagram
namespace http://www.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 StopPointStructure/Place/Location
diagram
namespace http://www.naptan.org.uk/
type extension of LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
Spatial coordinates of stop.             @precision.
source
<xsd:element name="Location">
  <xsd:annotation>
    <xsd:documentation>Spatial coordinates of stop.             @precision.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="LocationStructure"/>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>

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

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

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

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

element StopPointStructure/Notes
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Notes about a stop. @lang
source
<xsd:element name="Notes" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Notes about a stop. @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

complexType StopPointVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of AtcoCodeType
properties
base AtcoCodeType
used by
elements StopAreaStructure/ParentStopAreaRef StopPointRefsStructure/StopPointRef
facets
pattern [0-9]{3}[A-Za-z0-9]{2,9}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Data type for a versioned reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.
source
<xsd:complexType name="StopPointVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>Data type for a versioned reference to a stop that is defined elsewhere using a StopPointStructure. The reference is by ATCO code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="AtcoCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

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

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

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

element StopValidityStructure/StopValidity
diagram
namespace http://www.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  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
Description of  periods for stop activity. Stop validity elements should be listed in historical order of Date Range Start date. 
source
<xsd:element name="StopValidity" maxOccurs="unbounded">
  <xsd:annotation>
    <xsd:documentation>Description of  periods for stop activity. Stop validity elements should be listed in historical order of Date Range Start date. </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="DateRange" type="HalfOpenDateRangeStructure">
        <xsd:annotation>
          <xsd:documentation>Validity period for which Active/ Suspended or Transferred status applies. Each StartDate closes any previous open ended date range of a previous validity element.   </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:choice>
        <xsd:annotation>
          <xsd:documentation>Status</xsd:documentation>
        </xsd:annotation>
        <xsd:element name="Active" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>Stop is active during the period defined by date range.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Suspended" type="EmptyType">
          <xsd:annotation>
            <xsd:documentation>Stop is suspended during the period specified by date range.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
        <xsd:element name="Transferred" type="StopPointWrappedRefStructure">
          <xsd:annotation>
            <xsd:documentation>Stop is suspended during period specified by date range, and use is transferred to the indicated stop. Transference should not be cyclic. </xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:choice>
      <xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Note explaining any reason for activation, transfer or suspension. @lang.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
    <xsd:attributeGroup ref="ModificationDetailsGroup"/>
  </xsd:complexType>
</xsd:element>

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

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

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

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

element StopValidityStructure/StopValidity/Note
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Note explaining any reason for activation, transfer or suspension. @lang.
source
<xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Note explaining any reason for activation, transfer or suspension. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

simpleType InterchangeActivityEnumeration
namespace http://www.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 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 MetroCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element AnnotatedMetroRefStructure/MetroRef
annotation
documentation 
Code identifying a metro station.
source
<xsd:simpleType name="MetroCodeType">
  <xsd:annotation>
    <xsd:documentation>Code identifying a metro station.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

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

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

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

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

simpleType NationalLocationCodeType
namespace http://www.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 PlateCodeType
namespace http://www.naptan.org.uk/
type xsd:string
used by
element StopIdentifierGroup/PlateCode
annotation
documentation 
The plate identifier placed on the stop.
source
<xsd:simpleType name="PlateCodeType">
  <xsd:annotation>
    <xsd:documentation>The plate identifier placed on the stop.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string"/>
</xsd:simpleType>

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

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

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

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

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

simpleType VehicleAtStopActivityEnumeration
namespace http://www.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 AdministrativeAreaRefsStructure
diagram
namespace http://www.naptan.org.uk/
children AdministrativeAreaRef
used by
elements UsedByStructure/AdministrativeAreaRefs CallCentreStructure/AdministrativeAreas
annotation
documentation 
A collection of one or more references to NPTG administrative areas.
source
<xsd:complexType name="AdministrativeAreaRefsStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of one or more references to NPTG administrative areas.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:element name="AdministrativeAreaRef" type="AdministrativeAreaVersionedRefStructure" maxOccurs="unbounded">
      <xsd:annotation>
        <xsd:documentation>Reference to the identifier of an administrative area.</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:sequence>
</xsd:complexType>

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

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

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

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

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

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

complexType NptgLocalityVersionedRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of NptgLocalityCodeType
properties
base NptgLocalityCodeType
used by
elements PlaceRefStructure/NptgLocalityRef NptgLocalityRefsStructure/NptgLocalityRef
facets
pattern [EN][0S][0-9]{6}
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  StatusEnumerationoptional  active    
annotation
documentation 
A reference to a National Gazetteer locality. The reference is by National Gazetteer Code.
source
<xsd:complexType name="NptgLocalityVersionedRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer locality. The reference is by National Gazetteer Code.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="NptgLocalityCodeType">
      <xsd:attributeGroup ref="ModificationDetailsGroup"/>
    </xsd:extension>
  </xsd:simpleContent>
</xsd:complexType>

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

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

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

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

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

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

complexType RegionRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of RegionCodeType
properties
base RegionCodeType
used by
elements AdjacentRegionStructure/FromRegionRef CallCentreStructure/RegionRef AdjacentRegionStructure/ToRegionRef
annotation
documentation 
A reference to a National Gazetteer Region. The reference is by National Gazetteer Region Code.  
source
<xsd:complexType name="RegionRefStructure">
  <xsd:annotation>
    <xsd:documentation>A reference to a National Gazetteer Region. The reference is by National Gazetteer Region Code.  </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleContent>
    <xsd:extension base="RegionCodeType"/>
  </xsd:simpleContent>
</xsd:complexType>

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

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

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

simpleType CallCentreCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
element CallCentreStructure/CallCentreCode
annotation
documentation 
Unique Identifier of Call Centre.
source
<xsd:simpleType name="CallCentreCodeType">
  <xsd:annotation>
    <xsd:documentation>Unique Identifier of Call Centre.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKEN"/>
</xsd:simpleType>

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

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

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

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

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

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

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

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

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

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

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

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

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

element AllBankHolidaysGroup/OtherPublicHoliday
diagram
namespace http://www.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 AllBankHolidaysGroup/OtherPublicHoliday/Description
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Description of the holiday. @xml:lang.
source
<xsd:element name="Description" type="NaturalLanguageStringStructure">
  <xsd:annotation>
    <xsd:documentation>Description of the holiday. @xml:lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

group 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 DayAndTimeAvailabilityStructure/DayTypes
annotation
documentation 
A pattern of specific weekdays.
source
<xsd:group name="DaysGroup">
  <xsd:annotation>
    <xsd:documentation>A pattern of specific weekdays.</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:sequence>
      <xsd:group ref="Days6Group"/>
      <xsd:element name="Sunday" type="EmptyType" minOccurs="0"/>
    </xsd:sequence>
    <xsd:element name="MondayToSunday" type="EmptyType" minOccurs="0"/>
    <xsd:element name="Weekend" type="EmptyType" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Only Saturday and Sunday</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
  </xsd:choice>
</xsd:group>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

element AnnotatedClosedDateRangeStructure/Note
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Description of range. @lang.
source
<xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Description of range. @lang.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

complexType BankHolidaysStructure
diagram
namespace http://www.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 DayAndTimeAvailabilityStructure/HolidayTypes
annotation
documentation 
A collection of specific bank holidays.
source
<xsd:complexType name="BankHolidaysStructure">
  <xsd:annotation>
    <xsd:documentation>A collection of specific bank holidays.</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:group ref="AllBankHolidaysGroup" minOccurs="0"/>
    <xsd:group ref="EarlyRunOffGroup" minOccurs="0"/>
  </xsd:sequence>
</xsd:complexType>

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

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

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

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

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

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

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

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

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

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

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

element DatePatternStructure/DateRange/Description
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Description of range. @lang
source
<xsd:element name="Description" type="NaturalLanguageStringStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Description of range. @lang</xsd:documentation>
  </xsd:annotation>
</xsd:element>

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

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

element DayAndTimeAvailabilityStructure/DayTypes
diagram
namespace http://www.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 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 DayAndTimeAvailabilityStructure/Season/Spring
diagram
namespace http://www.naptan.org.uk/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Spring" type="EmptyType" minOccurs="0"/>

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

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

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

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

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

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

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

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

complexType DaysOfOperationStructure
diagram
namespace http://www.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 DaysOfOperationStructure/Monday
diagram
namespace http://www.naptan.org.uk/
type EmptyType
properties
isRef 0
content simple
facets
enumeration 
source
<xsd:element name="Monday" type="EmptyType"/>

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

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

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

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

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

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

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

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

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

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

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

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

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

complexType 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 FrequencyStructure/ScheduledFrequency
diagram
namespace http://www.naptan.org.uk/
type 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 FrequencyStructure/MinimumFrequency
diagram
namespace http://www.naptan.org.uk/
type 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 FrequencyStructure/MaximumFrequency
diagram
namespace http://www.naptan.org.uk/
type 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 FrequencyStructure/Description
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
Description of the 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 HalfOpenDateRangeStructure
diagram
namespace http://www.naptan.org.uk/
children StartDate EndDate
used by
element 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 HalfOpenDateRangeStructure/StartDate
diagram
namespace http://www.naptan.org.uk/
type StartDateType
properties
isRef 0
content simple
annotation
documentation 
The (inclusive) start date.
source
<xsd:element name="StartDate" type="StartDateType">
  <xsd:annotation>
    <xsd:documentation>The (inclusive) start date.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

element HalfOpenDateRangeStructure/EndDate
diagram
namespace http://www.naptan.org.uk/
type 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 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 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 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 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 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 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 OpenDateRangeStructure
diagram
namespace http://www.naptan.org.uk/
children StartDate EndDate
used by
element 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 OpenDateRangeStructure/StartDate
diagram
namespace http://www.naptan.org.uk/
type 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 OpenDateRangeStructure/EndDate
diagram
namespace http://www.naptan.org.uk/
type 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 DateType
namespace http://www.naptan.org.uk/
type xsd:date
used by
elements DateCollectionStructure/Date AllBankHolidaysGroup/OtherPublicHoliday/Date 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 DayTimeDurationType
namespace http://www.naptan.org.uk/
type restriction of xsd:duration
used by
elements DayFrequencyStructure/MaximumFrequency DayFrequencyStructure/MinimumFrequency 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 DurationType
namespace http://www.naptan.org.uk/
type restriction of xsd:duration
used by
elements BusStopClassificationGroup/MarkedPoint/DefaultWaitTime FrequencyStructure/MaximumFrequency FrequencyStructure/MinimumFrequency 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 EndDateType
namespace http://www.naptan.org.uk/
type xsd:date
used by
elements OpenDateRangeStructure/EndDate HalfOpenDateRangeStructure/EndDate ClosedDateRangeStructure/EndDate 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 StartDateType
namespace http://www.naptan.org.uk/
type xsd:date
used by
elements OpenDateRangeStructure/StartDate HalfOpenDateRangeStructure/StartDate ClosedDateRangeStructure/StartDate 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 LocationSystem
diagram
namespace http://www.naptan.org.uk/
type 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 GridGroup
diagram
namespace http://www.naptan.org.uk/
children GridType Easting Northing
used by
element LocationStructure/Translation
complexType 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 GridGroup/GridType
diagram
namespace http://www.naptan.org.uk/
type 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 GridGroup/Easting
diagram
namespace http://www.naptan.org.uk/
type 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 GridGroup/Northing
diagram
namespace http://www.naptan.org.uk/
type 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 WgsGroup
diagram
namespace http://www.naptan.org.uk/
children Longitude Latitude
used by
element LocationStructure/Translation
complexType 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 WgsGroup/Longitude
diagram
namespace http://www.naptan.org.uk/
type 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 WgsGroup/Latitude
diagram
namespace http://www.naptan.org.uk/
type 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 BearingStructure
diagram
namespace http://www.naptan.org.uk/
children CompassPoint Degrees
used by
elements HailAndRideSectionStructure/Bearing BusStopClassificationGroup/MarkedPoint/Bearing 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 BearingStructure/CompassPoint
diagram
namespace http://www.naptan.org.uk/
type 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 BearingStructure/Degrees
diagram
namespace http://www.naptan.org.uk/
type 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 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 BoundingBoxStructure/UpperCorner
diagram
namespace http://www.naptan.org.uk/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
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 BoundingBoxStructure/LowerCorner
diagram
namespace http://www.naptan.org.uk/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
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 GridPositionStructure
diagram
namespace http://www.naptan.org.uk/
children GridType Easting Northing
used by
element 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 GridPositionStructure/GridType
diagram
namespace http://www.naptan.org.uk/
type 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 GridPositionStructure/Easting
diagram
namespace http://www.naptan.org.uk/
type 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 GridPositionStructure/Northing
diagram
namespace http://www.naptan.org.uk/
type 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 LineStringStructure
diagram
namespace http://www.naptan.org.uk/
children Location
used by
element 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 LineStringStructure/Location
diagram
namespace http://www.naptan.org.uk/
type LocationStructure
properties
isRef 0
content complex
children GridType Easting Northing Longitude Latitude Translation
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  PrecisionEnumerationoptional  1km    
documentation 
Precision of geocoding
id  xsd:NMTOKENoptional      
annotation
documentation 
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 LocationStructure
diagram
namespace http://www.naptan.org.uk/
children GridType Easting Northing Longitude Latitude Translation
used by
elements HailAndRideSectionStructure/EndPoint AdjacentRegionStructure/Location AnnotatedFerryRefStructure/Location AnnotatedRailRefStructure/Location AnnotatedMetroRefStructure/Location AnnotatedCoachRefStructure/Location StopPointStructure/Place/Location FlexibleZoneStructure/Location StopAreaStructure/Location LineStringStructure/Location BoundingBoxStructure/LowerCorner HailAndRideSectionStructure/StartPoint BoundingBoxStructure/UpperCorner
attributes
Name  Type  Use  Default  Fixed  Annotation
Precision  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 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 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 MapStructure/Mapping
diagram
namespace http://www.naptan.org.uk/
type 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 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 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  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 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 WGS84PositionStructure/Longitude
diagram
namespace http://www.naptan.org.uk/
type 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 WGS84PositionStructure/Latitude
diagram
namespace http://www.naptan.org.uk/
type 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 AbsoluteBearingType
namespace http://www.naptan.org.uk/
type restriction of xsd:nonNegativeInteger
used by
element 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 CompassBearingEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element 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 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 EastingType
namespace http://www.naptan.org.uk/
type restriction of xsd:nonNegativeInteger
used by
elements GridPositionStructure/Easting 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 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 LatitudeType
namespace http://www.naptan.org.uk/
type restriction of xsd:decimal
used by
elements WGS84PositionStructure/Latitude 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 LocationGridTypeEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
elements GridPositionStructure/GridType 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 LocationSystemEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element LocationSystem
attribute NptgDiscovery/@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 LongitudeType
namespace http://www.naptan.org.uk/
type restriction of xsd:decimal
used by
elements WGS84PositionStructure/Longitude 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 MappingSystemEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attribute 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 NorthingType
namespace http://www.naptan.org.uk/
type restriction of xsd:nonNegativeInteger
used by
elements GridPositionStructure/Northing 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 PrecisionEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attribute 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 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 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 OperatorRefsStructure/OperatorRef
diagram
namespace http://www.naptan.org.uk/
type 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 OperatorRefStructure
diagram
namespace http://www.naptan.org.uk/
type extension of OperatorCodeType
properties
base OperatorCodeType
used by
element 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 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 OperatorCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
complexType 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 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 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 ModesStructure/Mode
diagram
namespace http://www.naptan.org.uk/
type 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 AllModesEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
element 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 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 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 ModificationEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attributes RequiredModificationDetailsGroup/@Modification ModificationDetailsGroup/@Modification 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 RevisionNumberType
namespace http://www.naptan.org.uk/
type xsd:nonNegativeInteger
used by
attributes RequiredModificationDetailsGroup/@RevisionNumber ModificationDetailsGroup/@RevisionNumber 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 StatusEnumeration
namespace http://www.naptan.org.uk/
type restriction of xsd:NMTOKEN
used by
attributes RequiredModificationDetailsGroup/@Status 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 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 DocumentModificationDetailsGroup
namespace http://www.naptan.org.uk/
used by
element NptgDiscovery
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimerequired      
Modification  ModificationEnumerationrequired      
RevisionNumber  RevisionNumberTyperequired      
FileName  xsd:stringrequired      
documentation 
The name of the file containing the instance document.
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 ModificationDetailsGroup
namespace http://www.naptan.org.uk/
used by
elements CallCentreStructure/Availability/Open StopValidityStructure/StopValidity
complexTypes AdjacentRegionStructure AdministrativeAreaVersionedRefStructure AnnotatedAirRefStructure AnnotatedCoachRefStructure AnnotatedFerryRefStructure AnnotatedMetroRefStructure AnnotatedRailRefStructure CallCentreStructure FlexibleZoneStructure HailAndRideSectionStructure NptgLocalityVersionedRefStructure PlusbusZoneVersionedRefStructure RegionVersionedRefStructure StopAreaVersionedRefStructure StopPointVersionedRefStructure TrustedServerStructure WebApplicationStructure
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimeoptional      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  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 RequiredModificationDetailsGroup
namespace http://www.naptan.org.uk/
used by
element StopPointStructure/AlternativeDescriptors/Descriptor
complexTypes StopAreaStructure StopPointStructure
attributes
Name  Type  Use  Default  Fixed  Annotation
CreationDateTime  xsd:dateTimerequired      
ModificationDateTime  xsd:dateTimeoptional      
Modification  ModificationEnumerationoptional  new    
RevisionNumber  RevisionNumberTypeoptional      
Status  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 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 FullPersonNameStructure/Position
diagram
namespace http://www.naptan.org.uk/
type NaturalLanguageStringStructure
properties
isRef 0
content complex
facets
minLength 1
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang        
documentation 
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.
annotation
documentation 
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 FullPersonNameStructure/Title
diagram
namespace http://www.naptan.org.uk/
type 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 FullPersonNameStructure/Forename
diagram
namespace http://www.naptan.org.uk/
type 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 FullPersonNameStructure/Surname
diagram
namespace http://www.naptan.org.uk/
type 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 NaturalLanguagePlaceNameStructure
diagram
namespace http://www.naptan.org.uk/
type extension of PopulatedPlaceNameType
properties
base PopulatedPlaceNameType
used by
elements DescriptorStructure/CommonName DescriptorStructure/Crossing AnnotatedStopPointRefStructure/Indicator DescriptorStructure/Indicator DescriptorStructure/Landmark StopAreaStructure/Name DescriptorStructure/ShortCommonName DescriptorStructure/Street StopPointStructure/Place/Suburb 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 NaturalLanguageStringStructure
diagram
namespace http://www.naptan.org.uk/
type extension of PopulatedStringType
properties
base PopulatedStringType
used by
elements AnnotatedStopPointRefStructure/CommonName AllBankHolidaysGroup/OtherPublicHoliday/Description FrequencyStructure/Description DatePatternStructure/DateRange/Description AnnotatedStopPointRefStructure/LocalityName AnnotatedStopPointRefStructure/LocalityQualifier AnnotatedCoachRefStructure/LongName AnnotatedCoachRefStructure/Name AnnotatedMetroRefStructure/Name AnnotatedFerryRefStructure/Name AnnotatedAirRefStructure/Name CallCentreStructure/Name StopValidityStructure/StopValidity/Note AnnotatedClosedDateRangeStructure/Note CallCentreStructure/Availability/Note StopPointStructure/Notes CallCentreStructure/Notes FullPersonNameStructure/Position 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 TelephoneContactStructure
diagram
namespace http://www.naptan.org.uk/
children TelNationalNumber TelExtensionNumber TelCountryCode
used by
elements CallCentreStructure/DirectTelephone CallCentreStructure/PublicTelephone
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 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 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 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 EmailAddressType
namespace http://www.naptan.org.uk/
type EmailAddressType
used by
element CallCentreStructure/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 EmptyType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
elements StopClassificationStructure/OffStreet/Air/AccessArea StopClassificationStructure/OffStreet/Ferry/AccessArea StopClassificationStructure/OffStreet/Rail/AccessArea StopClassificationStructure/OffStreet/BusAndCoach/AccessArea StopClassificationStructure/OffStreet/Metro/AccessArea StopValidityStructure/StopValidity/Active AllBankHolidaysGroup/AllBankHolidays AllBankHolidaysGroup/AllHolidaysExceptChristmas HolidayMondaysGroup/AugustBankHolidayScotland DayAndTimeAvailabilityStructure/Season/Autumn DaysOfOperationStructure/BankHoliday StopClassificationStructure/OffStreet/Ferry/Berth ChristmasGroup/BoxingDay DisplacementHolidaysGroup/BoxingDayHoliday ChristmasGroup/Christmas ChristmasGroup/ChristmasDay DisplacementHolidaysGroup/ChristmasDayHoliday EarlyRunOffGroup/ChristmasEve DisplacementHolidaysGroup/DisplacementHolidays EarlyRunOffGroup/EarlyRunOffDays HolidayMondaysGroup/EasterMonday StopClassificationStructure/OffStreet/BusAndCoach/Entrance StopClassificationStructure/OffStreet/Metro/Entrance StopClassificationStructure/OffStreet/Rail/Entrance StopClassificationStructure/OffStreet/Ferry/Entrance StopClassificationStructure/OffStreet/Air/Entrance DaysOfOperationStructure/Friday Days5Group/Friday AllBankHolidaysGroup/GoodFriday HolidayMondaysGroup/HolidayMondays AllBankHolidaysGroup/Jan2ndScotland HolidayMondaysGroup/LateSummerBankHolidayNotScotland HolidayMondaysGroup/MayDay Days5Group/Monday DaysOfOperationStructure/Monday DaysOfOperationStructure/MondayToFriday Days5Group/MondayToFriday DaysOfOperationStructure/MondayToSaturday Days5NotGroup/MondayToSaturday DaysOfOperationStructure/MondayToSunday DaysGroup/MondayToSunday AllBankHolidaysGroup/NewYearsDay DisplacementHolidaysGroup/NewYearsDayHoliday EarlyRunOffGroup/NewYearsEve DaysOfOperationStructure/NotBankHoliday Days5NotGroup/NotFriday Days5NotGroup/NotMonday Days5NotGroup/NotSaturday DaysOfOperationStructure/NotSchoolHoliday Days5NotGroup/NotThursday Days5NotGroup/NotTuesday Days5NotGroup/NotWednesday StopClassificationStructure/OffStreet/Metro/Platform StopClassificationStructure/OffStreet/Rail/Platform Days6Group/Saturday DaysOfOperationStructure/Saturday DaysOfOperationStructure/SchoolHoliday StopClassificationStructure/OnStreet/Taxi/SharedTaxiRank DayAndTimeAvailabilityStructure/Season/Spring HolidayMondaysGroup/SpringBank DayAndTimeAvailabilityStructure/Season/Summer DaysOfOperationStructure/Sunday DaysGroup/Sunday StopValidityStructure/StopValidity/Suspended StopClassificationStructure/OnStreet/Taxi/TaxiRank DaysOfOperationStructure/Thursday Days5Group/Thursday DaysOfOperationStructure/Tuesday Days5Group/Tuesday DailyOpeningHoursStructure/TwentyFourHours DailyOpeningHoursStructure/Unavailable DaysOfOperationStructure/Wednesday Days5Group/Wednesday DaysGroup/Weekend 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 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 IpAddressType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
elements TrustedServerStructure/IpAddressRange/FirstIp TrustedServerStructure/IpAddressRange/LastIp
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 PopulatedPlaceNameType
namespace http://www.naptan.org.uk/
type restriction of PopulatedStringType
used by
complexType 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 PopulatedStringType
namespace http://www.naptan.org.uk/
type restriction of xsd:string
used by
elements WebApplicationStructure/Description TrustedServerStructure/Description FullPersonNameStructure/Forename FullPersonNameStructure/Surname FullPersonNameStructure/Title
complexType NaturalLanguageStringStructure
simpleType 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 PrivateCodeType
namespace http://www.naptan.org.uk/
type xsd:NMTOKEN
used by
elements StopAreaStructure/PrivateCode 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 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 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 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 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