<?xml version="1.0" encoding="UTF-8"?>
<!-- working header information
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
				xmlns:au="urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0" 
				xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/1.0" 
				xmlns:gml="http://www.opengis.net/gml/3.2" 
				xmlns:gmlexr="http://www.opengis.net/gml/3.3/exr" 
				xmlns:gmlxbt="http://www.opengis.net/gml/3.3/xbt" 
				xmlns:highway="http://namespaces.os.uk/mastermap/highwayNetwork/1.0" 
				xmlns:names="http://namespaces.os.uk/open/names/1.0/" 
				xmlns:net="urn:x-inspire:specification:gmlas:Network:3.2" 
				xmlns:tn="urn:x-inspire:specification:gmlas:CommonTransportElements:3.0" 
				xmlns:tn-ro="urn:x-inspire:specification:gmlas:RoadTransportNetwork:3.0" 
				xmlns:am="http://inspire.ec.europa.eu/schemas/am/3.0" 
				xmlns:su-core="http://inspire.ec.europa.eu/schemas/su-core/3.0" 
				targetNamespace="http://namespaces.os.uk/mastermap/highwayNetwork/1.0" elementFormDefault="qualified" version="1.0rc1">
	<import namespace="http://inspire.ec.europa.eu/schemas/base2/1.0" schemaLocation="./inspire/base2/1.0/BaseTypes2.xsd"/>
	<import namespace="http://inspire.ec.europa.eu/schemas/am/3.0" schemaLocation="./inspire/am/3.0/AreaManagementRestrictionRegulationZone.xsd"/>
	<import namespace="http://inspire.ec.europa.eu/schemas/su-core/3.0" schemaLocation="./inspire/su-core/3.0/StatisticalUnitCore.xsd"/>
	<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="./gml/3.2.1/gml.xsd"/>
	<import namespace="http://www.opengis.net/gml/3.3/exr" schemaLocation="./gml/3.3/extdEncRule.xsd"/>
	<import namespace="http://www.opengis.net/gml/3.3/xbt" schemaLocation="./gml/3.3/extdBaseTypes.xsd"/>
	<import namespace="urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0" schemaLocation="./inspire/au/3.0/AdministrativeUnits.xsd"/>
	<import namespace="urn:x-inspire:specification:gmlas:CommonTransportElements:3.0" schemaLocation="./inspire/tn/3.0/CommonTransportElements.xsd"/>
	<import namespace="urn:x-inspire:specification:gmlas:Network:3.2" schemaLocation="./inspire/net/3.2/Network.xsd"/>
	<import namespace="urn:x-inspire:specification:gmlas:RoadTransportNetwork:3.0" schemaLocation="./inspire/tn-ro/3.0/RoadTransportNetwork.xsd"/>
	<import namespace="http://namespaces.os.uk/open/names/1.0/" schemaLocation="os/OSOpenNames.xsd"/>
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
				xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/2.0" 
				xmlns:gml="http://www.opengis.net/gml/3.2" 
				xmlns:gmlexr="http://www.opengis.net/gml/3.3/exr" 
				xmlns:gmlxbt="http://www.opengis.net/gml/3.3/xbt" 
				xmlns:highway="http://namespaces.os.uk/mastermap/highwayNetwork/1.0" 
				xmlns:names="http://namespaces.os.uk/open/names/1.0/" 
				xmlns:net="http://inspire.ec.europa.eu/schemas/net/4.0"
				xmlns:tn="http://inspire.ec.europa.eu/schemas/tn/4.0" 
				xmlns:tn-ro="http://inspire.ec.europa.eu/schemas/tn-ro/4.0" 
				xmlns:am="http://inspire.ec.europa.eu/schemas/am/4.0" 
				xmlns:su-core="http://inspire.ec.europa.eu/schemas/su-core/4.0" 
