-
Notifications
You must be signed in to change notification settings - Fork 39
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
RestrictedServiceFacilityRef in ServiceJourney/facilities with a restriction in an AvailabilityCondition and From/To in Calls an StopPointsInJourneyPattern. and fixed missing CallRef #731
base: next
Are you sure you want to change the base?
Conversation
Please change the tile, I don't think this is what we are reviewing. |
xsd/netex_framework/netex_reusableComponents/netex_facility_version.xsd
Outdated
Show resolved
Hide resolved
xsd/netex_framework/netex_reusableComponents/netex_facility_version.xsd
Outdated
Show resolved
Hide resolved
xsd/netex_framework/netex_reusableComponents/netex_facility_version.xsd
Outdated
Show resolved
Hide resolved
xsd/netex_framework/netex_reusableComponents/netex_facility_version.xsd
Outdated
Show resolved
Hide resolved
xsd/netex_framework/netex_reusableComponents/netex_facility_support.xsd
Outdated
Show resolved
Hide resolved
A FACILIRY SET is meant to be a GROUP OF FACILITIES The whole point of a facility is that it just an name ie enum value and not a first class object. Is what you are after the ability to nest FACILITY SETs? |
* CallRef was missing. Is now added * facilities can contain a RestrictedFacilitySetRef in ServiceJourney. restriction in From/To and AvailabilityCondition
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.
Ok with the principle, but probably needs some tuning
<xsd:element name="ToStopPointInJourneyPattern" type="StopPointInJourneyPatternRefStructure"/> | ||
</xsd:sequence> | ||
</xsd:choice> | ||
<xsd:element ref="AvailabilityConditionRef" minOccurs="0"> |
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.
This AvailabilityCondition overrides the one from the referenced ServiceFacilitySet (if it has one), right ?
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.
Why would we use a StopPointInJourneyPattern here, while we use Stop directly in the JourneyPart?
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.
Yes, it overrides it (should add this in the description. Because I thought that the StopPointInSP is the equivalent to the call.
@@ -826,6 +830,18 @@ Rail transport, Roads and Road transport | |||
</xsd:restriction> | |||
</xsd:simpleContent> | |||
</xsd:complexType> | |||
<xsd:complexType name="facilitiesRefs_RelStructure"> |
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.
I guess that we can now delete this facilitiesRefs_RelStructure ?
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.
yes
<xsd:include schemaLocation="../../netex_part_1/part1_tacticalPlanning/netex_servicePattern_support.xsd"/> | ||
<xsd:include schemaLocation="../../netex_part_2/part2_journeyTimes/netex_call_support.xsd"/> |
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.
This ( with the link to Calls) creates a reference from Part 1 to Part 2 of NeTEx (and also a circular reference)
But that's not easy to solve (it would require to have the RestrictedServiceFacilitySetRef here, a specialisation with From/To to SPinJP in the netex_servicePattern_version.xsd and another one refering the Calls in netex_call_version.xsd
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.
I already thought that this would come up. Will think about it.
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.
I'm not sure of the best way to go from here (to avoid forward references): may be create a dedicated file, only including the changes from this file : something like netex_journey_facility.xsd and to put somewhere in ../../netex_part_2 ?
@David-Steiner was not yet happy. He really would Like that I model the FAcilitySetsRefs like the Notices. Will again have a look at it. |
How would you envision this, if part of a ServiceJourney? |
@ue71603 : can you provide more details about what is blocking ? |
@Aurige I think what @David-Steiner wants is:
|
xsd/netex_framework/netex_reusableComponents/netex_facility_support.xsd
Outdated
Show resolved
Hide resolved
<xsd:include schemaLocation="../../netex_part_1/part1_tacticalPlanning/netex_servicePattern_support.xsd"/> | ||
<xsd:include schemaLocation="../../netex_part_2/part2_journeyTimes/netex_call_support.xsd"/> |
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.
I'm not sure of the best way to go from here (to avoid forward references): may be create a dedicated file, only including the changes from this file : something like netex_journey_facility.xsd and to put somewhere in ../../netex_part_2 ?
…pport.xsd Co-authored-by: Christophe Duquesne <[email protected]>
#470