NeTEx
NeTEx copied to clipboard
Describe a structured way to handle a strictContainmentAggregationStructure
First appearing recently in #588
Going through NeTEx the strictContainmentAggregationStructure is handled differently and certainly not consistently.
I think we want to assure:
- there is at minimum a single element in this containment structure, otherwise it must be invalid.
- I think this can be assured with a choice minOccurs=1 (the default) also on its sub elements.
Have an in depth discussion with the group if we should restrict (certain) containment structures to a single type.
https://github.com/NeTEx-CEN/NeTEx/pull/588/files#r1425169764
For example: valididityConditions: [AvailabilityConditionRef] XOR [AvailabilityCondition] calls: [DatedCall] XOR [Call]
There are some further check that could be made for consistence and correctness
-
check that strictContainmentAggregationStructureis used where it should be (and not onetoManyRelationshipStructure)
-
VersionedChild should generally be contained within a strictContainmentAggregationStructure
@skinkie do we do this in 2.0 or 2.1? May it affect "the interface".. Probably yes...
2.0, and see what breaks.