<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified">
	<xs:complexType name="BODYType">
		<xs:sequence>
			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
			<xs:element name="STATUS" type="STATUSType" minOccurs="0" />
			<xs:element ref="SECURITY_PARAMETERS" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CONFIGURATIONType">
		<xs:sequence>
			<xs:element name="secCtxId" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="resourceId" type="xs:string" minOccurs="1"
				maxOccurs="1" />
			<xs:element name="secCtxType" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="secCtxKind" type="xs:string" minOccurs="0"
				maxOccurs="1" />
			<xs:element name="creationTime" type="xs:long" />
			<xs:element name="lastAccessTime" type="xs:long" />
			<xs:element name="privKey" type="xs:base64Binary"
				minOccurs="0" />
			<xs:element name="pubKey" type="xs:base64Binary"
				minOccurs="0" />
			<xs:element name="attributes" type="attribute" nillable="true"
				maxOccurs="unbounded" minOccurs="0" />
			<xs:element name="identities" type="typedString" nillable="true"
				maxOccurs="unbounded" minOccurs="0" />
			<xs:element name="obligations" type="obligation" nillable="true"
				maxOccurs="unbounded" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DATE_OF_CREATIONType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="HEADERType">
		<xs:all>
			<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" />
			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
			<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" />
		</xs:all>
	</xs:complexType>
	<xs:complexType name="RESOURCE_IDENTIFIERType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:complexType name="RESOURCE_KINDType">
		<xs:attribute name="value" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="SecurityContextDSResources" />
					<xs:enumeration value="PendingDSResources" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:element name="RESOURCE_PROFILE">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="HEADER" type="HEADERType" />
				<xs:element name="BODY" type="BODYType" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="RESOURCE_TYPEType">
		<xs:attribute name="value" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="SecurityContextDSResourceType" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="RESOURCE_URIType">
		<xs:attribute name="value" type="xs:string" use="required" />
	</xs:complexType>
	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
	<xs:complexType name="STATUSType" />
	<xs:complexType name="attribute">
		<xs:sequence>
			<xs:element name="key" type="xs:string" minOccurs="0" />
			<xs:element name="type" type="xs:string" minOccurs="0" />
			<xs:element name="value" type="xs:string" minOccurs="0" />
			<xs:element name="attributes" type="attribute" nillable="true"
				maxOccurs="unbounded" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="typedString">
		<xs:sequence>
			<xs:element name="text" type="xs:string" minOccurs="0" />
			<xs:element name="type" type="xs:string" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="obligation">
		<xs:sequence>
			<xs:element name="obligation" type="xs:string" minOccurs="0" />
			<xs:element name="resource" type="xs:string" minOccurs="0" />
			<xs:element name="attributes" type="attribute" nillable="true"
				maxOccurs="unbounded" minOccurs="0" />
		</xs:sequence>
	</xs:complexType>
</xs:schema>
