Skip to content

Elements with multiple type definitions #965

@skinkie

Description

@skinkie

This is not an issue per se, but from a consistency point of view something we may want to avoid.

AccessNumber:
   - xsd:integer
   - xsd:positiveInteger
AccountingCode:
   - PrivateCodeStructure
   - xsd:normalizedString
Address:
   - Address_VersionStructure
   - PostalAddress_VersionStructure
AdjustmentUnits:
   - StepLimitUnitEnumeration
   - xsd:decimal
Amount:
   - CurrencyAmountType
   - xsd:decimal
Arrival:
   - ArrivalStructure
   - DeadRunCallPartStructure
BackgroundColour:
   - ColourValueType
   - PrintColourValueType
Bearing:
   - AbsoluteBearingType
   - xsd:integer
BookingUrl:
   - InfoLinkStructure
   - xsd:anyURI
Capacity:
   - NumberOfPassengers
   - NumberOfVehicles
CollectionPointRef:
   - PointRefStructure
   - Point_VersionStructure
Colour:
   - ColourValueType
   - PrintColourValueType
ContactDetails:
   - ContactDetailsStructure
   - ContactStructure
Date:
   - xsd:date
   - xsd:dateTime
DefaultLocationSystem:
   - SrsNameType
   - xsd:normalizedString
Departure:
   - DeadRunCallPartStructure
   - DepartureStructure
Destination:
   - DeadRunEndpointStructure
   - GroupOfServicesEndPoint_DerivedViewStructure
   - JourneyEndpointStructure
   - TravelSpecificationSummaryEndpointStructure
DirectionType:
   - DirectionTypeEnumeration
   - RelativeDirectionEnumeration
Distance:
   - DistanceType
   - LengthType
EndDate:
   - xsd:date
   - xsd:dateTime
EndPointRef:
   - GaragePointRefStructure
   - PointRefStructure
   - ScheduledStopPointRefStructure
   - TimingPointInJourneyPatternRefStructure
   - TimingPointRefStructure
EndTime:
   - xsd:dateTime
   - xsd:time
EquipmentRef:
   - ActivatedEquipmentRefStructure
   - EquipmentRefStructure
Factor:
   - xsd:anyType
   - xsd:decimal
FareClass:
   - FareClassEnumeration
   - FareClassListOfEnumerations
ForVehicleTypeRef:
   - TransportTypeRefStructure
   - VehicleTypeRefStructure
From:
   - AccessEndStructure
   - ConnectionEndStructure
   - DeckPathLinkEndStructure
   - DefaultConnectionEndStructure
   - SiteConnectionEndStructure
   - SitePathLinkEndStructure
FromDate:
   - xsd:date
   - xsd:dateTime
FromPointRef:
   - ActivationPointRefStructure
   - PointRefStructure
   - RailwayPointRefStructure
   - RoadPointRefStructure
   - RoutePointRefStructure
   - ScheduledStopPointRefStructure
   - TimingPointRefStructure
   - VehicleMeetingPointRefStructure
   - WirePointRefStructure
FulfilmentMethodType:
   - FulfilmentMethodListOfEnumerations
   - FulfilmentMethodTypeEnumeration
Gender:
   - GenderEnumeration
   - GenderLimitationEnumeration
Gradient:
   - xsd:decimal
   - xsd:integer
   - xsd:positiveInteger
Heading:
   - CompassBearing16Enumeration
   - PathHeadingEnumeration
Label:
   - MultilingualString
   - xsd:normalizedString
LinkRef:
   - ActivationLinkRefStructure
   - LinkRefStructure
MachineReadable:
   - MachineReadableListOfEnumerations
   - xsd:boolean
MaximumLength:
   - LengthType
   - xsd:integer
MinimumAge:
   - xsd:integer
   - xsd:nonNegativeInteger
NumberOfSpaces:
   - NumberOfVehicles
   - xsd:integer
NumberOfSteps:
   - xsd:nonNegativeInteger
   - xsd:positiveInteger
Orientation:
   - ComponentOrientationEnumeration
   - VehicleOrientationEnumeration
