XML_RuleSchedule

XML message about arming schedule parameters of behavior analysis

<?xml version="1.0" encoding="utf-8"?>
<RuleSchedule version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <sid><!--required, xs:string--></sid>
  <RuleList><!--rule information-->
    <RuleInfo><!--list-->
      <ruleId><!--required, xs:string--></ruleId>
      <Schedule>
        <TimeBlockList><!--required-->
          <TimeBlock><!--list-->
            <dayOfWeek><!--optional, xs:integer, days of the week, 1-Monday, 2-Tuesday, 3-Wednesday, 4-Thursday, 5-Friday, 6-Saturday, 7-Sunday--></dayOfWeek>
            <TimeRange><!--required-->
              <beginTime><!--required, xs:time, ISO8601 time--></beginTime>
              <endTime><!--required, xs:time, ISO8601 time--></endTime>
            </TimeRange>
          </TimeBlock>
        </TimeBlockList>
      </Schedule>
    </RuleInfo>
  </RuleList>
  <EventList><!--type of event to be set linkage action by; this node cannot exist with the node RuleList at the same time-->
    <Event><!--list-->
      <eventType><!--required, xs:string,--></eventType>
      <mode><!--optional, xs:string, mode: leavePosition (default), sleep--></mode>
      <Schedule>
        <TimeBlockList><!--required-->
          <TimeBlock><!--list-->
            <dayOfWeek><!--optional, xs:integer, days of the week, 1-Monday, 2-Tuesday, 3-Wednesday, 4-Thursday, 5-Friday, 6-Saturday, 7-Sunday--></dayOfWeek>
            <TimeRange><!--required-->
              <beginTime><!--required, xs:time, ISO8601 time--></beginTime>
              <endTime><!--required, xs:time, ISO8601 time--></endTime>
            </TimeRange>
          </TimeBlock>
        </TimeBlockList>
      </Schedule>
    </Event>
  </EventList>
  <sceneName><!--optional, xs:string, scene name, which corresponds to <sid>--></sceneName>
</RuleSchedule>