Generic:periodBitmask/3.2: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(Created page Generic:periodBitmask/3.2 using XSD2MediaWiki Converter 1.1.1)
 
(Updated page Generic:periodBitmask/3.2 using XSD2MediaWiki Converter 1.1.1)
 
Line 3: Line 3:
|element=periodBitmask
|element=periodBitmask
|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}}, {{child|subschema=generic|name=weekPatterns|multiplicity=0..1}}
|children={{child|subschema=Generic|name=periodRule|multiplicity=1..1}}, {{child|subschema=Generic|name=weekPatterns|multiplicity=0..1}}
|attributes={{attribut|name=bitmask|pflicht=1|typ=xs:string|documentation=This is a bit mask with 0 or 1 for every day of the timetablePeriod. A 0 indicates a non-operating day, while a 1 indicates an operating day.<br>The first character corresponds with the first day of the bitmaskValidity indicated by the fromDate.<br>The last character corresponds with the last day of the bitmaskValidity. The length of the bitmask specifies the number of days the enclosing validity describes.|patterns={{pattern|[0-1]*}}}},
|attributes={{attribut|name=bitmask|pflicht=1|typ=xs:string|documentation=This is a bit mask with 0 or 1 for every day of the timetablePeriod. A 0 indicates a non-operating day, while a 1 indicates an operating day.<br>The first character corresponds with the first day of the bitmaskValidity indicated by the fromDate.<br>The last character corresponds with the last day of the bitmaskValidity. The length of the bitmask specifies the number of days the enclosing validity describes.|patterns={{pattern|[0-1]*}}}},
{{attribut|name=fromDate|pflicht=1|typ=xs:date|documentation=Specifies the first day when this validities bitmask is to be applied.}},
{{attribut|name=fromDate|pflicht=1|typ=xs:date|documentation=Specifies the first day when this validities bitmask is to be applied.}},
{{attribut|name=timePeriodRef|pflicht=0|typ=xs:string|documentation=Reference to the time period. |patterns={{pattern|(urn:uuid:)?[0-9a-fA-F]&#x007B;8&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;12&#x7D;&#x007C;\&#x007B;[0-9a-fA-F]&#x007B;8&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;12&#x7D;\&#x7D;}}}}
{{attribut|name=timePeriodRef|pflicht=0|typ=xs:string|documentation=Reference to the time period. |patterns={{pattern|(urn:uuid:)?[0-9a-fA-F]&#x007B;8&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;12&#x7D;&#x007C;\&#x007B;[0-9a-fA-F]&#x007B;8&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;4&#x7D;-[0-9a-fA-F]&#x007B;12&#x7D;\&#x7D;}}}}
}}
}}

Latest revision as of 15:47, 17 May 2024

Automatic Schemaexport for Element periodBitmask

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

This element is not documented in the schema!

Subschema

generic

Parents*
Children

periodRule (1..1), weekPatterns (0..1)

Attributes:

  • bitmask: This is a bit mask with 0 or 1 for every day of the timetablePeriod. A 0 indicates a non-operating day, while a 1 indicates an operating day.
    The first character corresponds with the first day of the bitmaskValidity indicated by the fromDate.
    The last character corresponds with the last day of the bitmaskValidity. The length of the bitmask specifies the number of days the enclosing validity describes. (obligatory; xs:string; patterns: [0-1]*),

  • fromDate: Specifies the first day when this validities bitmask is to be applied. (obligatory; xs:date),

  • timePeriodRef: Reference to the time period. (optional; xs:string; patterns: (urn:uuid:)?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\})
*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.