Origin:
   - DeadRunEndpointStructure
   - GroupOfServicesEndPoint_DerivedViewStructure
   - JourneyEndpointStructure
   - TravelSpecificationSummaryEndpointStructure
ParentRef:
   - ParkingPropertiesRefStructure
   - UsageParameterRefStructure
   - VersionOfObjectRefStructure
PaymentMethod:
   - PaymentMethodEnumeration
   - PaymentMethodListOfEnumerations
Phone:
   - PhoneType
   - TelephoneContactStructure
   - xsd:boolean
PointOfInterestEntranceRef:
   - PointOfInterestEntranceRefStructure
   - SiteComponentRefStructure
PointOfInterestSpaceRef:
   - PointOfInterestSpaceRefStructure
   - SiteComponentRefStructure
PointRef:
   - ActivationPointRefStructure
   - PointRefStructure
Precision:
   - DistanceType
   - xsd:integer
ProductType:
   - AmountOfPriceUnitEnumeration
   - PreassignedFareProductEnumeration
   - SaleDiscountRightEnumeration
   - UsageDiscountRightEnumeration
PublicUse:
   - PublicUseEnumeration
   - xsd:boolean
Ranking:
   - GlobalRankingType
   - UserRankingType
   - xsd:integer
RoadAddressRef:
   - AddressRefStructure
   - RoadAddressRefStructure
SequenceFromFront:
   - xsd:integer
   - xsd:positiveInteger
ServiceList:
   - CateringServiceListOfEnumerations
   - CommunicationServiceListOfEnumerations
   - HireServiceListOfEnumerations
   - MoneyServiceListOfEnumerations
   - RetailServiceListOfEnumerations
ShortCode:
   - CleardownCodeType
   - xsd:normalizedString
StartDate:
   - xsd:date
   - xsd:dateTime
StartPointRef:
   - GaragePointRefStructure
   - PointRefStructure
   - ScheduledStopPointRefStructure
   - TimingPointInJourneyPatternRefStructure
   - TimingPointRefStructure
StartTime:
   - xsd:dateTime
   - xsd:time
Status:
   - ParkingBayStatusEnumeration
   - VersionStatusEnumeration
   - xsd:boolean
   - xsd:normalizedString
Text:
   - MultilingualString
   - TextType
TextColour:
   - ColourValueType
   - PrintColourValueType
To:
   - AccessEndStructure
   - ConnectionEndStructure
   - DeckPathLinkEndStructure
   - DefaultConnectionEndStructure
   - SiteConnectionEndStructure
   - SitePathLinkEndStructure
ToDate:
   - xsd:date
   - xsd:dateTime
ToPointRef:
   - ActivationPointRefStructure
   - PointRefStructure
   - RailwayPointRefStructure
   - RoadPointRefStructure
   - RoutePointRefStructure
   - ScheduledStopPointRefStructure
   - TimingPointRefStructure
   - VehicleMeetingPointRefStructure
   - WirePointRefStructure
TotalCapacity:
   - NumberOfPassengers
   - NumberOfVehicles
   - xsd:nonNegativeInteger
TransportMode:
   - AllModesEnumeration
   - AllPublicTransportModesEnumeration
   - TransportModeStructure
Type:
   - xsd:NCName
   - xsd:QName
Units:
   - xsd:decimal
   - xsd:integer
Value:
   - xsd:anyType
   - xsd:normalizedString
VehicleMeetingPointRef:
   - PointRefStructure
   - VehicleMeetingPointRefStructure
VehicleOrientation:
   - VehicleOrientationEnumeration
   - xsd:boolean
ZoneUse:
   - TransportZoneUseEnumeration
   - ZoneUseEnumeration
accessRightParameterAssignments:
   - accessRightParameterAssignmentsInFrame_RelStructure
   - accessRightParameterAssignments_RelStructure
accesses:
   - accessesInFrame_RelStructure
   - accesses_RelStructure
actualVehicleEquipments:
   - actualVehicleEquipments_RelStructure
   - equipments_RelStructure
