Generic:weekDayPeriod/3.2: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page Generic:weekDayPeriod/3.2 using XSD2MediaWiki Converter 1.1.1)
 
(Updated page Generic:weekDayPeriod/3.2 using XSD2MediaWiki Converter 1.1.1)
 
Line 3: Line 3:
|element=weekDayPeriod
|element=weekDayPeriod
|subschema=generic
|subschema=generic
|subschema_slug=generic
|subschema_slug=Generic
|version=3.2
|version=3.2
|parent={{parent|subschema=generic|name=validityTime}}
|parent={{parent|subschema=Generic|name=validityTime}}
|children={{child|subschema=generic|name=periodRule|multiplicity=1..1}}
|children={{child|subschema=Generic|name=periodRule|multiplicity=1..1}}
|attributes={{attribut|name=pattern|pflicht=1|typ=xs:string|documentation=7-character field with 0 or 1 for each day of the week, the first day of the week being a Monday. A 0 indicates a non-operating day, while a 1 indicates an operating day. |patterns={{pattern|[0-1]{7}}}|length=7}},
|attributes={{attribut|name=pattern|pflicht=1|typ=xs:string|documentation=7-character field with 0 or 1 for each day of the week, the first day of the week being a Monday. A 0 indicates a non-operating day, while a 1 indicates an operating day. |patterns={{pattern|[0-1]{7}}}|length=7}},
{{attribut|name=publicHolidayMode|pflicht=0|typ=xs:string|documentation=Indicates how the enclosing validity operates in regards to public holidays.|werte={{wert|name=neverRunsOnHolidays|documentation=Indicates that the validity does not apply on all public holidays no matter if the specified pattern is marked with one for that day. Trains referencing a validity with this value set will not run on public holidays.}}{{wert|name=runsOnAllHolidays|documentation=Indicates that the validity applies on all public holidays. This means that no matter what is specified via the bitMask, the validity will apply and a train using this validity is scheduled to run.}}{{wert|name=runsOnIndicatedHolidays|documentation=Indicates that the validity applies even if a day is a public holiday. }}}}
{{attribut|name=publicHolidayMode|pflicht=0|typ=xs:string|documentation=Indicates how the enclosing validity operates in regards to public holidays.|werte={{wert|name=neverRunsOnHolidays|documentation=Indicates that the validity does not apply on all public holidays no matter if the specified pattern is marked with one for that day. Trains referencing a validity with this value set will not run on public holidays.}}{{wert|name=runsOnAllHolidays|documentation=Indicates that the validity applies on all public holidays. This means that no matter what is specified via the bitMask, the validity will apply and a train using this validity is scheduled to run.}}{{wert|name=runsOnIndicatedHolidays|documentation=Indicates that the validity applies even if a day is a public holiday. }}}}
}}
}}

Latest revision as of 15:47, 17 May 2024

Automatic Schemaexport for Element weekDayPeriod

Autoexport from the XML-Schema for element Generic:weekDayPeriod of railML® version 3.2
 
Documentation

This element is not documented in the schema!

Subschema

generic

Parents*
Children

periodRule (1..1)

Attributes:

  • pattern: 7-character field with 0 or 1 for each day of the week, the first day of the week being a Monday. A 0 indicates a non-operating day, while a 1 indicates an operating day. (obligatory; xs:string; length: 7; patterns: [0-1]{7}),

  • publicHolidayMode: Indicates how the enclosing validity operates in regards to public holidays. (optional; xs:string)
Possible values:
  • neverRunsOnHolidays: Indicates that the validity does not apply on all public holidays no matter if the specified pattern is marked with one for that day. Trains referencing a validity with this value set will not run on public holidays.
  • runsOnAllHolidays: Indicates that the validity applies on all public holidays. This means that no matter what is specified via the bitMask, the validity will apply and a train using this validity is scheduled to run.
  • runsOnIndicatedHolidays: Indicates that the validity applies even if a day is a public holiday.
*Notice:
Elements may have different parent elements. As a consequence they may be used in different contexts.
Please, consider this as well as a user of this wiki as when developing this documentation further.
Aspects that are only relevant with respect to one of several parents should be explained exclusively in the documentation of the respective parent element.