Template:InheritSpecialService: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
m (Example annotation added)
m (Constraints added)
Line 14: Line 14:
:* {{Enum|exclude}}
:* {{Enum|exclude}}


* {{Attr|singleDate}}: This is used to include or exclude a single day. It has to follow the constraints of {{XsdType|date}}. {{AddAnn|{{{singleDate|}}}|{{{singleDate_de|}}} }}
* {{Attr|singleDate}}: This is used to include or exclude a single day. {{AddAnn|{{{singleDate|}}}|{{{singleDate_de|}}} }}


* {{Attr|startDate}}: This is used to include or exclude a time period. It has to follow the constraints of {{XsdType|date}}. {{AddAnn|{{{startDate|}}}|{{{startDate_de|}}} }}
* {{Attr|startDate}}: This is used to include or exclude a time period. {{AddAnn|{{{startDate|}}}|{{{startDate_de|}}} }}


* {{Attr|endDate}}: This is used to include or exclude a time period. It has to follow the constraints of {{XsdType|date}}. {{AddAnn|{{{endDate|}}}|{{{endDate_de|}}} }}
* {{Attr|endDate}}: This is used to include or exclude a time period. {{AddAnn|{{{endDate|}}}|{{{endDate_de|}}} }}


* {{Attr|startTime}}: This is used for a more detailed description of the time period. It has to follow the constraints of {{XsdType|time}}. {{AddAnn|{{{startTime|}}}|{{{startTime_de|}}} }}
* {{Attr|startTime}}: This is used for a more detailed description of the time period. {{AddAnn|{{{startTime|}}}|{{{startTime_de|}}} }}


* {{Attr|endTime}}: This is used for a more detailed description of the time period. It has to follow the constraints of {{XsdType|time}}. {{AddAnn|{{{endTime|}}}|{{{endTime_de|}}} }}
* {{Attr|endTime}}: This is used for a more detailed description of the time period. {{AddAnn|{{{endTime|}}}|{{{endTime_de|}}} }}


|constraints =
|constraints =
The {{Attr|type}} attribute is mandatory. {{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}
* {{Attr|type}} {{XsdType|string}}, mandatory
 
* {{Attr|singleDate}} {{XsdType|date}}, optional
 
* {{Attr|startDate}} {{XsdType|date}}, optional
 
* {{Attr|endDate}} {{XsdType|date}}, optional
 
* {{Attr|startTime}} {{XsdType|time}}, optional
 
* {{Attr|endTime}} {{XsdType|time}}, optional
{{AddAnn|{{{constraints_en|}}}|{{{constraints_de|}}} }}


|example =  
|example =  

Revision as of 16:35, 26 March 2012


specialService
 


Scheme description / Schemenbeschreibung

Position of specialService in the XML-Tree / Position von specialService im XML-Baum

  • Parent: FIXME
  • Children: Not yet described. / Noch nicht beschrieben.

Multiplicity / Anzahl

[1..1]

Semantics / Bedeutung

The Element FIXME describes a calendar based modification of the operatingPeriod by including or excluding certain days or periods. The maximal duration of the underlying timetablePeriod and operatingPeriod may not be expanded with a this FIXME.

Das Element FIXME beschreibt die auf einen Kalender bezogene Modifizierung einer Verkehrsperiode operatingPeriod um einzelne Zusatz- und/oder Ausfalltage oder auch Zusatz- und/oder Ausfallperioden. Die maximale Dauer der zugrundeliegenden Fahrplanperiode timetablePeriod beziehungsweise der darauf basierenden Verkehrsperiode operatingPeriod darf dabei aber nicht erweitert werden.

Attributes of specialService / Attribute von specialService

  • type: It has to follow the constraints of xs:string. Possible values are:
  • include
  • exclude
  • singleDate: This is used to include or exclude a single day.
  • startDate: This is used to include or exclude a time period.
  • endDate: This is used to include or exclude a time period.
  • startTime: This is used for a more detailed description of the time period.
  • endTime: This is used for a more detailed description of the time period.

Syntactic Constraints / Syntaktische Beschränkungen

Best practice & Examples / Empfohlene Anwendung & Beispiele

<specialService type="include" singleDate="2009-12-24"/>

Notes / Anmerkungen

Not yet described. / Noch nicht beschrieben.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.