bookingArrangements:
   - bookingArrangementsInFrame_RelStructure
   - bookingArrangements_RelStructure
calls:
   - calls_RelStructure
   - deadRunCalls_RelStructure
checkConstraints:
   - checkConstraintInFrame_RelStructure
   - checkConstraints_RelStructure
classes:
   - classRefs_RelStructure
   - classesInRepository_RelStructure
components:
   - trainComponents_RelStructure
   - trainsInCompoundTrain_RelStructure
configurationConditions:
   - validityConditionRefs_RelStructure
   - validityConditions_RelStructure
coupledJourneys:
   - coupledJourneysInFrame_RelStructure
   - coupledJourneys_RelStructure
coursesOfJourneys:
   - coursesOfJourneysInFrame_RelStructure
   - coursesOfJourneys_RelStructure
crewBases:
   - crewBaseRefs_RelStructure
   - crewBasesInFrame_RelStructure
customerAccounts:
   - customerAccountsInFrame_RelStructure
   - customerAccounts_RelStructure
customerPurchasePackages:
   - customerPurchasePackageRefs_RelStructure
   - customerPurchasePackagesInFrame_RelStructure
   - customerPurchasePackages_RelStructure
dayTypeAssignments:
   - dayTypeAssignmentsInFrame_RelStructure
   - dayTypeAssignments_RelStructure
dayTypes:
   - dayTypeRefs_RelStructure
   - dayTypesInFrame_RelStructure
   - dayTypes_RelStructure
destinationDisplays:
   - destinationDisplayRefs_RelStructure
   - destinationDisplaysInFrame_RelStructure
displayAssignments:
   - displayAssignmentsInFrame_RelStructure
   - displayAssignments_RelStructure
distributionAssignments:
   - distributionAssignmentsInFrame_RelStructure
   - distributionAssignments_RelStructure
entrances:
   - entranceRefs_RelStructure
   - pointOfInterestEntrances_RelStructure
   - siteEntrances_RelStructure
equipments:
   - equipmentsInFrame_RelStructure
   - equipments_RelStructure
   - vehicleEquipments_RelStructure
facilities:
   - ServiceFacilitySet_VersionStructure
   - serviceFacilitySets_RelStructure
   - siteFacilitySets_RelStructure
fareContracts:
   - fareContractsInFrame_RelStructure
   - fareContracts_RelStructure
fareSections:
   - fareSectionsInFrame_RelStructure
   - fareSections_RelStructure
fareStructureElements:
   - fareStructureElementRefs_RelStructure
   - fareStructureElementsInFrame_RelStructure
   - fareStructureElements_RelStructure
fareTables:
   - fareTablesInFrame_RelStructure
   - fareTables_RelStructure
fleets:
   - fleetRefs_RelStructure
   - fleets_RelStructure
frequencyGroups:
   - frequencyGroupsInFrame_RelStructure
   - frequencyGroups_RelStructure
garages:
   - garageRefs_RelStructure
   - garagesInFrame_RelStructure
groupsOfOperators:
   - groupsOfOperatorsInFrame_RelStructure
   - groupsOfOperatorsRefs_RelStructure
groupsOfServices:
   - groupOfServicesRefs_RelStructure
   - groupsOfServicesInFrame_RelStructure
headways:
   - journeyHeadways_RelStructure
   - journeyPatternHeadways_RelStructure
includes:
   - fareTables_RelStructure
   - genericParameterAssignments_RelStructure
   - specificParameterAssignments_RelStructure
   - typesOfFrame_RelStructure
interchangeRules:
   - interchangeRulesInFrame_RelStructure
   - interchangeRules_RelStructure
journeyAccountings:
   - journeyAccountingsInFrame_RelStructure
   - journeyAccountings_RelStructure
journeyMeetings:
   - journeyMeetingViews_RelStructure
   - journeyMeetingsInFrame_RelStructure
journeyParts:
   - journeyPartRefs_RelStructure
   - journeyParts_RelStructure
journeyPatterns:
   - journeyPatternRefs_RelStructure
   - journeyPatternsInFrame_RelStructure