elementFormDefault="qualified" targetNamespace="http://namespaces.os.uk/mastermap/highwayNetwork/1.0" version="1.0rc2">
			  <import namespace="http://inspire.ec.europa.eu/schemas/base2/2.0" schemaLocation="http://inspire.ec.europa.eu/schemas/base2/2.0/BaseTypes2.xsd"/>
			<import namespace="http://inspire.ec.europa.eu/schemas/am/4.0" schemaLocation="http://inspire.ec.europa.eu/schemas/am/4.0/AreaManagementRestrictionRegulationZone.xsd"/>
			  <import namespace="http://inspire.ec.europa.eu/schemas/su-core/4.0" schemaLocation="http://inspire.ec.europa.eu/schemas/su-core/4.0/StatisticalUnitCore.xsd"/>
			  <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
			  <import namespace="http://www.opengis.net/gml/3.3/exr" schemaLocation="http://schemas.opengis.net/gml/3.3/extdEncRule.xsd"/>
			  <import namespace="http://www.opengis.net/gml/3.3/xbt" schemaLocation="http://schemas.opengis.net/gml/3.3/extdBaseTypes.xsd"/>
			 <import namespace="http://inspire.ec.europa.eu/schemas/tn/4.0" schemaLocation="http://inspire.ec.europa.eu/schemas/tn/4.0/CommonTransportElements.xsd"/>
			  <import namespace="http://inspire.ec.europa.eu/schemas/net/4.0" schemaLocation="http://inspire.ec.europa.eu/schemas/net/4.0/Network.xsd"/>
			  <import namespace="http://inspire.ec.europa.eu/schemas/tn-ro/4.0" schemaLocation="http://inspire.ec.europa.eu/schemas/tn-ro/4.0/RoadTransportNetwork.xsd"/>
			<import namespace="http://namespaces.os.uk/open/names/1.0/" schemaLocation="https://www.ordnancesurvey.co.uk/xml/open/names/1.0/OSOpenNames.xsd"/>
  <!--XML Schema document created by ShapeChange - http://shapechange.net/-->
   <element name="Street" substitutionGroup="highway:Road" type="highway:StreetType"/>
  <complexType name="StreetType">
    <complexContent>
      <extension base="highway:RoadType">
        <sequence>
          <element name="streetType" type="gml:CodeType"/>
          <element minOccurs="0" name="operationalState" type="highway:OperationalStateTypePropertyType"/>
          <element maxOccurs="2" minOccurs="0" name="locality" type="gmlxbt:LanguageStringType"/>
          <element maxOccurs="2" minOccurs="0" name="town" type="gmlxbt:LanguageStringType"/>
          <element maxOccurs="2" name="administrativeArea" type="gmlxbt:LanguageStringType"/>
          <element name="responsibleAuthority" type="highway:ResponsibleAuthorityPropertyType"/>
          <element minOccurs="0" name="onsCode" type="su-core:StatisticalUnitPropertyType"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="StreetPropertyType">
    <sequence minOccurs="0">
      <element ref="highway:Street"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
  </complexType>
  <element name="RoadLink" substitutionGroup="tn-ro:RoadLink" type="highway:RoadLinkType"/>
  <complexType name="RoadLinkType">
    <complexContent>
      <extension base="tn-ro:RoadLinkType">
        <sequence>
          <element name="reasonForChange" type="gml:CodeType"/>
          <element name="roadClassification" type="gml:CodeType"/>
          <element name="routeHierarchy" type="gml:CodeType"/>
          <element name="formOfWay" type="gml:CodeType"/>
          <element name="trunkRoad" type="boolean"/>
          <element name="primaryRoute" type="boolean"/>
          <element minOccurs="0" name="roadClassificationNumber" type="string"/>
          <element maxOccurs="2" minOccurs="0" name="roadName" type="gmlxbt:LanguageStringType"/>
          <element maxOccurs="2" minOccurs="0" name="alternateName" type="gmlxbt:LanguageStringType"/>
          <element default="Open" name="operationalState" type="gml:CodeType"/>
          <element name="provenance" type="gml:CodeType"/>
          <element name="directionality" type="gml:ReferenceType">
            <annotation>
              <appinfo>
                <targetCodeList xmlns="http://www.opengis.net/gml/3.3/exr">LinkDirectionValue</targetCodeList>
              </appinfo>
            </annotation>
          </element>
          <element name="length" type="gml:MeasureType"/>
          <element name="matchStatus" type="gml:CodeType"/>
          <element maxOccurs="unbounded" minOccurs="0" name="alternateIdentifier" type="base2:ThematicIdentifierPropertyType"/>
          <element name="startGradeSeparation" type="integer"/>
          <element name="endGradeSeparation" type="integer"/>
          <element minOccurs="0" name="roadStructure" type="gml:CodeType"/>
          <element maxOccurs="unbounded" minOccurs="0" name="formsPartOf" type="tn:TransportLinkSetPropertyType"/>
          <element maxOccurs="unbounded" name="relatedRoadArea" type="tn-ro:RoadAreaPropertyType"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="RoadLinkPropertyType">
    <sequence minOccurs="0">
      <element ref="highway:RoadLink"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
  </complexType>
  <element name="Road" substitutionGroup="tn-ro:Road" type="highway:RoadType"/>
  <complexType name="RoadType">
    <complexContent>
      <extension base="tn-ro:RoadType">
        <sequence>
          <element minOccurs="0" name="roadClassification" type="gml:CodeType"/>
          <element maxOccurs="2" minOccurs="0" name="designatedName" type="highway:DesignatedNameTypePropertyType"/>
          <element maxOccurs="2" minOccurs="0" name="localName" type="gmlxbt:LanguageStringType"/>
          <element maxOccurs="2" minOccurs="0" name="descriptor" type="gmlxbt:LanguageStringType"/>
          <element name="reasonForChange" type="gml:CodeType"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="RoadPropertyType">
    <sequence minOccurs="0">
      <element ref="highway:Road"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
  </complexType>
  <element name="RoadNode" substitutionGroup="tn-ro:RoadNode" type="highway:RoadNodeType"/>
  <complexType name="RoadNodeType">
    <complexContent>
      <extension base="tn-ro:RoadNodeType">
        <sequence>
          <element minOccurs="0" name="classification" type="gml:CodeType"/>
          <element minOccurs="0" name="access" type="gml:CodeType"/>
          <element maxOccurs="2" minOccurs="0" name="junctionNumber" type="string"/>
          <element maxOccurs="2" minOccurs="0" name="junctionName" type="gmlxbt:LanguageStringType"/>
          <element name="reasonForChange" type="gml:CodeType"/>
          <element maxOccurs="unbounded" name="relatedRoadArea" type="tn-ro:RoadAreaPropertyType"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="RoadNodePropertyType">
    <sequence minOccurs="0">
      <element ref="highway:RoadNode"/>
    </sequence>
    <attributeGroup ref="gml:AssociationAttributeGroup"/>
    <attributeGroup ref="gml:OwnershipAttributeGroup"/>
  </complexType>
  <element name="DesignatedNameType" substitutionGroup="gml:AbstractObject" type="highway:DesignatedNameTypeType"/>
  <complexType name="DesignatedNameTypeType">
    <sequence>
      <element name="name" type="gmlxbt:LanguageStringType"/>
      <element name="namingAuthority" type="highway:ResponsibleAuthorityPropertyType"/>
    </sequence>
  </complexType>
  <complexType name="DesignatedNameTypePropertyType">
    <sequence>
      <element ref="highway:DesignatedNameType"/>
    </sequence>
  </complexType>
  <element name="OperationalStateType" substitutionGroup="gml:AbstractObject" type="highway:OperationalStateTypeType"/>
  <complexType name="OperationalStateTypeType">
    <sequence>
      <element name="state" type="gml:CodeType"/>
      <element minOccurs="0" name="validTime" type="gml:TimePeriodPropertyType"/>
      <element minOccurs="0" name="reason" type="string"/>
    </sequence>
  </complexType>
  <complexType name="OperationalStateTypePropertyType">
    <sequence>
      <element ref="highway:OperationalStateType"/>
    </sequence>
  </complexType>
  <element name="ResponsibleAuthority" substitutionGroup="gml:AbstractObject" type="highway:ResponsibleAuthorityType"/>
  <complexType name="ResponsibleAuthorityType">
    <sequence>
      <element name="identifier" type="string"/>
      <element name="authorityName" type="string"/>
    </sequence>
  </complexType>
  <complexType name="ResponsibleAuthorityPropertyType">
    <sequence>
      <element ref="highway:ResponsibleAuthority"/>
    </sequence>
  </complexType>
</schema>
