-
Notifications
You must be signed in to change notification settings - Fork 46
Update netex_typeOfValue_version.xsd #988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Changes from all commits
66442e7
ad9722f
5c955d4
6778f14
1d892ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -389,6 +389,23 @@ | |||||
| <xsd:field xpath="@id"/> | ||||||
| <xsd:field xpath="@version"/> | ||||||
| </xsd:key> | ||||||
| <!-- =====KeyValuePair unique============================== --> | ||||||
| <xsd:unique name="KeyValuePair"> | ||||||
| <xsd:annotation> | ||||||
| <xsd:documentation>Every Key Value Pair must be unique.</xsd:documentation> | ||||||
| </xsd:annotation> | ||||||
| <xsd:selector xpath=".//netex:KeyValue"/> | ||||||
| <xsd:field xpath="netex:Key"/> | ||||||
| <xsd:field xpath="netex:Value"/> | ||||||
| </xsd:unique> | ||||||
| <!-- =====PrivateCodeType unique============================== --> | ||||||
| <xsd:unique name="PrivateCodeType"> | ||||||
| <xsd:annotation> | ||||||
| <xsd:documentation>Every PrivateCode type must be unique.</xsd:documentation> | ||||||
| </xsd:annotation> | ||||||
| <xsd:selector xpath=".//netex:PrivateCode"/> | ||||||
| <xsd:field xpath="@type"/> | ||||||
| </xsd:unique> | ||||||
| <!-- =====ResponsibilityRole============================== --> | ||||||
| <!-- =====ResponsibilityRole unique========================== --> | ||||||
| <xsd:unique name="ResponsibilityRole_UniqueBy_Id_Version"> | ||||||
|
|
@@ -600,6 +617,16 @@ | |||||
| <xsd:field xpath="@id"/> | ||||||
| <xsd:field xpath="@version"/> | ||||||
| </xsd:key> | ||||||
| <!-- =====TypeOfValue unique========================== --> | ||||||
| <xsd:unique name="TypeOfValue_Unique"> | ||||||
| <xsd:selector xpath=".//values/TypeOfValue"/> | ||||||
| <xsd:field xpath="@id"/> | ||||||
| </xsd:unique> | ||||||
| <!-- =====TypeOfValue Key========================== --> | ||||||
| <xsd:key name="TypeOfValue_Key"> | ||||||
| <xsd:selector xpath="values/TypeOfValue"/> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we sure this works at this point? I don't know for sure, but shouldn't this be modeled like KeyValue?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure what you mean here, KeyValue pairs don't have Id |
||||||
| <xsd:field xpath="@id"/> | ||||||
| </xsd:key> | ||||||
| <!-- =====ValueSet unique========================== --> | ||||||
| <xsd:unique name="ValueSet_UniqueBy_Id_Version"> | ||||||
| <xsd:annotation> | ||||||
|
|
@@ -8341,8 +8368,8 @@ | |||||
| <xsd:field xpath="@id"/> | ||||||
| <xsd:field xpath="@version"/> | ||||||
| </xsd:key> | ||||||
| <!-- =====TypeOfFlexibleService============================== --> | ||||||
| <!-- =====TypeOfFlexibleService unique========================== --> | ||||||
| <!-- =====TypeOfFlexibleService============================== --> | ||||||
| <!-- =====TypeOfFlexibleService unique========================== --> | ||||||
| <xsd:unique name="TypeOfFlexibleService_UniqueBy_Id_Version"> | ||||||
| <xsd:annotation> | ||||||
| <xsd:documentation>Every [TypeOfFlexibleService Id + Version] must be unique within document.</xsd:documentation> | ||||||
|
|
@@ -8361,7 +8388,7 @@ | |||||
| <xsd:selector xpath=".//netex:TypeOfFlexibleService"/> | ||||||
| <xsd:field xpath="@id"/> | ||||||
| <xsd:field xpath="@version"/> | ||||||
| </xsd:key> | ||||||
| </xsd:key> | ||||||
| <!-- =====TypeOfProductCategory============================== --> | ||||||
| <!-- =====TypeOfProductCategory unique========================== --> | ||||||
| <xsd:unique name="TypeOfProductCategory_UniqueBy_Id_Version"> | ||||||
|
|
@@ -9611,7 +9638,7 @@ | |||||
| <xsd:selector xpath=".//netex:FareElementInSequence"/> | ||||||
| <xsd:field xpath="@id"/> | ||||||
| <xsd:field xpath="@version"/> | ||||||
| </xsd:key> | ||||||
| </xsd:key> | ||||||
| <!-- =====TypeOfFareStructureElement============================== --> | ||||||
| <!-- =====TypeOfFareStructureElement unique========================== --> | ||||||
| <xsd:unique name="TypeOfFareStructureElement_UniqueBy_Id_Version"> | ||||||
|
|
@@ -13017,6 +13044,7 @@ | |||||
| </xsd:key> | ||||||
| <!-- =====WheelchairVehicle ================================ --> | ||||||
| <!-- =====WheelchairVehicle unique========================== --> | ||||||
| <!--This section can be deleted at the next update as WheelchairVehicle is marked deprecated since v2.0--> | ||||||
| <xsd:unique name="WheelchairVehicle_UniqueBy_Id_Version"> | ||||||
| <xsd:annotation> | ||||||
| <xsd:documentation>Every [WheelchairVehicle Id + Version] must be unique within document.</xsd:documentation> | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uniqueandkeyon the same attribute is redundant (keyis enough)