journeys:
   - explicitJourneyRefs_RelStructure
   - journeyRefs_RelStructure
   - travelSpecificationJourneyRefs_RelStructure
   - vehicleJourneyRefs_RelStructure
layovers:
   - journeyLayovers_RelStructure
   - journeyPatternLayovers_RelStructure
   - vehicleJourneyLayovers_RelStructure
limitations:
   - accessibilityLimitations_RelStructure
   - usageParameterRefs_RelStructure
   - usageParameters_RelStructure
lines:
   - lineRefs_RelStructure
   - linesInFrame_RelStructure
linksInSequence:
   - linksInJourneyPattern_RelStructure
   - serviceLinksInJourneyPattern_RelStructure
mediumAccessDevices:
   - mediumAccessDeviceRefs_RelStructure
   - mediumAccessDevicesInFrame_RelStructure
members:
   - commonSectionPointMembers_RelStructure
   - distanceMatrixElements_RelStructure
   - distributionChannelRefs_RelStructure
   - farePrices_RelStructure
   - groupOfServicesMembers_RelStructure
   - lineRefs_RelStructure
   - linkRefs_RelStructure
   - linkSequenceRefs_RelStructure
   - locatableSpotRefs_RelStructure
   - objectRefs_RelStructure
   - organisationRefs_RelStructure
   - placeRefs_RelStructure
   - pointOfInterestClassificationHierarchyMembers_RelStructure
   - pointRefs_RelStructure
   - salesOfferPackageRefs_RelStructure
   - schematicMapMembers_RelStructure
   - singleJourneyRefs_RelStructure
   - siteRefs_RelStructure
   - stopPlaceRefs_RelStructure
   - tariffZoneRefs_RelStructure
   - timeDemandProfileMembers_RelStructure
   - timingLinkRefs_RelStructure
   - transportOrganisationRefs_RelStructure
   - vehicles_RelStructure
   - versionFrameMembers_RelStructure
navigationPaths:
   - navigationPathsInFrame_RelStructure
   - navigationPaths_RelStructure
noticeAssignments:
   - noticeAssignmentViews_RelStructure
   - noticeAssignmentsInFrame_RelStructure
   - noticeAssignments_RelStructure
occupancies:
   - OccupancyViewInFrame_RelStructure
   - OccupancyView_RelStructure
operatingDays:
   - operatingDaysInFrame_RelStructure
   - operatingDays_RelStructure
operatingPeriods:
   - operatingPeriodsInFrame_RelStructure
   - operatingPeriods_RelStructure
operationalContexts:
   - operationalContexRefs_RelStructure
   - operationalContextsInFrame_RelStructure
parts:
   - blockParts_RelStructure
   - journeyParts_RelStructure
pathJunctions:
   - sitePathJunctionsInFrame_RelStructure
   - sitePathJunctions_RelStructure
pathLinks:
   - sitePathLinksInFrame_RelStructure
   - sitePathLinks_RelStructure
placeEquipments:
   - equipments_RelStructure
   - placeEquipments_RelStructure
points:
   - pointRefs_RelStructure
   - timingPoints_RelStructure
pointsInSequence:
   - pointsInJourneyPattern_RelStructure
   - pointsOnRoute_RelStructure
   - stopPointsInJourneyPattern_RelStructure
   - timingPointsInJourneyPattern_RelStructure
   - vehicleMeetingPointsInSequence_RelStructure
pointsOnSection:
   - pointOnLineSections_RelStructure
   - pointsOnSection_RelStructure
priceGroups:
   - farePricesInFrame_RelStructure
   - priceGroups_RelStructure
prices:
   - cappingRulePrices_RelStructure
   - controllableElementPrices_RelStructure
   - customerPurchasePackagePrices_RelStructure
   - distanceMatrixElementPrices_RelStructure
   - farePrices_RelStructure
   - fareProductPrices_RelStructure
   - fareStructureElementPrices_RelStructure
   - fulfilmentMethodPrices_RelStructure
   - geographicalIntervalPrices_RelStructure
   - geographicalUnitPrices_RelStructure
   - qualityStructureFactorPrices_RelStructure
   - salesOfferPackagePrices_RelStructure
   - seriesConstraintPrices_RelStructure
   - timeIntervalPrices_RelStructure
   - timeUnitPrices_RelStructure
   - usageParameterPrices_RelStructure
   - validableElementPrices_RelStructure
