NeTEx icon indicating copy to clipboard operation
NeTEx copied to clipboard

Make `TransportType` abstract

Open Robbendebiene opened this issue 4 months ago • 2 comments

TransportType is declared abstract in Transmodel. As far as I understand it acts as a base type for VehicleType, Train etc.

Also something like ref="TransportType" does not exist anywhere in the NeTEx schema. So there is also no way to define a TransportType.

Robbendebiene avatar Aug 29 '25 09:08 Robbendebiene

I think the Dummy is the Abstract here.

skinkie avatar Aug 29 '25 09:08 skinkie

True but that is because it is a _DummyType. At least it doesn't affect the TransportType which is why I can do this

<vehicleTypes>
  <TransportType>
	...  
  </TransportType>
</vehicleTypes>

Robbendebiene avatar Aug 29 '25 10:08 Robbendebiene