Skip to content

Commit

Permalink
redo
Browse files Browse the repository at this point in the history
  • Loading branch information
ue71603 committed Mar 27, 2024
1 parent a4d1bdf commit 4c9be56
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<?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" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" id="netex_spotAffinity_support">
<!-- ======================================================================= -->
<xsd:include schemaLocation="../netex_responsibility/netex_relationship.xsd"/>
<xsd:annotation>
<xsd:appinfo>
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
<Aggregation>main schema</Aggregation>
<Audience>e-service developers</Audience>
<Contributor>V1.0 Nicholas Knowles</Contributor>
<Coverage>Europe</Coverage>
<Creator>First drafted for NeTEx version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles. mailto:[email protected]</Creator>
<Date>
<Created>2024-03-01</Created>Create from TM Spec
</Date>
<Date>
<Modified>2024-03-01</Modified>
</Date>
<Description>
<p>NeTEx is a European CEN standard for the exchange of Public Transport data including timetables.</p>
<p>This sub-schema describes the SPOT AFFINITY identifier types.</p>
</Description>
<Format>
<MediaType>text/xml</MediaType>
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
<Description>XML schema, W3C Recommendation 2001</Description>
</Format>
<Identifier>{http://www.netex.org.uk/schemas/1.0/xsd/netex_framework/netex_reusableComponents}netex_spotAffinity_support.xsd</Identifier>
<Language>[ISO 639-2/B] ENG</Language>
<Publisher>Kizoom Software Ltd, 16 High Holborn, London WC1V 6BX </Publisher>
<Relation>
<Requires>http://www.netex.org.uk/schemas/1.0/PATH/netex_prereqfile.xsd</Requires>
</Relation>
<Rights> Unclassified
<Copyright>CEN, Crown Copyright 2022-2024</Copyright>
</Rights>
<Source>
<ul>
<li>Derived from the Transmodel standards.</li>
</ul>
</Source>
<Status>Version 1.0</Status>
<Subject>
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport, Airports,
Ports and maritime transport, Ferries (marine),
Public transport, Bus services, Coach
services, Bus stops and stations,
Rail transport, Railway stations and track, Train services, Underground trains,
Business and industry, Transport, Air transport , Ports and maritime
transport, Public transport,
Rail transport, Roads and Road transport
</Category>
<Project>CEN TC278 WG3 SG9.</Project>
</Subject>
<Title>NeTEx SPOT AFFINITY types.</Title>
<Type>Standard</Type>
</Metadata>
</xsd:appinfo>
<xsd:documentation>NeTEx: SPOT AFFINITY identifier types</xsd:documentation>
</xsd:annotation>
<!-- ===== SPOT AFFINITY======================================================== -->
<xsd:simpleType name="SpotAffinityIdType">
<xsd:annotation>
<xsd:documentation>Type for identifier of a SPOT AFFINITY.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="ObjectIdType"/>
</xsd:simpleType>
<xsd:element name="SpotAffinityRef" type="SpotAffinityRefStructure" abstract="false" substitutionGroup="VersionOfObjectRef">
<xsd:annotation>
<xsd:documentation>Reference to a SPOT AFFINITY. +v2.0</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="SpotAffinityRefStructure">
<xsd:annotation>
<xsd:documentation>Type for a reference to a SPOT AFFINITY.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:restriction base="VersionOfObjectRefStructure">
<xsd:attribute name="ref" type="SpotAffinityIdType" use="required">
<xsd:annotation>
<xsd:documentation>Identifier of referenced entity.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
<!-- ======================================================================= -->
<xsd:simpleType name="SpotAffinityTypeEnumeration">
<xsd:annotation>
<xsd:documentation>Allowed values for SpotAffinityType</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:normalizedString">
<xsd:enumeration value="faceToFace">
<xsd:annotation>
<xsd:documentation>Spot is facing another spot in the affinity.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="sideBySide">
<xsd:annotation>
<xsd:documentation>Spot is next to another spot in the affinity.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="contiguousRow">
<xsd:annotation>
<xsd:documentation>Spot is in a contigous row making up the spots in the affinity.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="sharedTable">
<xsd:annotation>
<xsd:documentation>Spot is around a table.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="seatBlock">
<xsd:annotation>
<xsd:documentation>Spot is around a table.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="lowerBerths">
<xsd:annotation>
<xsd:documentation>Spot is in alower berth adjacent to another lower berth..</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="sharedCompartment">
<xsd:annotation>
<xsd:documentation>Spot is in teh ame compartment as another spota .</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="wheelchairCompanionSeat">
<xsd:annotation>
<xsd:documentation>Spot is a companion seat beside a wheelchair space .</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="other">
<xsd:annotation>
<xsd:documentation>OtherAFfinity.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<!-- ======================================================================= -->
</xsd:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?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" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0" id="netex_sspotAffinity_version">
<xsd:include schemaLocation="netex_spotAffinity_support.xsd"/>
<xsd:include schemaLocation="netex_seatingPlan_support.xsd"/>
<xsd:include schemaLocation="../netex_responsibility/netex_responsibility_version.xsd"/>
<!-- ======================================================================= -->
<xsd:annotation>
<xsd:appinfo>
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
<Aggregation>main schema</Aggregation>
<Audience>e-service developers</Audience>
<Contributor>V1.0 Nicholas Knowles</Contributor>
<Coverage>Europe</Coverage>
<Creator>First drafted for NeTEx version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles. mailto:[email protected]</Creator>
<Date>
<Created>2023-03-01</Created>
</Date>
<Date>
<Modified>2024-02-18</Modified>Norway review comment - Revise AIsle /Window to use enumeration. Add TableType enum.
</Date>
<Description>
<p>NeTEx is a European CEN standard for the exchange of Public Transport data including timetables.</p>
<p>This sub-schema describes the SPOT AFFINITY types.</p>
</Description>
<Format>
<MediaType>text/xml</MediaType>
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
<Description>XML schema, W3C Recommendation 2001</Description>
</Format>
<Identifier>{http://www.netex.org.uk/schemas/1.0/xsd/netex_framework/netex_reusableComponents}netex_spotffinity_version.xsd</Identifier>
<Language>[ISO 639-2/B] ENG</Language>
<Publisher>Kizoom Software Ltd, 16 High Holborn, London WC1V 6BX </Publisher>
<Relation>
<Requires>http://www.netex.org.uk/schemas/1.0/PATH/netex_prereqfile.xsd</Requires>
</Relation>
<Rights>Unclassified
<Copyright>CEN, Crown Copyright 2022-2024</Copyright>
</Rights>
<Source>
<ul>
<li>Derived from the Transmodel, standards.</li>
</ul>
</Source>
<Status>Version 1.0</Status>
<Subject>
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport, Airports,
Ports and maritime transport, Ferries (marine),
Public transport, Bus services, Coach
services, Bus stops and stations,
Rail transport, Railway stations and track, Train services, Underground trains,
Business and industry, Transport, Air transport , Ports and maritime
transport, Public transport,
Rail transport, Roads and Road transport
</Category>
<Project>CEN TC278 WG3 SG9.</Project>
</Subject>
<Title>NeTEx SPOT AFFINITY types.</Title>
<Type>Standard</Type>
</Metadata>
</xsd:appinfo>
<xsd:documentation>NeTEx: SPOT AFFINITY types.</xsd:documentation>
</xsd:annotation>
<!-- ==== SPOT AFFINITY ======================================================= -->
<xsd:complexType name="spotAffinities_RelStructure">
<xsd:annotation>
<xsd:documentation>Type for a list of SPOT AFFINITies</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="containmentAggregationStructure">
<xsd:sequence>
<xsd:element ref="SpotAffinity" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SpotAffinity" type="SpotAffinity_VersionStructure" abstract="false" substitutionGroup="DataManagedObject">
<xsd:annotation>
<xsd:documentation>A group of proximate seats suitable for selection for use by a group of travellers, for example, as being side by side, face to face, around a table, near a wheelchair spot, etc.
+v2.0</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="SpotAffinity_VersionStructure" abstract="false">
<xsd:annotation>
<xsd:documentation>Type for a SPOT AFFINITY.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="DataManagedObjectStructure">
<xsd:sequence>
<xsd:group ref="SpotAffinityGroup">
<xsd:annotation>
<xsd:documentation>Elements for a SPOT AFFINITY.</xsd:documentation>
</xsd:annotation>
</xsd:group>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="SpotAffinityGroup">
<xsd:annotation>
<xsd:documentation>Elements for an SPOT AFFINITY.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Name" type="MultilingualString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Name of SPOT AFFINITY..</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="MultilingualString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Description of SPOT AFFINITY.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SpotAffinityType" type="SpotAffinityTypeEnumeration" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Type of SPotAFfinity</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MaximumSpots" type="xsd:nonNegativeInteger" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Maximum number of spots in affinity</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="members" type="locatableSpotRefs_RelStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>:ocatable SPOTs for element.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ======================================================================= -->
</xsd:schema>

0 comments on commit 4c9be56

Please sign in to comment.