@@ -296,6 +296,28 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
296296 <xsd : field xpath =" @ref" />
297297 <xsd : field xpath =" @version" />
298298 </xsd : keyref >
299+ <!-- =====AlternativeText============================== -->
300+ <!-- =====AlternativeText unique========================== -->
301+ <xsd : unique name =" AlternativeText_UniqueBy_Id_AttributeName_UseForLanguage_Version" >
302+ <xsd : annotation >
303+ <xsd : documentation >Every [AlternativeText Id + attributeName + useForLanguage + version] must be unique within document.</xsd : documentation >
304+ </xsd : annotation >
305+ <xsd : selector xpath =" .//netex:AlternativeText" />
306+ <xsd : field xpath =" @id" />
307+ <xsd : field xpath =" @attributeName" />
308+ <xsd : field xpath =" @useForLanguage" />
309+ <xsd : field xpath =" @version" />
310+ </xsd : unique >
311+ <!-- =====AlternativeName============================== -->
312+ <!-- =====AlternativeName unique========================== -->
313+ <xsd : unique name =" AlternativeName_UniqueBy_Id_Version_useForLanguage_Order" >
314+ <xsd : annotation >
315+ <xsd : documentation >Every [AlternativeName Id + version + order] must be unique within document.</xsd : documentation >
316+ </xsd : annotation >
317+ <xsd : selector xpath =" .//netex:AlternativeName" />
318+ <xsd : field xpath =" @id" />
319+ <xsd : field xpath =" @version" />
320+ </xsd : unique >
299321 <!-- =====TypeOfValidity Key ========================== -->
300322 <xsd : key name =" TypeOfValidity_AnyVersionedKey" >
301323 <xsd : selector xpath =" .//netex:TypeOfValidity" />
@@ -558,7 +580,7 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
558580 <xsd : field xpath =" @version" />
559581 </xsd : keyref >
560582 <xsd : key name =" PointOnLink_AnyVersionedKey" >
561- <xsd : selector xpath =" .//netex:PointOnLink" />
583+ <xsd : selector xpath =" .//netex:PointOnLink | .//netex:StartPointOnLink| .//netex:EndPointOnLink " />
562584 <xsd : field xpath =" @id" />
563585 <xsd : field xpath =" @version" />
564586 </xsd : key >
@@ -1695,13 +1717,14 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
16951717 <xsd : field xpath =" @id" />
16961718 <xsd : field xpath =" @version" />
16971719 </xsd : key >
1720+ <!-- =====UicOperatingPeriod============================== -->
1721+ <!-- =====UicOperatingPeriod Key ========================== -->
16981722 <xsd : keyref name =" UicOperatingPeriod_KeyRef" refer =" netex:UicOperatingPeriod_AnyVersionedKey" >
16991723 <xsd : selector xpath =" .//netex:UicOperatingPeriodRef" />
17001724 <xsd : field xpath =" @ref" />
17011725 <xsd : field xpath =" @version" />
17021726 </xsd : keyref >
1703- <!-- =====UicOperatingPeriod Key ========================== -->
1704- <xsd : key name =" UicOperatingPeriod_AnyVersionedKey" >
1727+ <xsd : key name =" UicOperatingPeriod_AnyVersionedKey" >
17051728 <xsd : selector xpath =" .//netex:OperatingPeriod | .//netex:UicOperatingPeriod" />
17061729 <xsd : field xpath =" @id" />
17071730 <xsd : field xpath =" @version" />
@@ -1756,6 +1779,15 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
17561779 </xsd:key> -->
17571780 <!-- =====VEHICLE Constraints========================= -->
17581781 <!-- =====Vehicle============================== -->
1782+ <!-- =====Vehicle unique========================== -->
1783+ <xsd : unique name =" Vehicle_UniqueRegistrationNumber" >
1784+ <xsd : annotation >
1785+ <xsd : documentation >Every [RegistrationNumber Id + Version] must be unique within document.</xsd : documentation >
1786+ </xsd : annotation >
1787+ <xsd : selector xpath =" .//netex:Vehicle" />
1788+ <xsd : field xpath =" netex:RegistrationNumber" />
1789+ <xsd : field xpath =" @version" />
1790+ </xsd : unique >
17591791 <!-- =====Vehicle Key ========================== -->
17601792 <xsd : keyref name =" Vehicle_KeyRef" refer =" netex:Vehicle_AnyVersionedKey" >
17611793 <xsd : selector xpath =" .//netex:VehicleRef" />
@@ -2601,6 +2633,16 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
26012633 <xsd : field xpath =" @id" />
26022634 <xsd : field xpath =" @version" />
26032635 </xsd : key >
2636+ <!-- =====FlexibleLine unique========================== -->
2637+ <!-- DEPRECATED in v2.0 -->
2638+ <xsd : unique name =" FlexibleLine_UniqueBy_Id_Version" >
2639+ <xsd : annotation >
2640+ <xsd : documentation >Every [FlexibleLine Id + Version] must be unique within document.</xsd : documentation >
2641+ </xsd : annotation >
2642+ <xsd : selector xpath =" .//netex:FlexibleLine" />
2643+ <xsd : field xpath =" @id" />
2644+ <xsd : field xpath =" @version" />
2645+ </xsd : unique >
26042646 <!-- =====GroupOfLines============================== -->
26052647 <!-- =====GroupOfLines Key ========================== -->
26062648 <xsd : keyref name =" GroupOfLines_KeyRef" refer =" netex:GroupOfLines_AnyVersionedKey" >
@@ -3228,18 +3270,6 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
32283270 <xsd : field xpath =" @id" />
32293271 <xsd : field xpath =" @version" />
32303272 </xsd : key >
3231- <!-- =====PointInJourneyPatternLink============================== -->
3232- <!-- =====PointInJourneyPattern Key ========================== -->
3233- <!-- <xsd:keyref name="PointInJourneyPattern_KeyRef" refer="netex:PointInJourneyPatternChild_AnyVersionedKey">
3234- <xsd:selector xpath=".//netex:PointInJourneyPatternRef"/>
3235- <xsd:field xpath="@ref"/>
3236- <xsd:field xpath="@version"/>
3237- </xsd:keyref>
3238- <xsd:key name="PointInJourneyPatternChild_AnyVersionedKey">
3239- <xsd:selector xpath=".//netex:PointInJourneyPattern | .//netex:TimingPointInJourneyPattern | .//netex:StopPointInJourneyPattern"/>
3240- <xsd:field xpath="@id"/>
3241- <xsd:field xpath="@version"/>
3242- </xsd:key>-->
32433273 <!-- =====TimeDemandType============================== -->
32443274 <!-- =====TimeDemandType Key ========================== -->
32453275 <xsd : keyref name =" TimeDemandType_KeyRef" refer =" netex:TimeDemandType_AnyVersionedKey" >
0 commit comments