<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:include schemaLocation="common.xsd"/>
  <xs:element name="RK7Query">
    <xs:annotation>
      <xs:documentation xml:lang="ru">[Кассовый сервер] Изменить статус готовности у блюда (КДС)</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element name="RK7CMD">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Employee" type="refItem" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                  <xs:documentation xml:lang="ru">Работник, который изменяет статус</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="CMD" fixed="KDSSetDishData2"/>
            <xs:attribute name="line_guid" type="xs:normalizedString" use="required">
              <xs:annotation>
                <xs:documentation xml:lang="ru">GUID строки блюда</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="kdsstate" type="KDSStateType" use="required">
              <xs:annotation>
                <xs:documentation xml:lang="ru">Новый статус блюда</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
      </xs:all>
    </xs:complexType>
  </xs:element>
</xs:schema>
