Holidays data structure

Element

Description

Type

Occurrences

dayOfMonthHoliday

Holiday specified by day of the month

DayOfMonthHoliday

1

dayOfWeekHoliday

Holiday specified by day of the week

DayOfWeekHoliday

1

oneTimeHoliday

Holiday specified by a specific calendar date

OneTimeHoliday

1

Specification:

<xs:complexType name="Holidays">

  <xs:sequence>

    <xs:element minOccurs="0" maxOccurs="unbounded" name="dayOfMonthHoliday" nillable="true" type="ns:DayOfMonthHoliday"/>

    <xs:element minOccurs="0" maxOccurs="unbounded" name="dayOfWeekHoliday" nillable="true" type="ns:DayOfWeekHoliday"/>

    <xs:element minOccurs="0" maxOccurs="unbounded" name="oneTimeHoliday" nillable="true" type="ns:OneTimeHoliday"/>

  </xs:sequence>

</xs:complexType>

Example