Definition Type Element
Name calendar
Abstract False
MinOccurs 0
MaxOccurs (1)
Documentation Declaration for a custom calendar.
XSD Schema Character Sheet Definition.xsd
XSD Schema Diagram
XSD Schema Code
<xs:element minOccurs="0" name="calendar" >
  <xs:annotation>
    <xs:documentation>Declaration for a custom calendar.</xs:documentation>
  </xs:annotation>

  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" name="minutes-per-hour" type="xs:integer">
        <xs:annotation>
          <xs:documentation>The number of minutes that make up an hour.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="hours-per-day" type="xs:integer">
        <xs:annotation>
          <xs:documentation>The number of hours in a single day.</xs:documentation>
        </xs:annotation>

      </xs:element>

      <xs:element minOccurs="0" name="days">
        <xs:annotation>
          <xs:documentation>The days that make up a week.  How many &quot;day&quot; elements occur in this clause implies the number of days in a week.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="day" type="xs:string">
              <xs:annotation>
                <xs:documentation>The name of a day of the week.  The more &quot;day&quot; elements that exist, the more days there are in a week.</xs:documentation>
              </xs:annotation>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

      <xs:element minOccurs="0" name="months">
        <xs:annotation>
          <xs:documentation>Definition for the months of a year.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="month">
              <xs:annotation>
                <xs:documentation>A month element.  The number of these elements that occurs implies the number of months in a year.</xs:documentation>
              </xs:annotation>

              <xs:complexType>
                <xs:sequence>
                  <xs:element minOccurs="0" name="name" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>The name of the month.</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                  <xs:element minOccurs="0" name="num-days" type="xs:integer">
                    <xs:annotation>
                      <xs:documentation>The number of days in this month.</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                </xs:sequence>

              </xs:complexType>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

      <xs:element minOccurs="0" name="weather-conditions">
        <xs:annotation>
          <xs:documentation>Clause to define arbitrary weather conditions.  Once defined, these conditions can be selected to display in the program's calendar.</xs:documentation>
        </xs:annotation>

        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" name="weather-condition">
              <xs:annotation>
                <xs:documentation>A weather condition element.</xs:documentation>
              </xs:annotation>

              <xs:complexType>
                <xs:sequence>
                  <xs:element minOccurs="0" name="name" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>The name of this weather condition, which is displayed in the program's calendar when this condition is selected.</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                  <xs:element minOccurs="0" name="image" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>An image to go along with the weather condition.  This is rendered over the calendar's gradient, but beneath the calendar's text.

The location of this image is relative to the data location that the program is using.

Note that this is an experimental feature and may not work correctly.
</xs:documentation>
                    </xs:annotation>

                  </xs:element>

                </xs:sequence>

              </xs:complexType>

            </xs:element>

          </xs:sequence>

        </xs:complexType>

      </xs:element>

    </xs:sequence>

  </xs:complexType>

</xs:element>
Child Elements
Name Type Min Occurs Max Occurs
Derivation Tree
[No Sub Types]
calendar
    [No Super Types]
Generated using Liquid XML Studio by Liquid Technologies Ltd