Skip to content

Commit

Permalink
reorder to avoid forward referencing
Browse files Browse the repository at this point in the history
  • Loading branch information
ue71603 committed Sep 30, 2024
1 parent 7894de3 commit e7b7e39
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<xsd:include schemaLocation="../netex_responsibility/netex_relationship.xsd"/>
<xsd:include schemaLocation="../netex_genericFramework/netex_assignment_version.xsd"/>
<xsd:include schemaLocation="../netex_reusableComponents/netex_availabilityCondition_version.xsd"/>
<xsd:include schemaLocation="../../netex_part_1/part1_tacticalPlanning/netex_servicePattern_support.xsd"/>
<xsd:include schemaLocation="../../netex_part_2/part2_journeyTimes/netex_call_support.xsd"/>

<xsd:annotation>
<xsd:appinfo>
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
Expand Down Expand Up @@ -882,31 +881,6 @@ Rail transport, Roads and Road transport
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="RestrictedServiceFacilitySetRef" type="RestrictedServiceFacilitySetRefStructure">
<xsd:annotation>
<xsd:documentation>Reference to a restricted SERVICE FACILITY SET. The restriction can be an AvailabiltyCondition and/or a from - to relation. +V2.0</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="RestrictedServiceFacilitySetRefStructure">
<xsd:annotation>
<xsd:documentation>Reference to a restricted SERVICE FACILITY SET. The restriction can be an AvailabiltyCondition and/or a from - to relation. +V2.0</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="ServiceFacilitySetRef"/>
<xsd:choice minOccurs="0">
<xsd:sequence>
<xsd:element name="FromCall" type="CallRefStructure"/>
<xsd:element name="ToCall" type="CallRefStructure"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="FromStopPointInJourneyPattern" type="StopPointInJourneyPatternRefStructure"/>
<xsd:element name="ToStopPointInJourneyPattern" type="StopPointInJourneyPatternRefStructure"/>
</xsd:sequence>
</xsd:choice>
<xsd:element ref="AvailabilityConditionRef" minOccurs="0">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ==== ===================================================== -->
<xsd:simpleType name="AccommodationIdType">
<xsd:annotation>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.netex.org.uk/netex" xmlns:netex="http://www.netex.org.uk/netex" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ifopt="http://www.ifopt.org.uk/ifopt" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" id="netex_journey_facility_support">
<xsd:include schemaLocation="../../netex_framework/netex_reusableComponents/netex_facility_support.xsd"/>
<xsd:include schemaLocation="../../netex_part_1/part1_tacticalPlanning/netex_servicePattern_support.xsd"/>
<xsd:include schemaLocation="../../netex_part_2/part2_journeyTimes/netex_call_support.xsd"/>

<xsd:complexType name="RestrictedServiceFacilitySetRefStructure">
<xsd:annotation>
<xsd:documentation>Reference to a restricted SERVICE FACILITY SET. The restriction can be an AvailabiltyCondition and/or a from - to relation. +V2.0</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="ServiceFacilitySetRef"/>
<xsd:choice minOccurs="0">
<xsd:sequence>
<xsd:element name="FromCall" type="CallRefStructure"/>
<xsd:element name="ToCall" type="CallRefStructure"/>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="FromStopPointInJourneyPattern" type="StopPointInJourneyPatternRefStructure"/>
<xsd:element name="ToStopPointInJourneyPattern" type="StopPointInJourneyPatternRefStructure"/>
</xsd:sequence>
</xsd:choice>
<xsd:element ref="AvailabilityConditionRef" minOccurs="0">
</xsd:element>
</xsd:sequence>
</xsd:complexType>

</xsd:schema>

0 comments on commit e7b7e39

Please sign in to comment.