Enhance TT 'passengerUsage'
<passengerUsage>
More Details in element Use of already defined types from RS
- define new 0 to "unbounded" child elements
<places>
of typetPlaces
- define new 0 to "unbounded" child elements
<service>
of typetService
Move types to CO
- move type
tPlaces
from "rollingstockTypes.xsd" to "railwayBaseTypes.xsd" - move type
tService
from "rollingstockTypes.xsd" to "railwayBaseTypes.xsd"
Using references instead of copies
Define already declared services in RS/../vehicle/wagon/passenger inside TT/../trainPart/formationTT/passengerUsage as available or not with Boolean type (true/false).
e.g. "minibar" is open, "restaurant" is closed ...
without defining the service again with all its attributes as copy from RS.
-
use type
tElementWithIdAndName
as "extension base" for typetService
, providingid
,name
,description
andanyAttribute
. -
alternatively define reference to
vehicle/wagon/passenger/service
with additional attributeavailable
of typexs:boolean