Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
	elementFormDefault="qualified">
4
	<xs:complexType name="BODYType">
5
		<xs:sequence>
6
			<xs:element name="CONFIGURATION" type="CONFIGURATIONType" />
7
			<xs:element name="STATUS" type="STATUSType" minOccurs="0" />
8
			<xs:element ref="SECURITY_PARAMETERS" minOccurs="0" />
9
		</xs:sequence>
10
	</xs:complexType>
11

    
12
	<xs:complexType name="CONFIGURATIONType">
13
		<xs:sequence>
14
			<xs:element name="secProfId" type="xs:string" minOccurs="0"
15
				maxOccurs="1" />
16
			<xs:element name="resourceId" type="xs:string" minOccurs="1"
17
				maxOccurs="1" />
18
			<xs:element name="attributes" type="attribute"
19
				nillable="true" maxOccurs="unbounded" minOccurs="0" />
20
			<xs:element name="identities" type="typedString"
21
				nillable="true" maxOccurs="unbounded" minOccurs="0" />
22
			<xs:element name="obligations" type="obligation"
23
				nillable="true" maxOccurs="unbounded" minOccurs="0" />
24
		</xs:sequence>
25
	</xs:complexType>
26

    
27
	<xs:complexType name="DATE_OF_CREATIONType">
28
		<xs:attribute name="value" type="xs:string" use="required" />
29
	</xs:complexType>
30

    
31
	<xs:complexType name="HEADERType">
32
		<xs:all>
33
			<xs:element name="RESOURCE_IDENTIFIER"
34
				type="RESOURCE_IDENTIFIERType" />
35
			<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" />
36
			<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" />
37
			<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" />
38
			<xs:element name="DATE_OF_CREATION"
39
				type="DATE_OF_CREATIONType" />
40
		</xs:all>
41
	</xs:complexType>
42

    
43
	<xs:complexType name="RESOURCE_IDENTIFIERType">
44
		<xs:attribute name="value" type="xs:string" use="required" />
45
	</xs:complexType>
46
	<xs:complexType name="RESOURCE_KINDType">
47
		<xs:attribute name="value" use="required">
48
			<xs:simpleType>
49
				<xs:restriction base="xs:string">
50
					<xs:enumeration value="SecurityProfileDSResources" />
51
					<xs:enumeration value="PendingDSResources" />
52
				</xs:restriction>
53
			</xs:simpleType>
54
		</xs:attribute>
55
	</xs:complexType>
56
	<xs:element name="RESOURCE_PROFILE">
57
		<xs:complexType>
58
			<xs:sequence>
59
				<xs:element name="HEADER" type="HEADERType" />
60
				<xs:element name="BODY" type="BODYType" />
61
			</xs:sequence>
62
		</xs:complexType>
63
	</xs:element>
64
	<xs:complexType name="RESOURCE_TYPEType">
65
		<xs:attribute name="value" use="required">
66
			<xs:simpleType>
67
				<xs:restriction base="xs:string">
68
					<xs:enumeration value="SecurityProfileDSResourceType" />
69
				</xs:restriction>
70
			</xs:simpleType>
71
		</xs:attribute>
72
	</xs:complexType>
73
	<xs:complexType name="RESOURCE_URIType">
74
		<xs:attribute name="value" type="xs:string" use="required" />
75
	</xs:complexType>
76

    
77
	<xs:element name="SECURITY_PARAMETERS" type="xs:string" />
78

    
79
	<xs:complexType name="STATUSType"></xs:complexType>
80

    
81
	<xs:complexType name="attribute">
82
		<xs:sequence>
83
			<xs:element name="key" type="xs:string" minOccurs="0" />
84
			<xs:element name="type" type="xs:string" minOccurs="0" />
85
			<xs:element name="value" type="xs:string" minOccurs="0" />
86
			<xs:element name="attributes" type="attribute"
87
				nillable="true" maxOccurs="unbounded" minOccurs="0" />
88
		</xs:sequence>
89
	</xs:complexType>
90

    
91
	<xs:complexType name="typedString">
92
		<xs:sequence>
93
			<xs:element name="text" type="xs:string" minOccurs="0" />
94
			<xs:element name="type" type="xs:string" minOccurs="0" />
95
		</xs:sequence>
96
	</xs:complexType>
97

    
98
	<xs:complexType name="obligation">
99
		<xs:sequence>
100
			<xs:element name="obligation" type="xs:string"
101
				minOccurs="0" />
102
			<xs:element name="resource" type="xs:string" minOccurs="0" />
103
			<xs:element name="attributes" type="attribute"
104
				nillable="true" maxOccurs="unbounded" minOccurs="0" />
105
		</xs:sequence>
106
	</xs:complexType>
107

    
108
</xs:schema>
(9-9/12)