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"