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.govtalk.gov.uk/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