1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
3
|
<xs:annotation>
|
4
|
<xs:documentation>Standard part of any Resource Profile</xs:documentation>
|
5
|
</xs:annotation>
|
6
|
<xs:element name="RESOURCE_PROFILE">
|
7
|
<xs:complexType>
|
8
|
<xs:sequence>
|
9
|
<xs:element type="HEADERType" name="HEADER"/>
|
10
|
<xs:element type="BODYType" name="BODY"/>
|
11
|
</xs:sequence>
|
12
|
</xs:complexType>
|
13
|
</xs:element>
|
14
|
<xs:complexType name="HEADERType">
|
15
|
<xs:all>
|
16
|
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/>
|
17
|
<xs:element type="RESOURCE_TYPEType" name="RESOURCE_TYPE"/>
|
18
|
<xs:element type="RESOURCE_KINDType" name="RESOURCE_KIND"/>
|
19
|
<xs:element type="RESOURCE_URIType" name="RESOURCE_URI"/>
|
20
|
<xs:element name="DATE_OF_CREATION" type="DATEType"/>
|
21
|
</xs:all>
|
22
|
</xs:complexType>
|
23
|
<xs:complexType name="BODYType">
|
24
|
<xs:sequence>
|
25
|
<xs:element name="CONFIGURATION" type="CONFIGURATIONType"/>
|
26
|
<xs:element type="STATUSType" name="STATUS"/>
|
27
|
<xs:element ref="SECURITY_PARAMETERS"/>
|
28
|
</xs:sequence>
|
29
|
</xs:complexType>
|
30
|
<xs:complexType name="RESOURCE_IDENTIFIERType">
|
31
|
<xs:attribute use="required" name="value" type="xs:string"/>
|
32
|
</xs:complexType>
|
33
|
<xs:complexType name="RESOURCE_TYPEType">
|
34
|
<xs:attribute name="value" use="required">
|
35
|
<xs:simpleType>
|
36
|
<xs:restriction base="xs:string">
|
37
|
<xs:enumeration value="GroovyProcessingDSResourceType"/>
|
38
|
</xs:restriction>
|
39
|
</xs:simpleType>
|
40
|
</xs:attribute>
|
41
|
</xs:complexType>
|
42
|
<xs:complexType name="RESOURCE_KINDType">
|
43
|
<xs:attribute use="required" name="value">
|
44
|
<xs:simpleType>
|
45
|
<xs:restriction base="xs:string">
|
46
|
<xs:enumeration value="GroovyProcessingDSResource"/>
|
47
|
</xs:restriction>
|
48
|
</xs:simpleType>
|
49
|
</xs:attribute>
|
50
|
</xs:complexType>
|
51
|
<xs:complexType name="RESOURCE_URIType">
|
52
|
<xs:attribute name="value" type="xs:string" use="required"/>
|
53
|
</xs:complexType>
|
54
|
<xs:complexType name="DATEType">
|
55
|
<xs:attribute use="required" name="value" type="xs:dateTime"/>
|
56
|
</xs:complexType>
|
57
|
<xs:annotation>
|
58
|
<xs:documentation>Customisable part of any Resource Profile</xs:documentation>
|
59
|
</xs:annotation>
|
60
|
<xs:complexType name="CONFIGURATIONType">
|
61
|
<xs:sequence>
|
62
|
<xs:element type="xs:string" name="GROOVY_DESCRIPTION" minOccurs="1" maxOccurs="1"/>
|
63
|
<!-- Path to the directory containing all groovy resources needed for the processing -->
|
64
|
<xs:element type="xs:string" name="GROOVY_CLASSPATH" minOccurs="1" maxOccurs="1"/>
|
65
|
<!-- Name of the Groovy class to instantiate and launch for the processing (must implement the RunnableGroovy interface) -->
|
66
|
<xs:element type="xs:string" name="GROOVY_DNETCLASS" minOccurs="1" maxOccurs="1"/>
|
67
|
</xs:sequence>
|
68
|
</xs:complexType>
|
69
|
|
70
|
<xs:complexType name="STATUSType">
|
71
|
<xs:all>
|
72
|
<xs:element type="DATEType" name="LAST_UPDATE"/>
|
73
|
</xs:all>
|
74
|
</xs:complexType>
|
75
|
|
76
|
<xs:element type="xs:string" name="SECURITY_PARAMETERS" />
|
77
|
|
78
|
</xs:schema>
|