QueryParameters.xsd — различия между версиями
Материал из Фабиус wiki
Hisava (обсуждение | вклад) (Новая страница: «<?xml version="1.0" encoding="utf-8"?> <xs:schema version="1.0" xmlns:ns="http://fsrar.ru/WEGAIS/QueryParameters" targetNamespace="http://fs…») |
Hisava (обсуждение | вклад) м |
||
Строка 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" schemaLocation="EGCommon.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" 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" type = "ns:Parameter" minOccurs = "1" maxOccurs = "unbounded"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>В разделе параметров должен быть хотя бы 1н параметр</xs:documentation> | <xs:documentation>В разделе параметров должен быть хотя бы 1н параметр</xs:documentation> | ||
Строка 27: | Строка 27: | ||
</xs:sequence> | </xs:sequence> | ||
</xs:complexType> | </xs:complexType> | ||
− | <xs:complexType name="Parameter"> | + | <xs:complexType name = "Parameter"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Параметр</xs:documentation> | <xs:documentation>Параметр</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
− | <xs:element name="Name" type="c:NoEmptyString50" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Name" type = "c:NoEmptyString50" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Имя параметра</xs:documentation> | <xs:documentation>Имя параметра</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
− | <xs:element name="Value" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Value" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Значение параметра</xs:documentation> | <xs:documentation>Значение параметра</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:simpleType> | <xs:simpleType> | ||
− | <xs:restriction base="c:NoEmptyString"> | + | <xs:restriction base = "c:NoEmptyString"> |
− | <xs:maxLength value="255"/> | + | <xs:maxLength value = "255"/> |
</xs:restriction> | </xs:restriction> | ||
</xs:simpleType> | </xs:simpleType> | ||
Строка 52: | Строка 52: | ||
</xs:complexType> | </xs:complexType> | ||
</xs:schema> | </xs:schema> | ||
+ | |||
+ | = Смотрите также = | ||
+ | [[Документы и их типы для отправки ( версия 4 )]] |
Версия 09:14, 14 апреля 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>