Skip to content

Commit 2fe642d

Browse files
TuThoThaihaeckerbaertim-rivett
authored
Fix typos in documentation siri_situation.xsd (#147)
* Fix typos in documentation siri_situation.xsd Fix typos & addition of one annotation missing * add missing tags to new annotation it seems that author added a new annotation in previous commit but forgot proper tags. * correct typo --------- Co-authored-by: haeckerbaer <54021300+haeckerbaer@users.noreply.github.com> Co-authored-by: Tim Rivett <56296031+tim-rivett@users.noreply.github.com>
1 parent 49b35f2 commit 2fe642d

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

xsd/siri_model/siri_situation.xsd

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ siri_model\siri_situation-v2.0.xsd:
9494
-->
9595
</Date>
9696
<Description>
97-
<p>SIRI-SX is an XML schema for the exchange of structured SITUATIONs </p>
97+
<p>SIRI-SX is an XML schema for the exchange of structured SITUATIONs</p>
9898
</Description>
9999
<Format>
100100
<MediaType>text/xml</MediaType>
@@ -115,7 +115,7 @@ siri_model\siri_situation-v2.0.xsd:
115115
</Rights>
116116
<Source>
117117
<ul>
118-
<li>Schema Derived from the Kizoom XTIS schema </li>
118+
<li>Schema Derived from the Kizoom XTIS schema</li>
119119
</ul>
120120
</Source>
121121
<Status>Version 2.1</Status>
@@ -127,7 +127,7 @@ Public transport, Bus services, Coach services, Bus stops and stations,
127127
Rail transport, Railway stations and track, Train services, Underground trains,
128128
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
129129
Rail transport, Roads and road transport
130-
</Category>
130+
</Category>
131131
<Project>CEN TC278 WG3 SG7</Project>
132132
</Subject>
133133
<Title>SIRI-SX Xml Schema for PT SITUATIONs. Common element subschema</Title>
@@ -241,7 +241,7 @@ Rail transport, Roads and road transport
241241
<!--===PT SITUATION =========================================== -->
242242
<xsd:element name="PtSituationElement" type="PtSituationElementStructure">
243243
<xsd:annotation>
244-
<xsd:documentation>Type for individual IPT ncident.</xsd:documentation>
244+
<xsd:documentation>Type for individual PT Incident.</xsd:documentation>
245245
</xsd:annotation>
246246
</xsd:element>
247247
<xsd:complexType name="PtSituationElementStructure">
@@ -296,7 +296,7 @@ Rail transport, Roads and road transport
296296
<!--===PT SITUATION =========================================== -->
297297
<xsd:element name="RoadSituationElement" type="RoadSituationElementStructure">
298298
<xsd:annotation>
299-
<xsd:documentation>Type for individual IPT ncident.</xsd:documentation>
299+
<xsd:documentation>Type for individual PT incident.</xsd:documentation>
300300
</xsd:annotation>
301301
</xsd:element>
302302
<xsd:complexType name="RoadSituationElementStructure">
@@ -365,7 +365,7 @@ Rail transport, Roads and road transport
365365
</xsd:element>
366366
<xsd:element name="situationRecordCreationTime" type="D2LogicalModel:DateTime" minOccurs="0">
367367
<xsd:annotation>
368-
<xsd:documentation>The date/time that the SITUATIONRecord object (the first version of the record) was created by the original supplier.</xsd:documentation>
368+
<xsd:documentation>The date/time that the SITUATION Record object (the first version of the record) was created by the original supplier.</xsd:documentation>
369369
</xsd:annotation>
370370
</xsd:element>
371371
<xsd:element name="situationRecordObservationTime" type="D2LogicalModel:DateTime" minOccurs="0">
@@ -380,7 +380,7 @@ Rail transport, Roads and road transport
380380
</xsd:element>
381381
<xsd:element name="situationRecordVersionTime" type="D2LogicalModel:DateTime" minOccurs="0">
382382
<xsd:annotation>
383-
<xsd:documentation>The date/time that this current version of the SITUATIONRecord was written into the database of the supplier which is involved in the data exchange.</xsd:documentation>
383+
<xsd:documentation>The date/time that this current version of the SITUATION Record was written into the database of the supplier which is involved in the data exchange.</xsd:documentation>
384384
</xsd:annotation>
385385
</xsd:element>
386386
<xsd:element name="situationRecordFirstSupplierVersionTime" type="D2LogicalModel:DateTime">
@@ -406,7 +406,7 @@ Rail transport, Roads and road transport
406406
</xsd:group>
407407
<xsd:group name="Datex2RoadGroup">
408408
<xsd:annotation>
409-
<xsd:documentation>Datex2 Trrffic element road.</xsd:documentation>
409+
<xsd:documentation>Datex2 Traffic element road.</xsd:documentation>
410410
</xsd:annotation>
411411
<xsd:sequence>
412412
<xsd:element name="impact" type="D2LogicalModel:Impact" minOccurs="0">
@@ -421,7 +421,7 @@ Rail transport, Roads and road transport
421421
</xsd:element>
422422
<xsd:element name="generalPublicComment" type="D2LogicalModel:Comment" minOccurs="0" maxOccurs="unbounded">
423423
<xsd:annotation>
424-
<xsd:documentation> Datex 2 comments for public use.</xsd:documentation>
424+
<xsd:documentation>Datex 2 comments for public use.</xsd:documentation>
425425
</xsd:annotation>
426426
</xsd:element>
427427
<xsd:element name="nonGeneralPublicComment" type="D2LogicalModel:Comment" minOccurs="0" maxOccurs="unbounded">
@@ -448,12 +448,12 @@ Rail transport, Roads and road transport
448448
</xsd:group>
449449
<xsd:complexType name="AffectedRoadStructure">
450450
<xsd:annotation>
451-
<xsd:documentation>Type for Raod scope for scope of SITUATION or effect.</xsd:documentation>
451+
<xsd:documentation>Type for Road scope for scope of SITUATION or effect.</xsd:documentation>
452452
</xsd:annotation>
453453
<xsd:sequence>
454454
<xsd:element name="Road" type="D2LogicalModel:RoadsideReferencePointLinear" minOccurs="0">
455455
<xsd:annotation>
456-
<xsd:documentation>Affected Road as described by a Date2x location.</xsd:documentation>
456+
<xsd:documentation>Affected Road as described by a Datex 2 location.</xsd:documentation>
457457
</xsd:annotation>
458458
</xsd:element>
459459
<xsd:group ref="ProjectionGroup">
@@ -466,7 +466,7 @@ Rail transport, Roads and road transport
466466
</xsd:complexType>
467467
<xsd:complexType name="OptionalTrafficElementStructure" abstract="true">
468468
<xsd:annotation>
469-
<xsd:documentation>An event which is not planned by the traffic OPERATOR, which is affecting, or has the potential to affect traffic flow. This SIRI-SX element embeds the Datex2 TrafficElement, making all elements optional because they may alternatvielky be specified by common SIRI-SRX SITUATION elements.</xsd:documentation>
469+
<xsd:documentation>An event which is not planned by the traffic OPERATOR, which is affecting, or has the potential to affect traffic flow. This SIRI-SX element embeds the Datex 2 TrafficElement, making all elements optional because they may alternatvielky be specified by common SIRI-SRX SITUATION elements.</xsd:documentation>
470470
</xsd:annotation>
471471
<xsd:sequence>
472472
<xsd:group ref="Datex2ManagementGroup"/>
@@ -527,7 +527,7 @@ Rail transport, Roads and road transport
527527
</xsd:element>
528528
<xsd:element name="Name" type="NaturalLanguageStringStructure" minOccurs="0">
529529
<xsd:annotation>
530-
<xsd:documentation>Name of for source.</xsd:documentation>
530+
<xsd:documentation>Name of Source.</xsd:documentation>
531531
</xsd:annotation>
532532
</xsd:element>
533533
<xsd:element name="SourceRole" type="xsd:string" minOccurs="0">
@@ -659,7 +659,7 @@ Rail transport, Roads and road transport
659659
</xsd:element>
660660
<xsd:element name="Repetitions" minOccurs="0">
661661
<xsd:annotation>
662-
<xsd:documentation>situation applies only on the repeated day types within the overall validity period(s). For example Sunday.</xsd:documentation>
662+
<xsd:documentation>Situation applies only on the repeated day types within the overall validity period(s). For example, Sunday.</xsd:documentation>
663663
</xsd:annotation>
664664
<xsd:complexType>
665665
<xsd:sequence>
@@ -708,7 +708,7 @@ Rail transport, Roads and road transport
708708
<xsd:element ref="ReportType" minOccurs="0"/>
709709
<xsd:element name="Planned" type="xsd:boolean" default="false" minOccurs="0">
710710
<xsd:annotation>
711-
<xsd:documentation>Whether the SITUATION was planned (eg engineering works) or unplanned (eg service alteration). Default is 'false', i.e. unplanned.</xsd:documentation>
711+
<xsd:documentation>Whether the SITUATION was planned (e.g. engineering works) or unplanned (e.g. service alteration). Default is 'false', i.e. unplanned.</xsd:documentation>
712712
</xsd:annotation>
713713
</xsd:element>
714714
<xsd:element name="Keywords" type="xsd:NMTOKENS" minOccurs="0">
@@ -740,7 +740,7 @@ Rail transport, Roads and road transport
740740
<xsd:group name="ReasonGroup">
741741
<xsd:annotation>
742742
<xsd:documentation>Structured Reason elements. The TpegReason and/or PublicEventReason enumerated values can be used to generate standardized messages describing the SITUATION. If no enumerated values are given, ReasonName is used instead.
743-
Note: this means that ReasonName is NOT a complete message, but only a (few) word(s) to be included in the message!</xsd:documentation>
743+
Note: this means that ReasonName is NOT a complete message, but only a (few) word(s) to be included in the message! </xsd:documentation>
744744
</xsd:annotation>
745745
<xsd:sequence>
746746
<xsd:group ref="TpegReasonGroup">
@@ -794,7 +794,7 @@ Note: this means that ReasonName is NOT a complete message, but only a (few) wor
794794
</xsd:simpleType>
795795
<xsd:simpleType name="NatureEnumeration">
796796
<xsd:annotation>
797-
<xsd:documentation>Type for Quality of data indication. </xsd:documentation>
797+
<xsd:documentation>Type for Quality of data indication.</xsd:documentation>
798798
</xsd:annotation>
799799
<xsd:restriction base="xsd:string">
800800
<xsd:enumeration value="plannedOnly"/>
@@ -922,7 +922,7 @@ Note: this means that ReasonName is NOT a complete message, but only a (few) wor
922922
</xsd:element>
923923
<xsd:element name="Operators" minOccurs="0">
924924
<xsd:annotation>
925-
<xsd:documentation>Affected OPERATORs, If absent, taken from context. If present, any OPERATORs stated completely replace those from context.</xsd:documentation>
925+
<xsd:documentation>Affected OPERATORs. If absent, taken from context. If present, any OPERATORs stated completely replace those from context.</xsd:documentation>
926926
</xsd:annotation>
927927
<xsd:complexType>
928928
<xsd:choice>
@@ -1090,7 +1090,7 @@ Note: this means that ReasonName is NOT a complete message, but only a (few) wor
10901090
</xsd:element>
10911091
<xsd:element name="Summary" type="DefaultedTextStructure" minOccurs="0" maxOccurs="unbounded">
10921092
<xsd:annotation>
1093-
<xsd:documentation>Summary of SITUATION. If absent should be generated from structure elements / and or by condensing Description. (Unbounded since SIRI 2.0)</xsd:documentation>
1093+
<xsd:documentation>Summary of SITUATION. If absent should be generated from structure elements, and/or by condensing Description. (Unbounded since SIRI 2.0)</xsd:documentation>
10941094
</xsd:annotation>
10951095
</xsd:element>
10961096
<xsd:element name="Description" type="DefaultedTextStructure" minOccurs="0" maxOccurs="unbounded">
@@ -1278,7 +1278,11 @@ Note: this means that ReasonName is NOT a complete message, but only a (few) wor
12781278
<xsd:documentation>Change to normal boarding activity allowed at stop.</xsd:documentation>
12791279
</xsd:annotation>
12801280
</xsd:element>
1281-
<xsd:element name="Delays" type="DelaysStructure" minOccurs="0"/>
1281+
<xsd:element name="Delays" type="DelaysStructure" minOccurs="0">
1282+
<xsd:annotation>
1283+
<xsd:documentation>Information on delays.</xsd:documentation>
1284+
</xsd:annotation>
1285+
</xsd:element>
12821286
<xsd:element name="Casualties" type="CasualtiesStructure" minOccurs="0">
12831287
<xsd:annotation>
12841288
<xsd:documentation>Information on casualties.</xsd:documentation>
@@ -1295,7 +1299,7 @@ Note: this means that ReasonName is NOT a complete message, but only a (few) wor
12951299
<xsd:group name="ConditionGroup">
12961300
<xsd:annotation>
12971301
<xsd:documentation>Structured elements of a SITUATION condition. The Condition enumerated value(s) can be used to generate standardized messages describing the SITUATION. If no enumerated values are given, ConditionName is used instead.
1298-
Note: this means that ConditionName is NOT a complete message, but only a (few) word(s) to be included in the message!</xsd:documentation>
1302+
Note: this means that ConditionName is NOT a complete message, but only a (few) word(s) to be included in the message! </xsd:documentation>
12991303
</xsd:annotation>
13001304
<xsd:sequence>
13011305
<xsd:element ref="Condition" minOccurs="0" maxOccurs="unbounded">
@@ -1332,7 +1336,7 @@ Note: this means that ConditionName is NOT a complete message, but only a (few)
13321336
<xsd:documentation>Type for (structured) advice. The AdviceType enumerated value can be used to generate standardized messages describing the SITUATION. If no enumerated value is given, AdviceName is used instead.
13331337
Note: this means that AdviceName is NOT a complete message, but only a (few) word(s) to be included in the message!
13341338
Alternatively, AdviceRef can be used to reference a (complete) standardised advisory message.
1335-
</xsd:documentation>
1339+
</xsd:documentation>
13361340
</xsd:annotation>
13371341
<xsd:sequence>
13381342
<xsd:element name="AdviceRef" type="AdviceRefStructure" minOccurs="0">
@@ -1484,7 +1488,7 @@ Alternatively, AdviceRef can be used to reference a (complete) standardised advi
14841488
<xsd:sequence>
14851489
<xsd:element name="TicketRestrictions" type="TicketRestrictionEnumeration" minOccurs="0">
14861490
<xsd:annotation>
1487-
<xsd:documentation>Ticket restriction conditiosn in effect. TPEG pti table pti25.</xsd:documentation>
1491+
<xsd:documentation>Ticket restriction conditions in effect. TPEG pti table pti25.</xsd:documentation>
14881492
</xsd:annotation>
14891493
</xsd:element>
14901494
<xsd:element name="Easement" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
@@ -1494,7 +1498,7 @@ Alternatively, AdviceRef can be used to reference a (complete) standardised advi
14941498
</xsd:element>
14951499
<xsd:element name="EasementRef" type="xsd:normalizedString" minOccurs="0">
14961500
<xsd:annotation>
1497-
<xsd:documentation>Refernce to a fare exceptions code that is allowed because of the disruption. An easement may relax a fare condition, for exampel "You may use your metro ticket on the bus', or 'You may use your bus ticket in teh metro between these two stops'. </xsd:documentation>
1501+
<xsd:documentation>Refernce to a fare exceptions code that is allowed because of the disruption. An easement may relax a fare condition, for example "You may use your metro ticket on the bus', or 'You may use your bus ticket in teh metro between these two stops'.</xsd:documentation>
14981502
</xsd:annotation>
14991503
</xsd:element>
15001504
</xsd:sequence>

0 commit comments

Comments
 (0)