reliefOpportunities:
   - reliefOpportunitiesInFrame_RelStructure
   - reliefOpportunities_RelStructure
retailDevices:
   - RetailDevices_RelStructure
   - retailDevicesInFrame_RelStructure
routes:
   - routeRefs_RelStructure
   - routesInFrame_RelStructure
runTimes:
   - journeyPatternRunTimes_RelStructure
   - journeyRunTimes_RelStructure
   - vehicleJourneyRunTimes_RelStructure
salesOfferPackageElements:
   - salesOfferPackageElementsInFrame_RelStructure
   - salesOfferPackageElements_RelStructure
salesOfferPackageSubstitutions:
   - salesOfferPackageSubstitutionsInFrame_RelStructure
   - salesOfferPackageSubstitutions_RelStructure
salesTransactions:
   - salesTransactionRefs_RelStructure
   - salesTransactionsInFrame_RelStructure
seriesConstraints:
   - SeriesConstraints_RelStructure
   - fareSeriesInFrame_RelStructure
   - seriesConstraintRefs_RelStructure
serviceBookingArrangements:
   - serviceBookingArrangementsInFrame_RelStructure
   - serviceBookingArrangements_RelStructure
spaces:
   - parkingCapacities_RelStructure
   - pointOfInterestSpaces_RelStructure
stopAreas:
   - stopAreaRefs_RelStructure
   - stopAreasInFrame_RelStructure
tariffZones:
   - tariffZoneRefs_RelStructure
   - tariffZonesInFrame_RelStructure
tariffs:
   - tariffRefs_RelStructure
   - tariffsInFrame_RelStructure
timeDemandTypes:
   - timeDemandTypeRefs_RelStructure
   - timeDemandTypesInFrame_RelStructure
timebands:
   - timebandRefs_RelStructure
   - timebandsInFrame_RelStructure
   - timebands_RelStructure
trainNumbers:
   - trainNumberRefs_RelStructure
   - trainNumbersInFrame_RelStructure
travelDocuments:
   - travelDocumentsInFrame_RelStructure
   - travelDocuments_RelStructure
travelSpecifications:
   - travelSpecificationsInFrame_RelStructure
   - travelSpecifications_RelStructure
types:
   - linkTypeRefs_RelStructure
   - typeOfPointRefs_RelStructure
   - typeOfZoneRefs_RelStructure
typesOfPaymentMethod:
   - TypeOfPaymentMethodRefs_RelStructure
   - TypeOfPaymentMethod_ValueStructure
usedIn:
   - linkSequenceRefs_RelStructure
   - usedInRefs_RelStructure
validableElements:
   - validableElementsInFrame_RelStructure
   - validableElements_RelStructure
validityParameterAssignments:
   - customerPurchaseParameterAssignments_RelStructure
   - genericParameterAssignments_RelStructure
   - validityParameterAssignments_RelStructure
vehicleJourneyStopAssignments:
   - vehicleJourneyStopAssignmentsInFrame_RelStructure
   - vehicleJourneyStopAssignments_RelStructure
vehicleTypes:
   - transportTypeRefs_RelStructure
   - vehicleTypeRefs_RelStructure
   - vehicleTypesInFrame_RelStructure
vehicles:
   - vehicleRefs_RelStructure
   - vehiclesInFrame_RelStructure
versions:
   - entitiesInVersion_RelStructure
   - versions_RelStructure
waitTimes:
   - journeyPatternWaitTimes_RelStructure
   - journeyWaitTimes_RelStructure
   - vehicleJourneyWaitTimes_RelStructure

Metadata

Metadata

Assignees

No one assigned

    Labels

    hygieneTechnical dept, results in a breaking change.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions