<?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" version="1.53">
	<xs:include schemaLocation="PwgCommon.xsd"/>
	<xs:include schemaLocation="WimsType.xsd"/>
	<!--05/31/08 PJZ Move back to ##Other-->
	<!--05/30/08 PJZ Moved back to single namespace-->
	<!--05/21/08 PJZ Partial alignment with WS-Scan-->
	<!--03/27/08 PJZ added attribute to identify  key elements-->
	<!--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>
	<xs:annotation>
		<xs:documentation source="www.pwg.org" xml:lang="en">
   PWG Semantic Model v2   


    IEEE/ISTO Printer Working Group (PWG)
    Web-based Imaging Management Service (WIMS)
    Managers XML Schema

    - version 1.17 - 4 April 2008 -Editors:  Peter Zehler, Ira McDoanald 

    Normative References
    --------------------
    [WIMS-PRO] Web-based Imaging Management Service (WIMS)
               (work-in-progress)

    Informative References
    ----------------------
    [ISO9945] POSIX System Interfaces
              ISO 9945:2001

    [RFC2426] vCard MIME Directory Profile
              (September 1998)
              ftp://ftp.isi.edu/in-notes/rfc2426.txt

    [RFC2911] Internet Printing Protocol/1.1: Model and Semantics
              (September 2000)
              ftp://ftp.isi.edu/in-notes/rfc2911.txt

    [RFC3066] Tags for the Identification of Languages
              (January 2001)
              ftp://ftp.isi.edu/in-notes/rfc3066.txt

    [RFC3805] Printer MIB v2
              (June 2004)
              ftp://ftp.isi.edu/in-notes/rfc3805.txt
  </xs:documentation>
	</xs:annotation>
	<!--                             -->
	<!-- manager element definitions -->
	<!--                             -->
	<xs:element name="ManagerId">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="pwg:ObjectIdentifier32">
					<xs:attribute ref="pwg:Key"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<!-- REQUIRED - MUST be single-valued -->
	<!-- local unique integer key of this manager object -->
	<xs:element name="ManagerState" type="pwg:ObjectStateWKV"/>
	<!-- REQUIRED - MUST be single-valued -->
	<!-- state of this manager -->
	<!-- see printer-state - section 4.4.11 [RFC2911] -->
	<xs:element name="ManagerStateMessages" type="pwg:ObjectStateMessages"/>
	<!-- OPTIONAL - MAY be multi-valued -->
	<!-- state messages of this manager -->
	<!-- see printer-state-message - section 4.4.13 [RFC2911] -->
	<xs:element name="ManagerOwnerURI" type="xs:anyURI"/>
	<!-- REQUIRED - MUST be single-valued -->
	<!-- legacy or WIMS manager URI for owner of this manager -->
	<xs:element name="ManagerOwnerVCard" type="pwg:ObjectStringMax"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<!-- vCard/3.0 (based on ITU-T X.520) for owner of this manager -->
	<!-- see vCard/3.0 - vCard MIME Directory Profile [RFC2426] -->
	<xs:element name="ManagerAccessModes" type="pwg:ObjectAccessModes"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- access permissions for this manager -->
	<!-- see 'chmod' - POSIX System Interfaces [ISO9945]-->
	<!-- see 'sys/stat.h' - POSIX System Interfaces [ISO9945]-->
	<xs:element name="ManagerCreateDate" type="xs:dateTime"/>
	<!-- REQUIRED - MUST be single-valued -->
	<!-- date and time when this manager object was created -->
	<xs:element name="ManagerNaturalLanguage" type="pwg:ObjectStringShort"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<!-- natural language for text elements on this manager -->
	<!-- see IETF 'Tags for the Identification of Languages' [RFC3066] -->
	<xs:element name="ManagerURISupported" type="pwg:ObjectURISupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of URI supported by this manager -->
	<!-- see printer-uri-supported - section 4.4.1 [RFC2911] -->
	<xs:element name="ManagerInfo" type="pwg:ObjectStringLong"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<!-- manager vendor-supplied description and/or label -->
	<!-- see printer-info - section 4.4.6 [RFC2911] -->
	<xs:element name="ManagerName" type="pwg:ObjectStringLong"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<!-- manager administrative name -->
	<!-- see printer-name - section 4.4.4 [RFC2911] -->
	<!-- see prtGeneralPrinterName - section 6 [RFC3805] -->
	<xs:element name="ManagerLocation" type="pwg:ObjectStringLong"/>
	<!-- OPTIONAL - MUST be single-valued -->
	<!-- manager physical and/or network location -->
	<!-- see printer-location - section 4.4.5 [RFC2911] -->
	<xs:element name="ManagerParentAgentSupported" type="ObjectAgentSupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of agents (by ID/name/URI) superior to this manager -->
	<!-- see WIMS Object Model - section 4 [WIMS-PRO] -->
	<xs:element name="ManagerAgentSupported" type="ObjectAgentSupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- list of agents (by ID/name/URI) subordinate to this manager -->
	<!-- see WIMS Object Model - section 4 [WIMS-PRO] -->
	<xs:element name="ManagerAgentPathSupported" type="ObjectAgentSupported"/>
	<!-- REQUIRED - MAY be multi-valued -->
	<!-- paths to agents (by ID/name/URI) nearest to managed entities -->
	<!-- for support of multi-level WIMS Proxy configurations -->
	<!-- see WIMS Object Model - section 4 [WIMS-PRO] -->
	<!--                           -->
	<!-- manager group definitions -->
	<!--                           -->
	<xs:complexType name="ManagerStatus">
		<xs:sequence>
			<xs:element ref="ManagerId"/>
			<xs:element ref="ManagerState"/>
			<xs:element ref="ManagerStateMessages" minOccurs="0"/>
			<xs:element ref="ManagerOwnerURI"/>
			<xs:element ref="ManagerOwnerVCard" minOccurs="0"/>
			<xs:element ref="ManagerAccessModes"/>
			<xs:element ref="ManagerCreateDate"/>
			<xs:element ref="ManagerNaturalLanguage" minOccurs="0"/>
			<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<!-- ManagerStatus - group -->
	</xs:complexType>
	<xs:element name="ManagerStatus" type="ManagerStatus"/>
	<!-- ManagerStatus - group -->
	<xs:complexType name="ManagerDescription">
		<xs:sequence>
			<xs:element ref="ManagerURISupported"/>
			<xs:element ref="ManagerInfo" minOccurs="0"/>
			<xs:element ref="ManagerName" minOccurs="0"/>
			<xs:element ref="ManagerLocation" minOccurs="0"/>
			<xs:element ref="WIMSOperationsSupported"/>
			<xs:element ref="WIMSActionsSupported"/>
			<xs:element ref="WIMSObjectsSupported"/>
			<xs:element ref="ManagerParentAgentSupported"/>
			<xs:element ref="ManagerAgentSupported"/>
			<xs:element ref="ManagerAgentPathSupported"/>
			<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<!-- ManagerDescription - group -->
	</xs:complexType>
	<xs:element name="ManagerDescription" type="ManagerDescription"/>
	<!-- ManagerDescription - group -->
	<!--                            -->
	<!-- manager object definitions -->
	<!--                            -->
	<xs:complexType name="Managers">
		<xs:sequence>
			<xs:element ref="Manager" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<!-- Managers - set of managers -->
	</xs:complexType>
	<xs:complexType name="Manager">
		<xs:sequence>
			<xs:element ref="ManagerStatus"/>
			<xs:element ref="ManagerDescription" minOccurs="0"/>
			<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<!-- Manager - object -->
	</xs:complexType>
	<xs:element name="Managers" type="Managers"/>
	<!-- Managers - set of managers -->
	<xs:element name="Manager" type="Manager"/>
	<!-- Manager - object -->
</xs:schema>
