In Transmodel, a DAY TYPE is defined as a combination of various properties a day may have, and which will influence the transport demand and the running conditions (e.g. traffic flow for buses).
...
Classification | Name | Type | Cardinality | Description |
::> | ::> | DataManagedObject | ::> | DAY TYPE inherits from DATA MANAGED OBJECT. |
«PK» | id | DayTypeIdType | 1:1 | Identifier of DAY TYPE. |
Name | MultilingualString | 0:1 | Name of DAY TYPE. | |
ShortName | MultilingualString | 0:1 | Short name of DAY TYPE. | |
Description | MultilingualString | 0:1 | Description of DAY TYPE. Currently not in use in the Austrian NeTEx Profile | |
«AK» | PrivateCode | PrivateCode | 0:1 | Alternative Identifier for DAY TYPE. Currently not in use in the Austrian NeTEx Profile |
EarliestTime | xsd:time | 0:1 | Earliest start time of DAY TYPE. Currently not in use in the Austrian NeTEx Profile | |
DayLength | xsd:duration | 0:1 | Length of DAY TYPE.Currently not in use in the Austrian NeTEx Profile | |
«cntd» | properties | PropertyOfDay | 0:* | PROPERTies of DAY TYPE. Currently not in use in the Austrian NeTEx Profile |
«cntd» | timebands | Timeband | 0:* | TIMEBANDs of DAY TYPE. Currently not in use in the Austrian NeTEx Profile |
Example from the Austrian NeTEx Profile:
...
PropertyOfDay (Subcomponent of DayType)
...
Classification | Name | Type | Cardinality | Description | |
Name | MultilingualString | 0:1 | Name of PROPERTY OF DAY. | ||
Description | MultilingualString | 0:1 | Description of PROPERTY OF DAY. | ||
«enum» | DaysOfWeek | DayOfWeekEnum | 0:7 | Days of week assigned to PROPERTY OF DAY. | |
«enum» | WeeksOfMonth | WeekOfMonthEnum | 0:5 | Weeks of month (1-5) assigned to PROPERTY OF DAY. | |
| a | MonthOfYear | xsd:gMonth | 0:1 | For those day types that occur on the same month every year; a month as a number. |
| b | DayOfMonth | xsd:gDay | 0:1 | For those day types that occur on the same day of the month; a month as a number. |
c | DayOfYear | xsd:gMonthDay | 0:1 | For those day types that occur on the same day every year, month and day, assigned to PROPERTY OF DAY. | |
«enum» | CountryRef | CountryEnum | 0:* | Country of Holiday type for PROPERTY OF DAY. | |
«enum» | HolidayTypes | HolidayTypeEnum | 0:5 | Holiday type assigned to PROPERTY OF DAY. · AnyDay, · WorkingDay, NotWorkingDay · SchoolDay, NotSchoolDay · AnyHoliday, · NotHoliday, · LocalHoliday, · RegionalHoliday, · NationalHoliday · HolidayDisplacementDay, · EveOfHoliday | |
«enum» | Seasons | SeasonEnum | 0:4 | Season of year assigned to PROPERTY OF DAY. · Spring, · Summer, · Autumn, Winter, · Perennially | |
«enum» | Tides | TideEnum | 0:4 | State of tide assigned to PROPERTY OF DAY. | |
«enum» | DayEvent | DayEventEnum | 0:1 | Events happening on day. | |
«enum» | Crowding | CrowdingEnum | 0:1 | Relative busyness of day. · veryQuiet · quiet · normal · busy · veryBusy |
Currently this XML Element is not in use in the Austrian NeTEx Profile
Timeband (Subcomponent of DayType)
A period in a day, significant for some aspect of public transport, e.g. similar traffic conditions or fare category.
In EPIP TIMEBANDs are limited to use within a DAY TYPE
Timeband – XML Element
Classification | Name | Type | Cardinality | Description |
::> | ::> | DataManagedObject | ::> | TIME BAND inherits from DATA MANAGED OBJECT. Note that most inherited values are suppressed. |
«FK» | id | TimebandIdType | 1:1 | Identifier of TIME BAND. |
Name | MultilingualString | 0:1 | Name of TIME BAND. | |
StartTime | xsd:time | 1:1 | Inclusive start time of TIME BAND. | |
EndTime | xsd:time | 1:1 | Inclusive end time of TIME BAND. | |
DayOffset | xsd:integer | 0:1 | Day offset of end time from start time. If same day, zero. |
Currently this XML Element is not in use in the Austrian NeTEx Profile