Open skinkie opened 1 year ago
I guess some are "typo", some don't als not exist in Transmodel. For the details a comment from @nick-knowles or @Aurige is necessary in my view.
AccessSummary_KeyRef netex:AccessSummaryRef
AccountableElementPart_AnyVersionedKey netex:AccountableElementPart
AccountableElementPart_KeyRef netex:AccountableElementPartRef
AccountableElementPart_UniqueBy_Id_Version netex:AccountableElementPart
Authority_KeyRef netex:ParentAuthorityRef
Branding_AnyKeyRef netex:DefaultBrandingRef
Call_KeyRef netex:CallRef
Cell_AnyVersionedKey_ordered netex:StandardCell
Cell_KeyRef netex:StandardCellRef
CommercialProfile_KeyRef netex:BaseCommercialProfileRef
CustomerPurchaseParameterAssignment_KeyRef netex:CustomerPurchaseParameterAssignmentRef
Direction_KeyRef netex:ReverseDirectionRef
Entity_Entity_AnyKeyRef netex:DefaultEntity_EntityRef
Entity_Entity_AnyKeyRef netex:Entity_EntityRef
FareElementInSequence_KeyRef netex:FareElementInSequenceRef
FarePrice_AnyVersionedKey netex:FarePrice
FareStructure_AnyVersionedKey netex:FareStructure
FareStructure_KeyRef netex:FareStructureRef
FareStructure_UniqueBy_Id_Version netex:FareStructure
FareZone_KeyRef netex:FromFareZoneRef
FareZone_KeyRef netex:ToFareZoneRef
FlexibleOperation_KeyRef netex:FlexibleOperationRef
GeneralGroupOfEntities_AnyKeyRef DistributionGroupRef
GeneralOrganisation_KeyRef netex:ParentGeneralOrganisationRef
GenericParameterAssignment_KeyRef netex:GenericParameterAssignmentRef
GroupOfLinkSequences_KeyRef netex:GroupOfLinkSequencesRef
GroupOfServicesMember_KeyRef netex:GroupOfServicesMemberRef
InfrastructureLink_AnyVersionedKey netex:Element
InfrastructureLink_KeyRef netex:InfrastructureLinkRef
InfrastructurePoint_KeyRef netex:InfrastructurePointRef
JourneyFrequencyGroup_UniqueBy_Id_Version netex:JourneyFrequencyGroup
Journey_KeyRef netex:JourneyRef
JourneyPartPosition_KeyRef netex:JourneyPartPositionRef
JourneyRunTime_KeyRef netex:JourneyRunTimeRef
Journey_UniqueBy_Id_Version netex:Journey
Link_AnyVersionedKey netex:Link
LinkOnSection_KeyRef netex:LinkOnSectionRef
LinkSequence_AnyVersionedKey netex:DeadRunServicePattern
ManagementAgent_KeyRef netex:ParentManagementAgentRef
NavigationPathAssignment_KeyRef netex:NavigationPathAssignmentRef
NoticeAssignment_KeyRef netex:NoticeAssignmentRef
Operator_KeyRef netex:ParentOperatorRef
ParkingAreaCapacityAssignment_AnyVersionedKey netex:ParkingAreaCapacityAssignment
ParkingAreaCapacityAssignment_KeyRef netex:ParkingAreaCapacityAssignmentRef
ParkingAreaCapacityAssignment_UniqueBy_Id_Version_Order netex:ParkingAreaCapacityAssignment
PathLink_KeyRef netex:SitePathLinkRef
PlaceLighting_AnyKeyRef netex:PlaceLightingRef
PointInTimingPatternChild_AnyVersionedKey netex:PointInTimingPattern
PointInTimingPattern_KeyRef netex:PointInTimingPatternRef
PointInTimingPattern_UniqueBy_Id_Version netex:PointInTimingPattern
PointOfInterestClassificationHierarchy_KeyRef netex:PointOfInterestClassificationHierarchyRef
PointOfInterestEntrance_KeyRef netex:ParentPointOfInterestEntranceRef
PointOnLink_AnyKeyRef netex:PointOnLinkRef
PointOnLink_UniqueBy_Id_Version netex:EndPointOnLink
PointOnLink_UniqueBy_Id_Version netex:StartPointOnLink
PointOnSection_KeyRef netex:PointOnSectionRef
QueuingEquipment_AnyKeyRef netex:QueuingEquipmentRef
QueuingEquipment_AnyVersionedKey netex:QueuingEquipment
QueuingEquipment_UniqueBy_Id_Version netex:QueuingEquipment
RailwayElement_KeyRef netex:RailwayElementRef
RelatedOrganisation_KeyRef netex:RelatedOrganisationRef
ResponsibilityRole_AnyVersionedKey netex:ResponsibilityRole
ResponsibilityRoleAssignment_AnyKeyRef netex:ResponsibilityRoleAssignmentRef
ResponsibilityRole_UniqueBy_Id_Version netex:ResponsibilityRole
ResponsibilitySet_AnyKeyRef netex:DelegatedResponsibilitySetRef
ResponsibilitySet_AnyVersionedKey netex:DefaultResponsibilitySet
ResponsibilitySet_UniqueBy_Id_Version netex:DelegatedResponsibilitySet
RoadElement_KeyRef netex:RoadElementRef
SalesNoticeAssignment_KeyRef netex:SalesNoticeAssignmentRef
ScheduledOperation_KeyRef netex:ScheduledOperationRef
ScheduledStopPoint_KeyRef netex:NextStopPointRef
SectionInSequence_KeyRef netex:SectionInSequenceRef
ServicedOrganisation_KeyRef netex:ParentServicedOrganisationRef
ServiceLinkInJourneyPattern_KeyRef netex:ServiceLinkInJourneyPatternRef
ServicePattern_AnyVersionedKey netex:DeadRunPattern
ServicePattern_KeyRef netex:DeadRunServicePatternRef
ServicePattern_UniqueBy_Id_Version netex:DeadRunPattern
SpecificParameterAssignment_KeyRef netex:SpecificParameterAssignmentRef
StopPlaceEntrance_KeyRef netex:ParentStopPlaceEntranceRef
TariffZone_AnyKeyRef netex:ParentTariffZoneRef
TaxiStand_KeyRef netex:ParentTaxiStandRef
TravelAgent_KeyRef netex:ParentTravelAgentRef
TypeOfEntity_AnyKeyRef netex:TypeOfEntityRef
TypeOfFarePaymentMethod_AnyVersionedKey netex:TypeOfFarePaymentMethod
TypeOfFarePaymentMethod_KeyRef netex:TypeOfFarePaymentMethodRef
TypeOfFarePaymentMethod_UniqueBy_Id_Version netex:TypeOfFarePaymentMethod
ValueSet_AnyKeyRef netex:ValueSetRef
VehicleMeetingPoint_AnyVersionedKey netex:FareVehicleMeetingPoint
VehicleMeetingPointInPath_KeyRef netex:VehicleMeetingPointInPathRef
VehicleMeetingPoint_KeyRef netex:EndVehicleMeetingPointRef
VehicleMeetingPoint_KeyRef netex:FromVehicleMeetingPointRef
VehicleMeetingPoint_KeyRef netex:StartVehicleMeetingPointRef
VehicleMeetingPoint_KeyRef netex:ToVehicleMeetingPointRef
VehicleMeetingPoint_UniqueBy_Id_Version netex:FareVehicleMeetingPoint
VehicleTypeZoneRestrictionZone_AnyVersionedKey netex:VehicleTypeZoneRestrictionZone
VehicleTypeZoneRestrictionZone_KeyRef netex:VehicleTypeZoneRestrictionZoneRef
VehicleTypeZoneRestrictionZone_UniqueBy_Id_Version netex:VehicleTypeZoneRestrictionZone
WheelchairVehicleEquipment_AnyKeyRef netex:WheelchairVehicleEquipmentRef
WireElement_KeyRef netex:WireElementRef
Zone_AnyVersionedKey netex:ConnectionZone
Zone_AnyVersionedKey netex:VehicleEntrance
After #462 this remains:
AccessSummary_KeyRef netex:AccessSummaryRef
AccountableElementPart_AnyVersionedKey netex:AccountableElementPart
AccountableElementPart_KeyRef netex:AccountableElementPartRef
AccountableElementPart_UniqueBy_Id_Version netex:AccountableElementPart
Authority_KeyRef netex:ParentAuthorityRef
Branding_AnyKeyRef netex:DefaultBrandingRef
Call_KeyRef netex:CallRef
Cell_AnyVersionedKey_ordered netex:StandardCell
Cell_KeyRef netex:StandardCellRef
CommercialProfile_KeyRef netex:BaseCommercialProfileRef
CustomerPurchaseParameterAssignment_KeyRef netex:CustomerPurchaseParameterAssignmentRef
Direction_KeyRef netex:ReverseDirectionRef
Entity_Entity_AnyKeyRef netex:DefaultEntity_EntityRef
Entity_Entity_AnyKeyRef netex:Entity_EntityRef
FareStructure_AnyVersionedKey netex:FareStructure
FareStructure_KeyRef netex:FareStructureRef
FareStructure_UniqueBy_Id_Version netex:FareStructure
FareZone_KeyRef netex:FromFareZoneRef
FareZone_KeyRef netex:ToFareZoneRef
FlexibleOperation_KeyRef netex:FlexibleOperationRef
GeneralGroupOfEntities_AnyKeyRef DistributionGroupRef
GeneralOrganisation_KeyRef netex:ParentGeneralOrganisationRef
GenericParameterAssignment_KeyRef netex:GenericParameterAssignmentRef
GroupOfServicesMember_KeyRef netex:GroupOfServicesMemberRef
InfrastructureLink_AnyVersionedKey netex:Element
JourneyPartPosition_KeyRef netex:JourneyPartPositionRef
JourneyRunTime_KeyRef netex:JourneyRunTimeRef
LinkOnSection_KeyRef netex:LinkOnSectionRef
LinkSequence_AnyVersionedKey netex:DeadRunServicePattern
ManagementAgent_KeyRef netex:ParentManagementAgentRef
NavigationPathAssignment_KeyRef netex:NavigationPathAssignmentRef
NoticeAssignment_KeyRef netex:NoticeAssignmentRef
Operator_KeyRef netex:ParentOperatorRef
ParkingAreaCapacityAssignment_AnyVersionedKey netex:ParkingAreaCapacityAssignment
ParkingAreaCapacityAssignment_KeyRef netex:ParkingAreaCapacityAssignmentRef
ParkingAreaCapacityAssignment_UniqueBy_Id_Version_Order netex:ParkingAreaCapacityAssignment
PathLink_KeyRef netex:SitePathLinkRef
PlaceLighting_AnyKeyRef netex:PlaceLightingRef
PointInTimingPatternChild_AnyVersionedKey netex:PointInTimingPattern
PointInTimingPattern_KeyRef netex:PointInTimingPatternRef
PointInTimingPattern_UniqueBy_Id_Version netex:PointInTimingPattern
PointOfInterestClassificationHierarchy_KeyRef netex:PointOfInterestClassificationHierarchyRef
PointOfInterestEntrance_KeyRef netex:ParentPointOfInterestEntranceRef
PointOnLink_UniqueBy_Id_Version netex:EndPointOnLink
PointOnLink_UniqueBy_Id_Version netex:StartPointOnLink
PointOnSection_KeyRef netex:PointOnSectionRef
QueuingEquipment_AnyKeyRef netex:QueuingEquipmentRef
QueuingEquipment_AnyVersionedKey netex:QueuingEquipment
QueuingEquipment_UniqueBy_Id_Version netex:QueuingEquipment
RailwayElement_KeyRef netex:RailwayElementRef
RelatedOrganisation_KeyRef netex:RelatedOrganisationRef
ResponsibilityRoleAssignment_AnyKeyRef netex:ResponsibilityRoleAssignmentRef
ResponsibilitySet_AnyKeyRef netex:DelegatedResponsibilitySetRef
ResponsibilitySet_AnyVersionedKey netex:DefaultResponsibilitySet
ResponsibilitySet_UniqueBy_Id_Version netex:DelegatedResponsibilitySet
RoadElement_KeyRef netex:RoadElementRef
SalesNoticeAssignment_KeyRef netex:SalesNoticeAssignmentRef
ScheduledOperation_KeyRef netex:ScheduledOperationRef
ScheduledStopPoint_KeyRef netex:NextStopPointRef
SectionInSequence_KeyRef netex:SectionInSequenceRef
ServicedOrganisation_KeyRef netex:ParentServicedOrganisationRef
ServiceLinkInJourneyPattern_KeyRef netex:ServiceLinkInJourneyPatternRef
ServicePattern_AnyVersionedKey netex:DeadRunPattern
ServicePattern_KeyRef netex:DeadRunServicePatternRef
ServicePattern_UniqueBy_Id_Version netex:DeadRunPattern
SpecificParameterAssignment_KeyRef netex:SpecificParameterAssignmentRef
StopPlaceEntrance_KeyRef netex:ParentStopPlaceEntranceRef
TariffZone_AnyKeyRef netex:ParentTariffZoneRef
TaxiStand_KeyRef netex:ParentTaxiStandRef
TravelAgent_KeyRef netex:ParentTravelAgentRef
TypeOfFarePaymentMethod_AnyVersionedKey netex:TypeOfFarePaymentMethod
TypeOfFarePaymentMethod_KeyRef netex:TypeOfFarePaymentMethodRef
TypeOfFarePaymentMethod_UniqueBy_Id_Version netex:TypeOfFarePaymentMethod
ValueSet_AnyKeyRef netex:ValueSetRef
VehicleMeetingPoint_AnyVersionedKey netex:FareVehicleMeetingPoint
VehicleMeetingPointInPath_KeyRef netex:VehicleMeetingPointInPathRef
VehicleMeetingPoint_KeyRef netex:EndVehicleMeetingPointRef
VehicleMeetingPoint_KeyRef netex:FromVehicleMeetingPointRef
VehicleMeetingPoint_KeyRef netex:StartVehicleMeetingPointRef
VehicleMeetingPoint_KeyRef netex:ToVehicleMeetingPointRef
VehicleMeetingPoint_UniqueBy_Id_Version netex:FareVehicleMeetingPoint
VehicleTypeZoneRestrictionZone_AnyVersionedKey netex:VehicleTypeZoneRestrictionZone
VehicleTypeZoneRestrictionZone_KeyRef netex:VehicleTypeZoneRestrictionZoneRef
VehicleTypeZoneRestrictionZone_UniqueBy_Id_Version netex:VehicleTypeZoneRestrictionZone
WheelchairVehicleEquipment_AnyKeyRef netex:WheelchairVehicleEquipmentRef
WireElement_KeyRef netex:WireElementRef
Zone_AnyVersionedKey netex:ConnectionZone
It looks that most are pointing objects that, at the end of the day, were not kept (I just quickly checked some and it was the case for all). So that looks like something to be cleaned !
Well detected.
===================== As far as the Shortlist of M/U/A points, the following notes apply:
U Entity_Entity_AnyVersionedKey netex:Entity_Entity U Point_AnyVersionedKey netex:Point A Link_AnyVersionedKey netex:Link U TravelSpecification_AnyVersionedKey netex:TravelSpecification
U VehicleMeetingPlace_AnyVersionedKey netex:VehicleMeetingPlace M InfrastructureLink_AnyVersionedKey netex:Element M FareStructure_AnyVersionedKey netex:FareStructure A FarePrice_AnyVersionedKey netex:FarePrice A Zone_AnyVersionedKey netex:VehicleEntrance
NB LINK sequence is abstract but DeadRunServicePatternI sCOncrete M LinkSequence_AnyVersionedKey netex:DeadRunServicePattern
U ParkingAreaCapacityAssignment_AnyVersionedKey netex:ParkingAreaCapacityAssignment U VehicleMeetingPointAssignment_AnyVersionedKey_ordered netex:VehicleMeetingPointAssignment
• Should be QueueingEquipment
M QueuingEquipment_AnyVersionedKey netex:QueuingEquipment
• Should be VehicleTypeZoneRestriction
M VehicleTypeZoneRestrictionZone_AnyVersionedKey netex:VehicleTypeZoneRestrictionZone
• Should be DeadRunJourneyPattern
M ServicePattern_AnyVersionedKey netex:DeadRunPattern
• Should be AccountableElement
M AccountableElementPart_AnyVersionedKey netex:AccountableElementPart
• Should be TypeOfPaymentMethod
M TypeOfFarePaymentMethod_AnyVersionedKey netex:TypeOfFarePaymentMethod
• Drop netex:FareVehicleMeetingPoint
M VehicleMeetingPoint_AnyVersionedKey netex:FareVehicleMeetingPoint
• Drop netex:ConnectionZone (And zone is abstract)
M Zone_AnyVersionedKey netex:ConnectionZone
• Drop netex:StandardCell
M Cell_AnyVersionedKey_ordered netex:StandardCell
• Drop
M PointInTimingPatternChild_AnyVersionedKey netex:PointInTimingPattern
A ResponsibilityRole_AnyVersionedKey netex:ResponsibilityRole
As far as the longer list of Refs this needs a careful examination : some errors are consequences of the errors listed above
However Some of the elements look legitimate concrete references for example RailwayElement_KeyRef netex:RailwayElementRef WireElement_KeyRef netex:WireElementRef
There are definitely some abstract refs that can be dropped for example
fareStructure_AnyVersionedKey netex:FareStructure FareStructure_KeyRef netex:FareStructureRef FareStructure_UniqueBy_Id_Version netex:FareStructure
There are definitely some Typos
• Should be StartTariffZoneRef
FareZone_KeyRef netex:FromFareZoneRef
FareZone_KeyRef netex:ToFareZoneRef
• Should be queuing
QueuingEquipment_AnyKeyRef netex:QueuingEquipmentRef QueuingEquipment_AnyVersionedKey netex:QueuingEquipment QueuingEquipment_UniqueBy_Id_Version netex:QueuingEquipmentRelatedOrganisation_KeyRef netex:RelatedOrganisationRef
TypeOfFarePaymentMethod_AnyVersionedKey netex:TypeOfFarePaymentMethod TypeOfFarePaymentMethod_KeyRef netex:TypeOfFarePaymentMethodRef TypeOfFarePaymentMethod_UniqueBy_Id_Version netex:TypeOfFarePaymentMethod
================================ Not yet checked AccessSummary_KeyRef netex:AccessSummaryRef AccountableElementPart_AnyVersionedKey netex:AccountableElementPart AccountableElementPart_KeyRef netex:AccountableElementPartRef AccountableElementPart_UniqueBy_Id_Version netex:AccountableElementPart Authority_KeyRef netex:ParentAuthorityRef Branding_AnyKeyRef netex:DefaultBrandingRef Call_KeyRef netex:CallRef Cell_AnyVersionedKey_ordered netex:StandardCell Cell_KeyRef netex:StandardCellRef CommercialProfile_KeyRef netex:BaseCommercialProfileRef CustomerPurchaseParameterAssignment_KeyRef netex:CustomerPurchaseParameterAssignmentRef Direction_KeyRef netex:ReverseDirectionRef Entity_Entity_AnyKeyRef netex:DefaultEntity_EntityRef Entity_Entity_AnyKeyRef netex:Entity_EntityRef FlexibleOperation_KeyRef netex:FlexibleOperationRef GeneralGroupOfEntities_AnyKeyRef DistributionGroupRef GeneralOrganisation_KeyRef netex:ParentGeneralOrganisationRef GenericParameterAssignment_KeyRef netex:GenericParameterAssignmentRef GroupOfServicesMember_KeyRef netex:GroupOfServicesMemberRef InfrastructureLink_AnyVersionedKey netex:Element JourneyPartPosition_KeyRef netex:JourneyPartPositionRef JourneyRunTime_KeyRef netex:JourneyRunTimeRef LinkOnSection_KeyRef netex:LinkOnSectionRef LinkSequence_AnyVersionedKey netex:DeadRunServicePattern ManagementAgent_KeyRef netex:ParentManagementAgentRef NavigationPathAssignment_KeyRef netex:NavigationPathAssignmentRef NoticeAssignment_KeyRef netex:NoticeAssignmentRef Operator_KeyRef netex:ParentOperatorRef ParkingAreaCapacityAssignment_AnyVersionedKey netex:ParkingAreaCapacityAssignment ParkingAreaCapacityAssignment_KeyRef netex:ParkingAreaCapacityAssignmentRef ParkingAreaCapacityAssignment_UniqueBy_Id_Version_Order netex:ParkingAreaCapacityAssignment PathLink_KeyRef netex:SitePathLinkRef PlaceLighting_AnyKeyRef netex:PlaceLightingRef PointInTimingPatternChild_AnyVersionedKey netex:PointInTimingPattern PointInTimingPattern_KeyRef netex:PointInTimingPatternRef PointInTimingPattern_UniqueBy_Id_Version netex:PointInTimingPattern PointOfInterestClassificationHierarchy_KeyRef netex:PointOfInterestClassificationHierarchyRef PointOfInterestEntrance_KeyRef netex:ParentPointOfInterestEntranceRef PointOnLink_UniqueBy_Id_Version netex:EndPointOnLink PointOnLink_UniqueBy_Id_Version netex:StartPointOnLink PointOnSection_KeyRef netex:PointOnSectionRef ResponsibilityRoleAssignment_AnyKeyRef netex:ResponsibilityRoleAssignmentRef ResponsibilitySet_AnyKeyRef netex:DelegatedResponsibilitySetRef ResponsibilitySet_AnyVersionedKey netex:DefaultResponsibilitySet ResponsibilitySet_UniqueBy_Id_Version netex:DelegatedResponsibilitySet RoadElement_KeyRef netex:RoadElementRef SalesNoticeAssignment_KeyRef netex:SalesNoticeAssignmentRef ScheduledOperation_KeyRef netex:ScheduledOperationRef ScheduledStopPoint_KeyRef netex:NextStopPointRef SectionInSequence_KeyRef netex:SectionInSequenceRef ServicedOrganisation_KeyRef netex:ParentServicedOrganisationRef ServiceLinkInJourneyPattern_KeyRef netex:ServiceLinkInJourneyPatternRef ServicePattern_AnyVersionedKey netex:DeadRunPattern ServicePattern_KeyRef netex:DeadRunServicePatternRef ServicePattern_UniqueBy_Id_Version netex:DeadRunPattern SpecificParameterAssignment_KeyRef netex:SpecificParameterAssignmentRef StopPlaceEntrance_KeyRef netex:ParentStopPlaceEntranceRef TariffZone_AnyKeyRef netex:ParentTariffZoneRef TaxiStand_KeyRef netex:ParentTaxiStandRef TravelAgent_KeyRef netex:ParentTravelAgentRef
ValueSet_AnyKeyRef netex:ValueSetRef VehicleMeetingPoint_AnyVersionedKey netex:FareVehicleMeetingPoint VehicleMeetingPointInPath_KeyRef netex:VehicleMeetingPointInPathRef VehicleMeetingPoint_KeyRef netex:EndVehicleMeetingPointRef VehicleMeetingPoint_KeyRef netex:FromVehicleMeetingPointRef VehicleMeetingPoint_KeyRef netex:StartVehicleMeetingPointRef VehicleMeetingPoint_KeyRef netex:ToVehicleMeetingPointRef VehicleMeetingPoint_UniqueBy_Id_Version netex:FareVehicleMeetingPoint VehicleTypeZoneRestrictionZone_AnyVersionedKey netex:VehicleTypeZoneRestrictionZone VehicleTypeZoneRestrictionZone_KeyRef netex:VehicleTypeZoneRestrictionZoneRef VehicleTypeZoneRestrictionZone_UniqueBy_Id_Version netex:VehicleTypeZoneRestrictionZone WheelchairVehicleEquipment_AnyKeyRef netex:WheelchairVehicleEquipmentRef
Zone_AnyVersionedKey netex:ConnectionZone
The following list of key-identity-constraints contain invalid xpath expressions towards elements that do not exist or are abstract in the schema. I have tagged "Abstract", "Missing", "Unknown". The Unknown cases might show a programming error. Why this element was not found in the ordinary selection of entities evaluated.
Element labelled with M and A need urgent attention, I'll investigate why the U's pop up.