Skip to content

Commit

Permalink
Need to specify more than one ActivationMeans (#319)
Browse files Browse the repository at this point in the history
Co-authored-by: Kristian Syversen <kristian.syversen@entur.org>
  • Loading branch information
skinkie and syversenkr authored Apr 13, 2022
1 parent 3959510 commit 2b7c605
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
<Modified>2019-04-02</Modified>Doc tidy Add new vale _cap_ to UsageValidityType
</Date>
<Date>
<Modified>2020-10-16</Modified>New Modes: Add accessCode value to ActivationMeans enumeration
<Modified>2020-10-16</Modified>New Modes: Add accessCode value to ActivationMeans enumeration
</Date>
<Date>
<Modified>2020-12-10</Modified>FIX - Add ActivationMeansListOfEnumerations
</Date>
<Description>
<p>NeTEx is a European CEN standard for the exchange of Public Transport data including timetables.</p>
Expand Down Expand Up @@ -369,9 +372,15 @@ Rail transport, Roads and Road transport
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ActivationMeansListOfEnumerations">
<xsd:annotation>
<xsd:documentation>List of values for ACTIVATION MEANS.</xsd:documentation>
</xsd:annotation>
<xsd:list itemType="ActivationMeansEnumeration"/>
</xsd:simpleType>
<xsd:simpleType name="ActivationMeansEnumeration">
<xsd:annotation>
<xsd:documentation>Allowed values for Activation Means</xsd:documentation>
<xsd:documentation>Allowed values for ACTIVATION MEANS.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:normalizedString">
<xsd:enumeration value="noneRequired"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<Date>
<Modified>2020-10-05</Modified> New Modes: Allow all modes for interchanging
</Date>
<Date>
<Modified>2020-12-10</Modified>FIX - Make ActivationMeans into list
</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 Travel USAGE PARAMETER types.</p>
Expand Down Expand Up @@ -436,9 +439,9 @@ Rail transport, Roads and Road transport
<xsd:documentation>Duration of USAGE VALIDITY PERIOD.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ActivationMeans" type="ActivationMeansEnumeration" minOccurs="0">
<xsd:element name="ActivationMeans" type="ActivationMeansListOfEnumerations" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Means of activatiing start of period.</xsd:documentation>
<xsd:documentation>Means of activating start of period.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="UsageValidityPeriodFixedPeriodGroup">
Expand Down

0 comments on commit 2b7c605

Please sign in to comment.