2.2.5.7 Calendar Element
The Calendar XML element specifies a calendar object, which controls the scheduling of resource allocation. It is the root element of XML documents that are used in WSRM method parameters.
-
<xs:element name="Calendar" minOccurs="1" maxOccurs="unbounded" > <xs:complexType name="Calendar"> <xs:sequence> <xs:element name="CalendarName" type="xsd:string" minOccurs="1" maxOccurs="1" /> <xs:element name="CalendarDate" type="xsd:string" minOccurs="0" maxOccurs="1" /> <xs:element minOccurs="0" maxOccurs="1" ref="CalendarRule" /> <xs:element minOccurs="0" maxOccurs="1" ref="CalendarEvent" /> <xs:element name="ScheduleName" type="xsd:string" minOccurs="0" maxOccurs="1" /> <xs:element name="ScheduleDtStart" type="xsd:string" minOccurs="0" maxOccurs="1" /> <xs:element name="ScheduleDtEnd" type="xsd:string" minOccurs="0" maxOccurs="1" /> <xs:element name="Description" type="xsd:string" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:complexType> </xs:element>
Child Elements
Element |
Type |
Description |
---|---|---|
CalendarName |
xsd:string |
A string that specifies the name associated with the calendar object. |
CalendarDate |
xsd:string |
A string that specifies the calendar date, in date format (section 2.2.1.3). |
CalendarRule |
CalendarRule |
A specification of the calendar rule, in the form of a CalendarRule element (section 2.2.5.9). |
CalendarEvent |
CalendarEvent |
A specification of a calendar event, in the form of a CalendarEvent element (section 2.2.5.8). |
ScheduleName |
xsd:string |
A string that specifies the name of the event schedule associated with the calendar object. |
ScheduleDtStart |
xsd:string |
A string that specifies the start date of the event schedule, in date format. |
ScheduleDtEnd |
xsd:string |
A string that specifies the end date of the event schedule, in date format. |
Description |
xsd:string |
A text description of the calendar object. |
Additional XML data formats are specified in section 2.2.5.