<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Grey (ORiON) -->
<!--W3C Schema generated by XML Spy v5 rel. 2 U (http://www.xmlspy.com)-->
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="plesk_server.xsd"/>
	<xs:complexType name="getType">
		<xs:annotation>
			<xs:documentation>Request server info</xs:documentation>
		</xs:annotation>
		<xs:sequence minOccurs="0">
			<xs:element name="key" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Plesk licence key information</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="gen_info" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server general information</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="components" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server componets</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="stat" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server statistics</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="admin" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server adminstrator information</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="interfaces" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server Network Interfaces List</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="services_state" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server Services State</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="prefs" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server Preferences</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="shells" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Server shells</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="packet">
		<xs:annotation>
			<xs:documentation>Root node for any of input</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Input</xs:documentation>
				</xs:annotation>
				<xs:element name="server">
					<xs:annotation>
						<xs:documentation>Server operator</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:choice maxOccurs="unbounded">
							<xs:element name="get_protos">
								<xs:annotation>
									<xs:documentation>Get supported PA protocols</xs:documentation>
								</xs:annotation>
								<xs:complexType/>
							</xs:element>
							<xs:element name="get" type="getType">
								<xs:annotation>
									<xs:documentation>Get operation</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="set">
								<xs:annotation>
									<xs:documentation>Set operation</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:all>
										<xs:element name="admin" type="adminType" minOccurs="0"/>
										<xs:element name="password" type="serverPassword" minOccurs="0"/>
										<xs:element name="prefs" type="serverPrefs" minOccurs="0"/>
										<xs:element name="session_setup" type="serverSessionSetup" minOccurs="0"/>
									</xs:all>
								</xs:complexType>
							</xs:element>
							<xs:element name="srv_man">
								<xs:annotation>
									<xs:documentation>Services management</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="id" type="srvIdType">
											<xs:annotation>
												<xs:documentation>Service ID</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="operation" type="srvOpType">
											<xs:annotation>
												<xs:documentation>Operation to be completed for service</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="lic_install">
								<xs:annotation>
									<xs:documentation>Install a new Plesk licence. TODO: Works only with *nix Plesk installations for now.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="license" type="base64">
											<xs:annotation>
												<xs:documentation>License file. For *nix it is a self-extractor shell script</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="initial_setup" type="initialSetupType">
								<xs:annotation>
									<xs:documentation>Plesk server initial setup. May be used only on fresh Plesk server installation</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:choice>
					</xs:complexType>
				</xs:element>
			</xs:choice>
			<xs:attribute name="version" type="string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>

