Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions xsd/NeTEx_publication.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5999,6 +5999,27 @@
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
<!-- =====TypeOfNotice============================== -->
<!-- =====TypeOfNotice unique========================== -->
<xsd:unique name="TypeOfNotice_UniqueBy_Id_Version">
<xsd:annotation>
<xsd:documentation>Every [TypeOfNotice Id + Version] must be unique within document.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//netex:TypeOfNotice"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:unique>
<!-- =====TypeOfNotice Key ========================== -->
<xsd:keyref name="TypeOfNotice_KeyRef" refer="netex:TypeOfNotice_AnyVersionedKey">
<xsd:selector xpath=".//netex:TypeOfNoticeRef"/>
<xsd:field xpath="@ref"/>
<xsd:field xpath="@version"/>
</xsd:keyref>
<xsd:key name="TypeOfNotice_AnyVersionedKey">
<xsd:selector xpath=".//netex:TypeOfNotice"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
<!-- =====NoticeAssignment============================== -->
<!-- =====NoticeAssignment unique========================== -->
<xsd:unique name="NoticeAssignment_UniqueBy_Id_Version_Order">
Expand Down
21 changes: 21 additions & 0 deletions xsd/NeTEx_publication_timetable.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -4620,6 +4620,27 @@ Provides a general purose wrapper for NeTEx data content.</xsd:documentation>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
<!-- =====TypeOfNotice============================== -->
<!-- =====TypeOfNotice unique========================== -->
<xsd:unique name="TypeOfNotice_UniqueBy_Id_Version">
<xsd:annotation>
<xsd:documentation>Every [TypeOfNotice Id + Version] must be unique within document.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//netex:TypeOfNotice"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:unique>
<!-- =====TypeOfNotice Key ========================== -->
<xsd:keyref name="TypeOfNotice_KeyRef" refer="netex:TypeOfNotice_AnyVersionedKey">
<xsd:selector xpath=".//netex:TypeOfNoticeRef"/>
<xsd:field xpath="@ref"/>
<xsd:field xpath="@version"/>
</xsd:keyref>
<xsd:key name="TypeOfNotice_AnyVersionedKey">
<xsd:selector xpath=".//netex:TypeOfNotice"/>
<xsd:field xpath="@id"/>
<xsd:field xpath="@version"/>
</xsd:key>
<!-- =====NoticeAssignment============================== -->
<!-- =====NoticeAssignment unique========================== -->
<xsd:unique name="NoticeAssignment_UniqueBy_Id_Version_Order">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Rail transport, Roads and Road transport
</xsd:simpleType>
<xsd:element name="TypeOfNoticeRef" type="TypeOfNoticeRefStructure" substitutionGroup="TypeOfEntityRef">
<xsd:annotation>
<xsd:documentation>Reference to a TYPE OF NOTICe.</xsd:documentation>
<xsd:documentation>Reference to a TYPE OF NOTICE.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="TypeOfNoticeRefStructure">
Expand Down