<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
  <choice maxOccurs="unbounded">
    <element name="Response">
      <complexType>
        <sequence>
          <!--  The query request response message is shown as follows.-->
          <!--  Command Type: OSD Information Query Response (Required) -->
          <element name="CmdType" fixed="OSDQuery"/>
          <!--  Command serial number (required)-->
          <element name="SN" type="integer" minInclusive="1"/>
          <!--  Target device code (required)-->
          <element name="DeviceID" type="deviceIDType"/>
          <!--  Configure window length pixel values (required)-->
          <element name="Length" type="integer"/>
          <!--  Configure window width pixel values (required)-->
          <element name="Width" type="integer"/>
          <!-- Time X pixel coordinates (required), the pixel in the upper left corner of the playback window is the origin, and the horizontal right is positive.-->
          <element name="TimeX" type="integer"/>
          <!-- Time Y pixel coordinates (required), the pixel in the upper left corner of the playback window is the origin, and the vertical down is positive-->
          <element name="TimeY" type="integer"/>
          <!-- Display time switch (optional), 0-off; 1-open (default value)-->
          <element name="TimeEnable" type="integer" default="1"/>
          <!--Time display type (optional):
0- Year-Month-Day Hour:Minute:Second
1- Year Month Day Hour:Minute:Second
2- Day/Month/Year Hour:Minute:Second
3- Month / Day/Year Hour:Minute:Second
-->
          <element name="TimeType" type="integer" minOccurs="0"/>
          <!--Display text switch (optional), 0-off; 1-open (default value)-->
          <element name="TextEnable" type="integer" default="1"/>
          <!--Text list (optional)-->
          <element name="Item" minOccurs="0" maxOccurs="8">
            <complexType>
              <sequence>
                <!--Text content, length range 0 ~ 32 (required)-->
                <element name="Text" type="string" minOccurs="0"/>
                <!--Text X coordinate (required)-->
                <element name="X" type="integer" minOccurs="0"/>
                <!--Text Y coordinate (required)-->
                <element name="Y" type="integer" minOccurs="0"/>
              </sequence>
            </complexType>
          </element>
        </sequence>
      </complexType>
    </element>
  </choice>
</schema>