XML_SwitchPlan

XML message about parameters of a single startup and shutdown schedule

<SwitchPlan version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <planType><!--required, xs:string, startup and shutdown schedule type: daily schedule, weekly schedule--></planType>
  <DailyPlan><!--dependent, shutdown schedule period-->
    <SwitchSpanList><!--required-->
      <SwitchSpan><!--required-->
        <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>	    
        <switchType><!--required, xs:string, startup or shutdown: "on"-startup, "off"-shutdown--></switchType>
        <time><!--required, startup or shutdown time (ISO 8601 format)--></time>
      </SwitchSpan>
    </SwitchSpanList>    
  </DailyPlan>
  <WeeklyPlan><!--dependent, weekly schedule-->
    <DayList><!--required-->
      <Day><!--required-->
        <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>
        <dayOfWeek><!--required, xs:string, day of a week: Monday, Saturday ...Sunday--></dayOfWeek>
        <SwitchSpanList><!--required-->
          <SwitchSpan><!--required-->
            <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>	    
            <switchType><!--required, xs:string, startup or shutdown: "on"-startup, "off"-shutdown--></switchType>
            <time><!--required, startup or shutdown time (ISO 8601 format)--></time>
          </SwitchSpan>
        </SwitchSpanList>
      </Day>
    </DayList>
  </WeeklyPlan>
  <HolidayPlan><!--optional, holiday schedule-->
    <SwitchSpanList><!--required, period list-->
      <SwitchSpan><!--required-->
        <id><!--required, xs:integer, day of a month, "1,2,3..."--></id>	    
        <switchType><!--required, xs:string, startup or shutdown: "on"-startup, "off"-shutdown--></switchType>
        <time><!--required, xs:time, startup or shutdown time (ISO 8601 format)--></time>
      </SwitchSpan>
    </SwitchSpanList>
  </HolidayPlan>
</SwitchPlan>