http://dbai.tuwien.ac.at/proj/arte/GES
element Contracts

Documentation

Contracts define constraints which have to be fulfilled for a certain group of employees. These constraints define the schedules and type of work each employee can be assigned to, or, in the case of soft constraints, the quality of such assignments. This includes times of availability, restrictions on the type, number and sequence of shifts, and other information. For example, if some workers are employed only on Mondays to Wednesdays, then their working times will be restricted accordingly. Employees can have multiple contracts. In such cases, all constraints of each contract apply simultaneously.

Properties
This component is not nillable.

Model
<Contracts>
Contract+
</Contracts>


Nested Element Summary
 Contract
          A single contract containing restrictions valid for all employees working under this contract.  
Source
<xs:element name="Contracts">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Contract">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="Label" type="xs:string">
</xs:element>
<xs:element minOccurs="0" name="AllowWorkSwitchesPerShift" type="xs:boolean">
</xs:element>
<xs:element minOccurs="0" name="WorkSwitchLimitPerShift">
<xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedInteger"/>
<xs:element name="Max" type="WeightedInteger"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="PatternConstraints">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="CountConstraint" type="SequenceCount">
</xs:element>
<xs:element name="SequenceConstraint" type="SequenceCount">
</xs:element>
<xs:element name="WeekendCount" type="WeekendSequenceCount">
</xs:element>
<xs:element name="WeekendSequence" type="WeekendSequenceCount">
</xs:element>
<xs:element name="ForbiddenSequence" type="ForbiddenSequence">
</xs:element>
<xs:element name="IdenticalSequence" type="IdenticalSequence">
</xs:element>
<xs:element name="MatchConstraint" type="Match">
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" ref="Conditionals">
</xs:element>
<xs:element minOccurs="0" name="ProvidedSkills">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Skill" type="ID">
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="ValidShiftTypes" type="ID">
</xs:element>
<xs:element minOccurs="0" name="FairnessConstraints">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="LargestWorkloadGap" type="WeightedTimeSpan">
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="UsageOptional">
<xs:complexType>
<xs:attribute name="weight" type="nonNegativeDouble" use="optional">
</xs:attribute>
<xs:attribute default="true" name="countPreAssignments" type="xs:boolean" use="optional">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="MinRestTime" type="WeightedTimeSpan">
</xs:element>
<xs:element name="MinWeekRestTime" type="WeightedTimeSpan">
</xs:element>
<xs:element minOccurs="0" name="Workload" type="WorkloadType">
</xs:element>
<xs:element minOccurs="0" name="ShiftStartTimes">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ShiftTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimePoint">
</xs:element>
<xs:element name="Max" type="WeightedTimePoint">
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="ShiftEndTimes">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ShiftTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimePoint">
</xs:element>
<xs:element name="Max" type="WeightedTimePoint">
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="ShiftLengths">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ShiftTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimeSpan">
</xs:element>
<xs:element name="Max" type="WeightedTimeSpan">
</xs:element>
</xs:choice>
<xs:element minOccurs="0" name="Unit" type="WorkUnit">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="TaskLengths">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="TaskTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimeSpan">
</xs:element>
<xs:element name="Max" type="WeightedTimeSpan">
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="ID" type="ID" use="required">
</xs:attribute>
<xs:attribute name="extends" type="ID" use="optional">
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.