<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
  <choice maxOccurs="unbounded">
    <element name="Query">
      <complexType>
        <sequence>
          <!--  Query request command series is shown as follows.-->
          <!--Command type: file directory retrieval (required) -->
          <element name="CmdType" fixed="RecordInfo"/>
          <!--  Command SN (required) -->
          <element name="SN" type="integer" minInclusive="1"/>
          <!-- device ID (required)-->
          <element name="DeviceID" type="deviceIDType"/>
          <!--Recording start time (required)-->
          <element name="StartTime" type="dateTime"/>
          <!--Recording end time (required)-->
          <element name="EndTime" type="dateTime"/>
          <!--  File path name (optional)-->
          <element name=" FilePath" type="string"/>
          <!--  Recording address (optional, support incomplete query)-->
          <element name="Address" type="string"/>
          <!--  Video type (optional) time or alarm or manual or all-->
          <element name="Type" type="string"/>
          <!--  Recorder ID (optional) -->
          <element name="RecorderID" type="string"/>
          <!--Video fuzzy query type (optional) defaults as 0; 0: fuzzy query is not conducted; at the moment, the query recording position is determined according to the ID value in To header field URI of the SIP message; if the ID value is the VSS ID in this domain, perform historical record retrieval of the center; if the ID value is the PU's ID, perform the historical record retrieval of the PU; 1: conduct fuzzy query; at the moment the domain of the device shall perform center retrieval and PU retrieval simultaneously, and return the results in the unified form. -->
          <element name="IndistinctQuery" type="string"/>
        </sequence>
      </complexType>
    </element>
  </choice>
</schema>