﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
	<xs:element type="licenses_list" name="licenses_list"/>
	<xs:complexType name="licenses_list">
		<xs:annotation>
			<xs:documentation xml:lang="en">Register of licenses.</xs:documentation>
			<xs:documentation xml:lang="ru">Реестр лицензий Росздравнадзора.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="licenses" name="licenses" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="licenses">
		<xs:annotation>
			<xs:documentation xml:lang="en">License.</xs:documentation>
			<xs:documentation xml:lang="ru">Лицензия.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="xs:string" name="name">
				<xs:annotation>
					<xs:documentation xml:lang="en">Name of licensing authority.</xs:documentation>
					<xs:documentation xml:lang="ru">Наименование лицензирующего органа.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="activity_type">
				<xs:annotation>
					<xs:documentation xml:lang="en">Activity type.</xs:documentation>
					<xs:documentation xml:lang="ru">Лицензируемый вид деятельности.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="full_name_licensee">
				<xs:annotation>
					<xs:documentation xml:lang="en">The full name of the licensee.</xs:documentation>
					<xs:documentation xml:lang="ru">Полное наименование лицензиата.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="abbreviated_name_licensee">
				<xs:annotation>
					<xs:documentation xml:lang="en">Abbreviated name of the licensee.</xs:documentation>
					<xs:documentation xml:lang="ru">Сокращенное наименование лицензиата.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="brand_name_licensee">
				<xs:annotation>
					<xs:documentation xml:lang="en">Brand Name licensee.</xs:documentation>
					<xs:documentation xml:lang="ru">Фирменное наименование лицензиата.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="form">
				<xs:annotation>
					<xs:documentation xml:lang="en">Form of incorporation.</xs:documentation>
					<xs:documentation xml:lang="ru">Организационно-правовая форма.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="address_region">
				<xs:annotation>
					<xs:documentation xml:lang="en">Region of the legal entity or region of a private entrepreneur.</xs:documentation>
					<xs:documentation xml:lang="ru">Регион места нахождения юридического лица либо регион места жительства индивидуального предпринимателя.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="address">
				<xs:annotation>
					<xs:documentation xml:lang="en">Address of the legal entity or address of a private entrepreneur.</xs:documentation>
					<xs:documentation xml:lang="ru">Адрес места нахождения юридического лица либо адрес места жительства индивидуального предпринимателя.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="ogrn">
				<xs:annotation>
					<xs:documentation xml:lang="en">OGRN/OGRNIP.</xs:documentation>
					<xs:documentation xml:lang="ru">ОГРН/ОГРНИП лицензиата.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="inn">
				<xs:annotation>
					<xs:documentation xml:lang="en">INN licensee.</xs:documentation>
					<xs:documentation xml:lang="ru">ИНН лицензиата.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="work_address_list" name="work_address_list" maxOccurs="unbounded"/>	
			<xs:element type="xs:string" name="number">
				<xs:annotation>
					<xs:documentation xml:lang="en">License number.</xs:documentation>
					<xs:documentation xml:lang="ru">Номер лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="date">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of licensing.</xs:documentation>
					<xs:documentation xml:lang="ru">Дата выдачи лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="number_orders">
				<xs:annotation>
					<xs:documentation xml:lang="en">Number of orders for a license.</xs:documentation>
					<xs:documentation xml:lang="ru">Номер приказа (распоряжения) о предоставлении лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="date_order">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of the order for a license.</xs:documentation>
					<xs:documentation xml:lang="ru">Дата приказа (распоряжения) о предоставлении лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="date_register">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of entry in the register.</xs:documentation>
					<xs:documentation xml:lang="ru">Дата внесения записи в реестр.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="number_duplicate">
				<xs:annotation>
					<xs:documentation xml:lang="en">Number of duplicate license.</xs:documentation>
					<xs:documentation xml:lang="ru">Номер дубликата лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="date_duplicate">
				<xs:annotation>
					<xs:documentation xml:lang="en">Date of issue of duplicate license.</xs:documentation>
					<xs:documentation xml:lang="ru">Дата выдачи дубликата лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="termination">
				<xs:annotation>
					<xs:documentation xml:lang="en">Reason for termination of the license.</xs:documentation>
					<xs:documentation xml:lang="ru">Основание прекращения действия лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="date_termination">
				<xs:annotation>
					<xs:documentation xml:lang="en">The date of termination of the license.</xs:documentation>
					<xs:documentation xml:lang="ru">Дата прекращения действия лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="information">
				<xs:annotation>
					<xs:documentation xml:lang="en">Information on audits.</xs:documentation>
					<xs:documentation xml:lang="ru">Сведения о проведенных проверках.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="information_regulations">
				<xs:annotation>
					<xs:documentation xml:lang="en">Information on the regulations issued by the inspection results.</xs:documentation>
					<xs:documentation xml:lang="ru">Сведения о выданных постановлениях по результатам проверок.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="information_suspension_resumption">
				<xs:annotation>
					<xs:documentation xml:lang="en">Information on suspension/resumption of the license.</xs:documentation>
					<xs:documentation xml:lang="ru">Сведения о приостановлении/возобновлении действия лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="information_cancellation">
				<xs:annotation>
					<xs:documentation xml:lang="en">Information about the cancellation of the license.</xs:documentation>
					<xs:documentation xml:lang="ru">Сведения об аннулировании лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="information_reissuing">
				<xs:annotation>
					<xs:documentation xml:lang="en">Information about the reissuing the license.</xs:documentation>
					<xs:documentation xml:lang="ru">Сведения о переоформлении лицензии.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="work_address_list">
		<xs:annotation>
			<xs:documentation xml:lang="en">Description of the list of addresses provided by the service at this location.</xs:documentation>
			<xs:documentation xml:lang="ru">Описание адреса с перечнем предоставляемых по этому адресу услуг.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="address_place" name="address_place" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="en">Address of the place of the licensed activity.</xs:documentation>
					<xs:documentation xml:lang="ru">Адреса мест осуществления лицензируемого вида деятельности.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="works">
		<xs:annotation>
			<xs:documentation xml:lang="en">Work performed, services rendered</xs:documentation>
			<xs:documentation xml:lang="ru">Выполняемые работы, оказываемые услуги</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="xs:string" name="work" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation xml:lang="en">Work performed, services rendered</xs:documentation>
					<xs:documentation xml:lang="ru">Выполняемые работы, оказываемые услуги</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="address_place">
		<xs:annotation>
			<xs:documentation xml:lang="en">Address of the place of the licensed activity.</xs:documentation>
			<xs:documentation xml:lang="ru">Адреса мест осуществления лицензируемого вида деятельности.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element type="xs:string" name="address">
				<xs:annotation>
					<xs:documentation xml:lang="en">Address of the place of the licensed activity.</xs:documentation>
					<xs:documentation xml:lang="ru">Адрес мест осуществления лицензируемого вида деятельности.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="index">
				<xs:annotation>
					<xs:documentation xml:lang="en">Index.</xs:documentation>
					<xs:documentation xml:lang="ru">Индекс.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="region">
				<xs:annotation>
					<xs:documentation xml:lang="en">Region.</xs:documentation>
					<xs:documentation xml:lang="ru">Регион.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="city">
				<xs:annotation>
					<xs:documentation xml:lang="en">City.</xs:documentation>
					<xs:documentation xml:lang="ru">Населенный пункт.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="street">
				<xs:annotation>
					<xs:documentation xml:lang="en">Street, house, office, etc.</xs:documentation>
					<xs:documentation xml:lang="ru">Улица, дом, офис и т.д.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="xs:string" name="code_fias">
				<xs:annotation>
					<xs:documentation xml:lang="en">FIAS Code</xs:documentation>
					<xs:documentation xml:lang="ru">Код ФИАС</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element type="works" name="works"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>