Skip to content

Commit 212a223

Browse files
committed
Add NeTEx next as resource, temporary for simple build
1 parent 5e92a3b commit 212a223

File tree

425 files changed

+154310
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

425 files changed

+154310
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ buildNumber.properties
1010
profile
1111
.idea
1212
*.iml
13-
src/main/resources/xsd/
13+
# src/main/resources/xsd/

src/main/resources/xsd/2.0/NX.xsd

Lines changed: 608 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xsd:schema xmlns="http://www.netex.org.uk/netex" xmlns:netex="http://www.netex.org.uk/netex" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.netex.org.uk/netex" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1" id="netex_publication">
3+
<!-- ===SIRI system IDs for request =========================================================== -->
4+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri/siri_base-v2.0.xsd"/>
5+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri_utility/siri_participant-v2.0.xsd"/>
6+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="siri/siri_requests-v2.0.xsd"/>
7+
<!-- ===Regular netex============================================================== -->
8+
<xsd:include schemaLocation="netex_service/netex_dataObjectRequest_service.xsd"/>
9+
<xsd:include schemaLocation="netex_service/netex_all.xsd"/>
10+
<!-- ===eGIF/GovTalk Documentation ======================================= -->
11+
<xsd:annotation>
12+
<xsd:appinfo>
13+
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
14+
<Aggregation>main schema</Aggregation>
15+
<Audience>e-service developers</Audience>
16+
<Contributor>CEN TC278 WG3 SG9 Team.</Contributor>
17+
<Coverage>Europe</Coverage>
18+
<Creator>First Drafted for NeTEx version 1.0 CEN TC278 WG3 SG9 Editor Nicholas Knowles.</Creator>
19+
<Date><Modified>2017-12-01</Modified>Change Version to V1.1
20+
</Date>
21+
<Date><Modified>2011-01-17</Modified>V0.94 <!-- Revised--></Date>
22+
<Date><Modified>2011-01-17</Modified>V0.94 <!-- Revised--></Date>
23+
<Date>
24+
<Created>2010-09-04</Created>
25+
<!-- Created from Siri.xsd -->
26+
</Date>
27+
<Description><p>netex Xml is an XML representation of the Transmodel model that can be used to exchange data objects between netex databases and other services.</p>.
28+
<p> The same netex Xml of netex data objects can be used both in fine grained protocols that exchange one or more objects at a time, such as the SIRI based netex Xml web service, and in bulk publication exchange formats used to exchange whole data sets. </p><p>This netex Publication exchange XML schema defines a bulk delivery format to exchange netex objects as an XML document. (It has no dependency on SIRI).
29+
<ul><li>For each data object type it describes an XML representation which can be used to exchange netex data.</li><li>It also describes filters to describe requests for publishing data. These can be used both to configure the publication, and to describe the contents of the published document, for example all Network Objects, or all current traffic events.</li><li>A particular use of the netex Publication Exchange format is to publish data from a NeTEx system: at regular intervals as an Xml document which can be transmitted to other systems by FTP or other communication transport means. </li></ul>
30+
</p></Description>
31+
<Format>
32+
<MediaType>text/xml</MediaType>
33+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
34+
<Description>XML schema, W3C Recommendation 2001</Description>
35+
</Format>
36+
<Identifier>{http://www.netex.org.uk/schemas/1.0/xsd}netex_publication.xsd</Identifier>
37+
<Language>[ISO 639-2/B] ENG</Language>
38+
<Publisher>Kizoom Software Ltd, 16 High Holborn, London WC1V 6BX </Publisher>
39+
<Relation>
40+
<Requires>http://www.netex.org.uk/schemas/1.0/netex_filters.xsd</Requires>
41+
<Requires>http://www.netex.org.uk/schemas/1.0/netex_all_objects.xsd</Requires>
42+
</Relation>
43+
<Rights>Unclassified
44+
<Copyright>CEN, Crown Copyright 2009-2014</Copyright>
45+
</Rights>
46+
<Source>
47+
<ul>
48+
<li>Created for NeTEx.</li>
49+
</ul>
50+
</Source>
51+
<Status>Version 1.0</Status>
52+
<Subject>
53+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
54+
Public transport, Bus services, Coach services,
55+
Business and industry, Transport, Public transport,
56+
Roads and Road transport.
57+
</Category>
58+
<Project>CEN TC278 WG3 SG9.</Project>
59+
</Subject>
60+
<Title>NeTEx XML schema. bulk Publication Interface for exchanging NeTEx data </Title>
61+
<Type>Standard</Type>
62+
</Metadata>
63+
</xsd:appinfo>
64+
<xsd:documentation> NeTEx PUBLICATION SCHEMA</xsd:documentation>
65+
</xsd:annotation>
66+
<!-- ======================================================================= -->
67+
<xsd:element name="ParticipantRef" type="siri:ParticipantCodeType">
68+
<xsd:annotation>
69+
<xsd:documentation>Identifier of system requesting Data.</xsd:documentation>
70+
</xsd:annotation>
71+
</xsd:element>
72+
<xsd:element name="PublicationRequest" type="PublicationRequestStructure">
73+
<xsd:annotation>
74+
<xsd:documentation>A bulk publication request for NeTEx objects specifying which elements should be returned. Can be echoed back in a publication response.</xsd:documentation>
75+
</xsd:annotation>
76+
</xsd:element>
77+
<xsd:complexType name="PublicationRequestStructure">
78+
<xsd:annotation>
79+
<xsd:documentation>Type for Publication Request.</xsd:documentation>
80+
</xsd:annotation>
81+
<xsd:sequence>
82+
<xsd:element name="RequestTimestamp" type="xsd:dateTime">
83+
<xsd:annotation>
84+
<xsd:documentation>Time of request.</xsd:documentation>
85+
</xsd:annotation>
86+
</xsd:element>
87+
<xsd:element ref="ParticipantRef" minOccurs="0"/>
88+
<xsd:element name="Description" type="MultilingualString" minOccurs="0"/>
89+
<xsd:element name="topics" minOccurs="0">
90+
<xsd:annotation>
91+
<xsd:documentation>One or more Request filters that specify tthe data to be included in output. Multiple filters are logically ANDed.</xsd:documentation>
92+
</xsd:annotation>
93+
<xsd:complexType>
94+
<xsd:sequence>
95+
<xsd:element name="NetworkFrameTopic" type="NetworkFrameTopicStructure" maxOccurs="unbounded">
96+
<xsd:annotation>
97+
<xsd:documentation>Vaues to use select Network Objects.</xsd:documentation>
98+
</xsd:annotation>
99+
</xsd:element>
100+
</xsd:sequence>
101+
</xsd:complexType>
102+
</xsd:element>
103+
<xsd:element name="RequestPolicy" type="NetworkFrameRequestPolicyStructure" minOccurs="0">
104+
<xsd:annotation>
105+
<xsd:documentation>Policies to apply when fetching data specified by Topics.</xsd:documentation>
106+
</xsd:annotation>
107+
</xsd:element>
108+
<xsd:element name="SubscriptionPolicy" type="NetworkFrameSubscriptionPolicyStructure" minOccurs="0">
109+
<xsd:annotation>
110+
<xsd:documentation>Policy to use when processing Network Subscriptions.</xsd:documentation>
111+
</xsd:annotation>
112+
</xsd:element>
113+
</xsd:sequence>
114+
<xsd:attribute name="version" type="xsd:NMTOKEN" default="1.0"/>
115+
</xsd:complexType>
116+
<!-- =======================================================================
117+
-->
118+
<xsd:element name="PublicationDelivery" type="PublicationDeliveryStructure">
119+
<xsd:annotation>
120+
<xsd:documentation>A set of NeTEx objects as assembled by a publication request or other service
121+
122+
Provides a general purpose wrapper for NeTEx data content.</xsd:documentation>
123+
</xsd:annotation>
124+
</xsd:element>
125+
<!-- =====END OF CONSTRAINTS================= -->
126+
<xsd:complexType name="PublicationDeliveryStructure">
127+
<xsd:annotation>
128+
<xsd:documentation>Type for Publication Delivery.</xsd:documentation>
129+
</xsd:annotation>
130+
<xsd:sequence>
131+
<xsd:group ref="PublicationHeaderGroup"/>
132+
<xsd:group ref="PayloadGroup"/>
133+
</xsd:sequence>
134+
<xsd:attribute name="version" type="xsd:NMTOKEN" default="1.0"/>
135+
</xsd:complexType>
136+
<xsd:group name="PublicationHeaderGroup">
137+
<xsd:annotation>
138+
<xsd:documentation>Elements for Publication header.</xsd:documentation>
139+
</xsd:annotation>
140+
<xsd:sequence>
141+
<xsd:element name="PublicationTimestamp" type="xsd:dateTime">
142+
<xsd:annotation>
143+
<xsd:documentation>Time of output of data.</xsd:documentation>
144+
</xsd:annotation>
145+
</xsd:element>
146+
<xsd:element ref="ParticipantRef"/>
147+
<xsd:element name="PublicationRequest" type="PublicationRequestStructure" minOccurs="0">
148+
<xsd:annotation>
149+
<xsd:documentation>Echo Request used to create bulk response.</xsd:documentation>
150+
</xsd:annotation>
151+
</xsd:element>
152+
<xsd:element name="PublicationRefreshInterval" type="xsd:duration" minOccurs="0">
153+
<xsd:annotation>
154+
<xsd:documentation>How often data in publication is refreshed.</xsd:documentation>
155+
</xsd:annotation>
156+
</xsd:element>
157+
<xsd:element name="Description" type="MultilingualString" minOccurs="0">
158+
<xsd:annotation>
159+
<xsd:documentation>Description of contents.</xsd:documentation>
160+
</xsd:annotation>
161+
</xsd:element>
162+
</xsd:sequence>
163+
</xsd:group>
164+
<!--== Requests ===================================================================== -->
165+
</xsd:schema>

0 commit comments

Comments
 (0)