QueryParameters.xsd — различия между версиями

Материал из Фабиус wiki
Перейти к: навигация, поиск
м
м
 
(не показано 8 промежуточных версий этого же участника)
Строка 1: Строка 1:
 
<?xml version = "1.0" encoding = "utf-8"?>
 
<?xml version = "1.0" encoding = "utf-8"?>
<xs:schema version = "1.0"
+
<xs:schema version = "1.0"
          xmlns:ns = "http://fsrar.ru/WEGAIS/QueryParameters"
+
  xmlns:ns         = "http://fsrar.ru/WEGAIS/QueryParameters"
          targetNamespace = "http://fsrar.ru/WEGAIS/QueryParameters"
+
  targetNamespace   = "http://fsrar.ru/WEGAIS/QueryParameters"
          xmlns:c = "http://fsrar.ru/WEGAIS/Common"           
+
  xmlns:c           = "http://fsrar.ru/WEGAIS/Common"           
          xmlns:xs = "http://www.w3.org/2001/XMLSchema"
+
  xmlns:xs         = "http://www.w3.org/2001/XMLSchema"
          elementFormDefault = "qualified"
+
  elementFormDefault = "qualified"
          attributeFormDefault = "unqualified"
+
  attributeFormDefault = "unqualified">
>
+
   <xs:import namespace = "http://fsrar.ru/WEGAIS/Common"
   <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/>
+
        schemaLocation = "EGCommon.xsd"/>
 +
 
 
   <xs:complexType name = "QueryParameters">
 
   <xs:complexType name = "QueryParameters">
    <xs:annotation>
+
  <xs:annotation>
      <xs:documentation>Параметры для запроса информации</xs:documentation>
+
    <xs:documentation>Параметры для '''запрос'''а '''информации'''</xs:documentation>
    </xs:annotation>
+
  </xs:annotation>
    <xs:sequence>
+
  <xs:sequence>
      <xs:element name = "Parameters"  minOccurs = "0" maxOccurs = "unbounded">
+
    <xs:element name = "Parameters"  minOccurs = "0" maxOccurs = "unbounded">
        <xs:complexType>
+
    <xs:complexType>
          <xs:sequence>
+
      <xs:sequence>
            <xs:element name = "Parameter" type = "ns:Parameter" minOccurs = "1" maxOccurs = "unbounded">
+
      <xs:element name = "Parameter"
              <xs:annotation>
+
        type = "ns:Parameter" minOccurs = "1" maxOccurs = "unbounded">
                <xs:documentation>В разделе параметров должен быть хотя бы 1н параметр</xs:documentation>
+
              </xs:annotation>
+
            </xs:element>
+
          </xs:sequence>
+
        </xs:complexType>
+
      </xs:element>
+
    </xs:sequence>
+
  </xs:complexType>
+
  <xs:complexType name = "Parameter">
+
    <xs:annotation>
+
      <xs:documentation>Параметр</xs:documentation>
+
    </xs:annotation>
+
    <xs:all>
+
      <xs:element name = "Name" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1">
+
 
         <xs:annotation>
 
         <xs:annotation>
          <xs:documentation>Имя параметра</xs:documentation>
+
        <xs:documentation>
 +
          В разделе параметров должен быть хотя бы 1н ( один ) параметр
 +
        </xs:documentation>
 
         </xs:annotation>
 
         </xs:annotation>
      </xs:element>
+
      </xs:element>
       <xs:element name = "Value" nillable = "false" minOccurs = "1" maxOccurs = "1">
+
       </xs:sequence>
        <xs:annotation>
+
    </xs:complexType>
          <xs:documentation>Значение параметра</xs:documentation>
+
    </xs:element>
        </xs:annotation>
+
  </xs:sequence>
        <xs:simpleType>
+
  </xs:complexType>
          <xs:restriction base = "c:NoEmptyString">
+
 
            <xs:maxLength value = "255"/>
+
  <xs:complexType name = "Parameter">
          </xs:restriction>
+
  <xs:annotation>
        </xs:simpleType>
+
    <xs:documentation>Параметр</xs:documentation>
 +
  </xs:annotation>
 +
  <xs:all>
 +
 
 +
    <xs:element name = "Name"
 +
    type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1">
 +
    <xs:annotation>
 +
      <xs:documentation>Имя параметра</xs:documentation>
 +
    </xs:annotation>
 +
    </xs:element>
  
       </xs:element>
+
    <xs:element name = "Value" nillable = "false" minOccurs = "1" maxOccurs = "1">
        
+
    <xs:annotation>
     </xs:all>
+
       <xs:documentation>Значение параметра</xs:documentation>
 +
    </xs:annotation>
 +
    <xs:simpleType>
 +
       <xs:restriction base = "c:NoEmptyString">
 +
      <xs:maxLength value = "255"/>
 +
      </xs:restriction>
 +
    </xs:simpleType>
 +
     </xs:element>
 +
  </xs:all>
 
   </xs:complexType>
 
   </xs:complexType>
</xs:schema>
+
</xs:schema>
  
 
= Смотрите также =  
 
= Смотрите также =  
 
[[Документы и их типы для отправки ( версия 4 )]]
 
[[Документы и их типы для отправки ( версия 4 )]]

Текущая версия на 10:32, 23 августа 2021

<?xml version = "1.0" encoding = "utf-8"?>

<xs:schema version = "1.0"
 xmlns:ns          = "http://fsrar.ru/WEGAIS/QueryParameters"
 targetNamespace   = "http://fsrar.ru/WEGAIS/QueryParameters"
 xmlns:c           = "http://fsrar.ru/WEGAIS/Common"           
 xmlns:xs          = "http://www.w3.org/2001/XMLSchema"
 elementFormDefault = "qualified"
 attributeFormDefault = "unqualified">
 <xs:import namespace = "http://fsrar.ru/WEGAIS/Common"
       schemaLocation = "EGCommon.xsd"/>
 <xs:complexType name = "QueryParameters">
  <xs:annotation>
   <xs:documentation>Параметры для запроса информации</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name = "Parameters"  minOccurs = "0" maxOccurs = "unbounded">
    <xs:complexType>
     <xs:sequence>
      <xs:element name = "Parameter"
       type = "ns:Parameter" minOccurs = "1" maxOccurs = "unbounded">
       <xs:annotation>
        <xs:documentation>
         В разделе параметров должен быть хотя бы 1н ( один ) параметр
        </xs:documentation>
       </xs:annotation>
      </xs:element>
     </xs:sequence>
    </xs:complexType>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name = "Parameter">
  <xs:annotation>
   <xs:documentation>Параметр</xs:documentation>
  </xs:annotation>
  <xs:all>
   <xs:element name = "Name"
    type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Имя параметра</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name = "Value" nillable = "false" minOccurs = "1" maxOccurs = "1">
    <xs:annotation>
     <xs:documentation>Значение параметра</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
     <xs:restriction base = "c:NoEmptyString">
      <xs:maxLength value = "255"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:element>
  </xs:all>
 </xs:complexType>
</xs:schema>

Смотрите также

Документы и их типы для отправки ( версия 4 )