<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://websphere.ibm.com/xml/ns/javaee"
	xmlns="http://websphere.ibm.com/xml/ns/javaee"
    xmlns:bnd="http://websphere.ibm.com/xml/ns/javaee"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified" attributeFormDefault="unqualified"
	version="1.1">

	<!-- ******************************************************* -->

	<xsd:annotation>
		<xsd:documentation>
				Licensed Materials - Property of IBM

				"Restricted Materials of IBM"

				Copyright IBM Corp. 2010 All Rights Reserved.

				US Government Users Restricted Rights - Use, duplication or
				disclosure restricted by GSA ADP Schedule Contract with
				IBM Corp.
		</xsd:documentation>
	</xsd:annotation>

	<!-- ******************************************************* -->

	<xsd:include schemaLocation="ibm-common-bnd_1_1.xsd" />

	<!-- ******************************************************* -->

	<xsd:element name="application-client-bnd" type="application-clientType">
		<xsd:annotation>
			<xsd:documentation>

				The root of the ibm-application-client-bnd deployment descriptor.

			</xsd:documentation>
		</xsd:annotation>

		<xsd:unique name="unique-ejb-ref-name">
			<xsd:selector xpath="bnd:ejb-ref" />
			<xsd:field xpath="@name" />
		</xsd:unique>
        <xsd:unique name="unique-resource-ref-name">
			<xsd:selector xpath="bnd:resource-ref" />
			<xsd:field xpath="@name" />
		</xsd:unique>
        <xsd:unique name="unique-resource-env-ref-name">
			<xsd:selector xpath="bnd:resource-env-ref" />
			<xsd:field xpath="@name" />
		</xsd:unique>
        <xsd:unique name="unique-message-destination-ref-name">
			<xsd:selector xpath="bnd:message-destination-ref" />
			<xsd:field xpath="@name" />
		</xsd:unique>
        <xsd:unique name="unique-message-destination-name">
	       	<xsd:selector xpath="bnd:message-destination" />
			<xsd:field xpath="@name" />
		</xsd:unique>

	</xsd:element>

	<!-- ******************************************************* -->

	<xsd:complexType name="application-clientType">
		<xsd:sequence>
			<xsd:group ref="ref-bindingsGroup"/>
            <xsd:element name="message-destination" type="message-destinationType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="data-source" type="data-sourceType" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="env-entry" type="env-entryType" minOccurs="0" maxOccurs="unbounded"/>
		</xsd:sequence>
		<xsd:attribute name="version" type="xsd:string" fixed="1.1" use="required" />
		<xsd:attribute name="id" type="xsd:ID"/>
	</xsd:complexType>

</xsd:schema>
