1
|
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by pagano (CNR) --><!--W3C Schema generated by XMLSpy v2007 sp1 (http://www.altova.com)-->
|
2
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
3
|
<xs:element name="RESOURCE_PROFILE">
|
4
|
<xs:complexType>
|
5
|
<xs:sequence>
|
6
|
<xs:element name="HEADER" type="HEADERType"/>
|
7
|
<xs:element name="BODY" type="BODYType"/>
|
8
|
</xs:sequence>
|
9
|
</xs:complexType>
|
10
|
</xs:element>
|
11
|
<xs:complexType name="HEADERType">
|
12
|
<xs:all>
|
13
|
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
|
14
|
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/>
|
15
|
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/>
|
16
|
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/>
|
17
|
<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType"/>
|
18
|
</xs:all>
|
19
|
</xs:complexType>
|
20
|
<xs:complexType name="RESOURCE_IDENTIFIERType">
|
21
|
<xs:attribute name="value" type="xs:string" use="required"/>
|
22
|
</xs:complexType>
|
23
|
<xs:complexType name="RESOURCE_TYPEType">
|
24
|
<xs:attribute name="value" use="required">
|
25
|
<xs:simpleType>
|
26
|
<xs:restriction base="xs:string">
|
27
|
<xs:enumeration value="RecommendationDSResourceType"/>
|
28
|
</xs:restriction>
|
29
|
</xs:simpleType>
|
30
|
</xs:attribute>
|
31
|
</xs:complexType>
|
32
|
<xs:complexType name="RESOURCE_KINDType">
|
33
|
<xs:attribute name="value" use="required">
|
34
|
<xs:simpleType>
|
35
|
<xs:restriction base="xs:string">
|
36
|
<xs:enumeration value="RecommendationDSResources"/>
|
37
|
</xs:restriction>
|
38
|
</xs:simpleType>
|
39
|
</xs:attribute>
|
40
|
</xs:complexType>
|
41
|
<xs:complexType name="RESOURCE_URIType">
|
42
|
<xs:attribute name="value" type="xs:string" use="required"/>
|
43
|
</xs:complexType>
|
44
|
<xs:complexType name="DATE_OF_CREATIONType">
|
45
|
<xs:attribute name="value" type="xs:string" use="required"/>
|
46
|
</xs:complexType>
|
47
|
<xs:complexType name="BODYType">
|
48
|
<xs:sequence>
|
49
|
<xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
|
50
|
<xs:element name="STATUS" type="xs:string"/>
|
51
|
<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType"/>
|
52
|
<xs:element name="INDEX" type="xs:int" minOccurs="0"/>
|
53
|
<xs:element name="ACTIVE" type="xs:boolean" minOccurs="0"/>
|
54
|
<xs:element name="TITLE" type="xs:string" minOccurs="0"/>
|
55
|
</xs:sequence>
|
56
|
</xs:complexType>
|
57
|
<xs:complexType name="CONFIGURATIONType">
|
58
|
<xs:sequence>
|
59
|
<xs:element name="RECOMMENDATION_INFO" type="RECOMMENDATION_INFOType"/>
|
60
|
</xs:sequence>
|
61
|
</xs:complexType>
|
62
|
<xs:complexType name="SECURITY_PARAMETERSType">
|
63
|
<xs:all>
|
64
|
<xs:element name="SECURITY_PARAMETER" type="xs:string"/>
|
65
|
</xs:all>
|
66
|
</xs:complexType>
|
67
|
<xs:complexType name="RECOMMENDATION_INFOType">
|
68
|
<xs:sequence>
|
69
|
<xs:element name="RECOMMENDATION_TEXT" type="xs:string"/>
|
70
|
<xs:element name="DATE_OF_EXPIRATION">
|
71
|
<xs:complexType>
|
72
|
<xs:attribute name="value" type="xs:string" use="required"/>
|
73
|
</xs:complexType>
|
74
|
</xs:element>
|
75
|
<xs:element name="TYPE" type="xs:string"/>
|
76
|
<xs:element name="COMMUNITIES" type="COMMUNITIESType" minOccurs="0" maxOccurs="1"/>
|
77
|
<xs:element name="USERS" type="USERSType" minOccurs="0" maxOccurs="1"/>
|
78
|
</xs:sequence>
|
79
|
</xs:complexType>
|
80
|
<xs:complexType name="COMMUNITIESType">
|
81
|
<xs:sequence>
|
82
|
<xs:element name="COMMUNITY_ID" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
83
|
</xs:sequence>
|
84
|
</xs:complexType>
|
85
|
<xs:complexType name="USERSType">
|
86
|
<xs:sequence>
|
87
|
<xs:element name="USER_ID" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
88
|
</xs:sequence>
|
89
|
</xs:complexType>
|
90
|
</xs:schema>
|
91
|
|