<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.pwg.org/schemas/2006/10/sm" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pwg="http://www.pwg.org/schemas/2006/10/sm" targetNamespace="http://www.pwg.org/schemas/2006/10/sm" elementFormDefault="qualified" attributeFormDefault="qualified" version="1.53">
	<xs:include schemaLocation="Counter.xsd"/>
	<xs:include schemaLocation="ServiceTypes.xsd"/>
	<!--06/01/08 PJZ Added  anyAttribute extension point-->
	<!--05/31/08 PJZ Move back to ##Other-->
	<!--05/30/08 PJZ Move back to single namespace-->
	<!--05/21/08 PJZ Partial alignment with WS-Scan-->
	<!--11/29/07 PJZ Reworked System Description-->
	<!--10/08/06 PJZ Reworked dependencies and removed Chameleon-->
	<!--08/08/06 PJZ Changed namespace-->
	<!--070606  PJZ Added core namespace-->
	<xs:annotation>
		<xs:documentation xml:lang="en">
   PWG Semantic Model v2   

Copyright 2002-2008, IEEE Industry Standards and Technology Organization/ScanService Working Group. 
All rights reserved  

    - version 1.17 - 4 April 2008 -Editors:  Peter Zehler, Ira McDoanald 
</xs:documentation>
	</xs:annotation>
	<!--                            -->
	<!-- system element definitions -->
	<!--                            -->
	<xs:element name="SystemURISupported" type="ObjectURISupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of URI supported by this system -->
	<!-- see printer-uri-supported - section 4.4.1 [RFC2911] -->
	<xs:element name="SystemInfo" type="ObjectStringLong"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<!-- system vendor-supplied description and/or label -->
	<!-- see printer-info - section 4.4.6 [RFC2911] -->
	<xs:element name="SystemName" type="ObjectStringLong"/>
	<xs:element name="SystemConfigChangeNumber" type="xs:int"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<xs:element name="SystemServicePerson" type="ObjectStringLong"/>
	<xs:element name="SystemCurrentOperator" type="ObjectStringLong"/>
	<xs:element name="SystemStartupPage" type="xs:boolean"/>
	<!-- system administrative name -->
	<!-- see printer-name - section 4.4.4 [RFC2911] -->
	<!-- see prtGeneralPrinterName - section 6 [RFC3805] -->
	<xs:element name="SystemServiceSupported" type="ObjectServiceSupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of services (by ID/name/URI) supported by this system -->
	<xs:element name="SystemDeviceSupported" type="ObjectDeviceSupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of devices (by ID/name/URI) supported by this system -->
	<xs:element name="SystemSubunitSupported" type="SubunitReferences"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of subunits (by ID) supported by this system -->
	<!-- see Printer Sub-Units - section 2.2 [RFC3805] -->
	<xs:element name="SystemResourceSupported" type="ObjectResourceReferences"/>
	<!-- OPTIONAL - MAY be multi-valued -->
	<!-- list of resources (by ID/name/URI) supported by this system -->
	<!-- see ResourceId in Resource XML schema -->
	<!-- see ResourceName in Resource XML schema -->
	<!--                          -->
	<!-- system group definitions -->
	<!--                          -->
	<xs:complexType name="SystemStatus">
		<xs:complexContent>
			<xs:extension base="ServiceStatus">
				<xs:sequence>
					<xs:element ref="SystemConfigChangeNumber" minOccurs="0"/>
					<xs:element ref="SystemTotals" minOccurs="0"/>
					<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="SystemStatus" type="SystemStatus"/>
	<!-- SystemStatus - group -->
	<xs:complexType name="SystemDescription">
		<xs:complexContent>
			<xs:extension base="ServiceDescription">
				<xs:sequence>
					<xs:element ref="ServicesSupported"/>
					<xs:element ref="ServiceDeviceSupported"/>
					<xs:element ref="ServiceDocumentFormatSupported"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
		<!-- ScanServiceDescription - group -->
	</xs:complexType>
	<xs:element name="SystemDescription" type="SystemDescription"/>
	<!-- SystemDescription - group -->
	<!--                           -->
	<!-- system object definitions -->
	<!--                           -->
	<xs:complexType name="System">
		<xs:sequence>
			<xs:element ref="SystemStatus"/>
			<xs:element ref="SystemDescription" minOccurs="0"/>
			<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##other" processContents="lax"/>
		<!-- System - object -->
	</xs:complexType>
	<xs:element name="System" type="System"/>
	<!-- System - object -->
</xs:schema>
