<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:gcache-server="http://geronimo.apache.org/xml/ns/gcache-server-1.0"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
	xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
	xmlns:gcache="http://geronimo.apache.org/xml/ns/gcache-1.0"
	targetNamespace="http://geronimo.apache.org/xml/ns/gcache-server-1.0"
	attributeFormDefault="unqualified" jxb:version="2.0"
	jxb:extensionBindingPrefixes="xjc"
	elementFormDefault="qualified">
	
	<xs:annotation>
   		<xs:appinfo>
   			<jxb:globalBindings>
    			<xjc:simple />
    		</jxb:globalBindings>
    	</xs:appinfo>
    </xs:annotation>
	
	<xs:import namespace="http://geronimo.apache.org/xml/ns/gcache-1.0" schemaLocation="http://geronimo.apache.org/xml/ns/gcache-1.0.xsd"/>
	
	<xs:element name="gcache-server-config" type="gcache-server:gcacheServerConfig" />
	<xs:complexType name="gcacheServerConfig">
		<xs:sequence>
			<xs:element name="server" type="gcache-server:serverType"
				minOccurs="1" maxOccurs="1" />
			<xs:element name="diskStore" type="gcache:diskStoreType"
				minOccurs="1" maxOccurs="1" />
			<xs:element name="defaultCache"
				type="gcache:defaultCacheType" minOccurs="1" maxOccurs="1" />
			<xs:element name="cache" type="gcache:cacheType"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:complexType name="serverType">
		<xs:sequence>
			<xs:element name="transport" type="gcache:transportType" />
		</xs:sequence>
		<xs:attribute name="serverName" use="required" type="xs:NCName" />
		<xs:attribute name="order" use="optional" default="0">
			<xs:simpleType>
				<xs:restriction base="xs:int">
					<xs:minInclusive value="0" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="user" use="optional" type="xs:NCName" default="system"/>
		<xs:attribute name="password" use="optional" type="xs:NCName" default="manager"/>
		
	</xs:complexType>
</xs:schema>