Revision 47767
Added by Claudio Atzori almost 6 years ago
modules/dnet-schemas/tags/dnet-schemas-1.0.8/deploy.info | ||
---|---|---|
1 |
{"type_source": "SVN", "goal": "package -U -T 4C source:jar", "url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-schemas/trunk/", "deploy_repository": "dnet45-snapshots", "version": "4", "mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it", "deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-snapshots", "name": "dnet-schemas"} |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/SystemManagementDSResourceType.xsd | ||
---|---|---|
1 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
2 |
elementFormDefault="qualified"> |
|
3 |
<xs:annotation> |
|
4 |
<xs:documentation>Standard part of any Resource Profile |
|
5 |
</xs:documentation> |
|
6 |
</xs:annotation> |
|
7 |
<xs:element name="RESOURCE_PROFILE"> |
|
8 |
<xs:complexType> |
|
9 |
<xs:sequence> |
|
10 |
<xs:element name="HEADER" type="HEADERType" /> |
|
11 |
<xs:element name="BODY" type="BODYType" /> |
|
12 |
</xs:sequence> |
|
13 |
</xs:complexType> |
|
14 |
</xs:element> |
|
15 |
<xs:complexType name="HEADERType"> |
|
16 |
<xs:all> |
|
17 |
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" /> |
|
18 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" /> |
|
19 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" /> |
|
20 |
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" /> |
|
21 |
<xs:element name="DATE_OF_CREATION" type="DATEType" /> |
|
22 |
</xs:all> |
|
23 |
</xs:complexType> |
|
24 |
<xs:complexType name="BODYType"> |
|
25 |
<xs:sequence> |
|
26 |
<xs:element name="CONFIGURATION" type="CONFIGURATIONType" /> |
|
27 |
<xs:element name="STATUS" type="STATUSType" /> |
|
28 |
<xs:element ref="SECURITY_PARAMETERS" /> |
|
29 |
</xs:sequence> |
|
30 |
</xs:complexType> |
|
31 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
32 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
33 |
</xs:complexType> |
|
34 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
35 |
<xs:attribute name="value" use="required"> |
|
36 |
<xs:simpleType> |
|
37 |
<xs:restriction base="xs:string"> |
|
38 |
<xs:enumeration value="SystemManagementDSResourceType" /> |
|
39 |
</xs:restriction> |
|
40 |
</xs:simpleType> |
|
41 |
</xs:attribute> |
|
42 |
</xs:complexType> |
|
43 |
<xs:complexType name="RESOURCE_KINDType"> |
|
44 |
<xs:attribute name="value" use="required"> |
|
45 |
<xs:simpleType> |
|
46 |
<xs:restriction base="xs:string"> |
|
47 |
<xs:enumeration value="SystemManagementDSResources" /> |
|
48 |
</xs:restriction> |
|
49 |
</xs:simpleType> |
|
50 |
</xs:attribute> |
|
51 |
</xs:complexType> |
|
52 |
<xs:complexType name="RESOURCE_URIType"> |
|
53 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
54 |
</xs:complexType> |
|
55 |
<xs:complexType name="DATEType"> |
|
56 |
<xs:attribute name="value" type="xs:dateTime" use="required" /> |
|
57 |
</xs:complexType> |
|
58 |
<xs:annotation> |
|
59 |
<xs:documentation>Customisable part of any Resource Profile |
|
60 |
</xs:documentation> |
|
61 |
</xs:annotation> |
|
62 |
<xs:complexType name="CONFIGURATIONType"> |
|
63 |
<xs:all> |
|
64 |
<xs:element ref="NAME" /> |
|
65 |
<xs:element name="MANAGER_SERVICE_ID" type="RESOURCE_IDENTIFIERType" /> |
|
66 |
<xs:element name="QoSTHRESHOLDS" type="QoSType" /> |
|
67 |
<xs:element name="MAPPINGS" type="MAPPINGSType" /> |
|
68 |
<xs:element name="FIELD_SETTINGS" type="FIELD_SETTINGSType" /> |
|
69 |
<xs:element name="INFOSPACE_VIEWS" type="INFOSPACE_VIEWSType" /> |
|
70 |
</xs:all> |
|
71 |
</xs:complexType> |
|
72 |
<xs:complexType name="QoSType"> |
|
73 |
<xs:sequence> |
|
74 |
<xs:element name="SERVICE_TYPE" type="SERVICEType" |
|
75 |
minOccurs="0" maxOccurs="unbounded" /> |
|
76 |
</xs:sequence> |
|
77 |
</xs:complexType> |
|
78 |
<xs:complexType name="SERVICEType"> |
|
79 |
<xs:all> |
|
80 |
<xs:element ref="NAME" /> |
|
81 |
<xs:element name="REPLICAS" type="REPLICASType" /> |
|
82 |
<xs:element name="INSTANCES" type="INSTANCESType" /> |
|
83 |
<xs:element name="EFFICIENCY " type="EFFICIENCYType" /> |
|
84 |
</xs:all> |
|
85 |
</xs:complexType> |
|
86 |
<xs:complexType name="MAPPINGSType"> |
|
87 |
<xs:sequence> |
|
88 |
<xs:element name="MAPPING" type="MAPPINGType" maxOccurs="unbounded" /> |
|
89 |
</xs:sequence> |
|
90 |
</xs:complexType> |
|
91 |
<xs:complexType name="MAPPINGType"> |
|
92 |
<xs:all> |
|
93 |
<xs:element name="PENDING_TYPOLOGY" type="xs:string" /> |
|
94 |
<xs:element name="RESOURCE_KIND" type="xs:string" /> |
|
95 |
<xs:element name="RESOURCE_TYPES" type="RESOURCETYPESType" /> |
|
96 |
</xs:all> |
|
97 |
</xs:complexType> |
|
98 |
<xs:complexType name="INFOSPACE_VIEWSType"> |
|
99 |
<xs:sequence> |
|
100 |
<xs:element name="VIEW" type="xs:string" minOccurs="0" |
|
101 |
maxOccurs="unbounded" /> |
|
102 |
</xs:sequence> |
|
103 |
</xs:complexType> |
|
104 |
<xs:complexType name="FIELD_SETTINGSType"> |
|
105 |
<xs:sequence> |
|
106 |
<xs:element name="FIELD_SETTING" type="FIELD_SETTINGType" |
|
107 |
minOccurs="0" maxOccurs="unbounded" /> |
|
108 |
</xs:sequence> |
|
109 |
</xs:complexType> |
|
110 |
<xs:complexType name="FIELD_SETTINGType"> |
|
111 |
<xs:sequence> |
|
112 |
<xs:element name="NAME" type="xs:string" maxOccurs="unbounded" /> |
|
113 |
</xs:sequence> |
|
114 |
<xs:attribute name="name" type="xs:string" /> |
|
115 |
</xs:complexType> |
|
116 |
<xs:complexType name="RESOURCETYPESType"> |
|
117 |
<xs:sequence> |
|
118 |
<xs:element name="RESOURCE_TYPE" type="xs:string" |
|
119 |
maxOccurs="unbounded" /> |
|
120 |
</xs:sequence> |
|
121 |
</xs:complexType> |
|
122 |
<xs:complexType name="REPLICASType"> |
|
123 |
<xs:all> |
|
124 |
<xs:element name="MIN_NUMBER" type="xs:int" /> |
|
125 |
<xs:element name="MAX_NUMBER" type="xs:int" /> |
|
126 |
</xs:all> |
|
127 |
</xs:complexType> |
|
128 |
<xs:complexType name="INSTANCESType"> |
|
129 |
<xs:all> |
|
130 |
<xs:element name="MIN_NUMBER" type="xs:int" /> |
|
131 |
<xs:element name="MAX_NUMBER" type="xs:int" /> |
|
132 |
</xs:all> |
|
133 |
</xs:complexType> |
|
134 |
<xs:complexType name="EFFICIENCYType"> |
|
135 |
<xs:all> |
|
136 |
<xs:element name="MIN_AVAILABILITY" type="xs:int" /> |
|
137 |
<xs:element name="MIN_CAPACITY" type="xs:int" /> |
|
138 |
<xs:element name="MIN_RESPONSE_TIME" type="xs:int" /> |
|
139 |
<xs:element name="MIN_THROUGHPUT" type="xs:int" /> |
|
140 |
</xs:all> |
|
141 |
</xs:complexType> |
|
142 |
<xs:complexType name="STATUSType"> |
|
143 |
<xs:all> |
|
144 |
<xs:element name="LAST_UPDATE" type="DATEType" /> |
|
145 |
</xs:all> |
|
146 |
</xs:complexType> |
|
147 |
<xs:element name="NAME" type="xs:string" /> |
|
148 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string" /> |
|
149 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/GroovyProcessingDSResourceType.xsd | ||
---|---|---|
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> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ObjectStoreDSResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
|
3 |
<xs:complexType name="BODYType"> |
|
4 |
<xs:sequence> |
|
5 |
<xs:element name="CONFIGURATION" type="CONFIGURATIONType"/> |
|
6 |
<xs:element name="STATUS" type="STATUSType"/> |
|
7 |
<xs:element ref="SECURITY_PARAMETERS"/> |
|
8 |
</xs:sequence> |
|
9 |
</xs:complexType> |
|
10 |
<xs:complexType name="CONFIGURATIONType"> |
|
11 |
<xs:all> |
|
12 |
<xs:element ref="OBJECTSTORE_INTERPRETATION"/> |
|
13 |
</xs:all> |
|
14 |
</xs:complexType> |
|
15 |
<xs:complexType name="DATE_OF_CREATIONType"> |
|
16 |
<xs:attribute name="value" type="xs:dateTime" use="required"/> |
|
17 |
</xs:complexType> |
|
18 |
<xs:complexType name="HEADERType"> |
|
19 |
<xs:all> |
|
20 |
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType"/> |
|
21 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/> |
|
22 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType"/> |
|
23 |
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType"/> |
|
24 |
<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType"/> |
|
25 |
</xs:all> |
|
26 |
</xs:complexType> |
|
27 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
28 |
<xs:attribute name="value" type="xs:string" use="required"/> |
|
29 |
</xs:complexType> |
|
30 |
<xs:complexType name="RESOURCE_KINDType"> |
|
31 |
<xs:attribute name="value" use="required"> |
|
32 |
<xs:simpleType> |
|
33 |
<xs:restriction base="xs:string"> |
|
34 |
<xs:enumeration value="ObjectStoreDSResources"/> |
|
35 |
</xs:restriction> |
|
36 |
</xs:simpleType> |
|
37 |
</xs:attribute> |
|
38 |
</xs:complexType> |
|
39 |
<xs:element name="RESOURCE_PROFILE"> |
|
40 |
<xs:complexType> |
|
41 |
<xs:sequence> |
|
42 |
<xs:element name="HEADER" type="HEADERType"/> |
|
43 |
<xs:element name="BODY" type="BODYType"/> |
|
44 |
</xs:sequence> |
|
45 |
</xs:complexType> |
|
46 |
</xs:element> |
|
47 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
48 |
<xs:attribute name="value" use="required"> |
|
49 |
<xs:simpleType> |
|
50 |
<xs:restriction base="xs:string"> |
|
51 |
<xs:enumeration value="ObjectStoreDSResourceType"/> |
|
52 |
</xs:restriction> |
|
53 |
</xs:simpleType> |
|
54 |
</xs:attribute> |
|
55 |
</xs:complexType> |
|
56 |
<xs:complexType name="RESOURCE_URIType"> |
|
57 |
<xs:attribute name="value" type="xs:string" use="required"/> |
|
58 |
</xs:complexType> |
|
59 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string"/> |
|
60 |
<xs:complexType name="STATUSType"> |
|
61 |
<xs:all> |
|
62 |
<xs:element ref="PENULTIMATE_STORAGE_DATE"/> |
|
63 |
<xs:element ref="LAST_STORAGE_DATE"/> |
|
64 |
<xs:element name="FETCHING_FREQUENCY"/> |
|
65 |
<xs:element ref="COUNT_STORE"/> |
|
66 |
<xs:element ref="STORE_SIZE"/> |
|
67 |
<xs:element name="STATISTICS_FIELDS" type="STATISTICS_FIELDSType"/> |
|
68 |
</xs:all> |
|
69 |
</xs:complexType> |
|
70 |
<xs:element name="OBJECTSTORE_INTERPRETATION" type="xs:string"/> |
|
71 |
<xs:element name="PENULTIMATE_STORAGE_DATE" type="xs:string"/> |
|
72 |
<xs:element name="LAST_STORAGE_DATE" type="xs:string"/> |
|
73 |
<xs:element name="FETCHING_FREQUENCY" type="xs:string"/> |
|
74 |
<xs:complexType name="VFIELDType"> |
|
75 |
<xs:sequence> |
|
76 |
<xs:element name="VALUE" type="xs:string" minOccurs="1" maxOccurs="unbounded"/> |
|
77 |
</xs:sequence> |
|
78 |
<xs:attribute name="name" type="xs:string" use="required"/> |
|
79 |
</xs:complexType> |
|
80 |
<xs:complexType name="FIELDType"> |
|
81 |
<xs:attribute name="name" type="xs:string" use="required"/> |
|
82 |
</xs:complexType> |
|
83 |
<xs:element name="COUNT_STORE" type="xs:int"/> |
|
84 |
<xs:element name="STORE_SIZE" type="xs:int"/> |
|
85 |
<xs:complexType name="STATISTICS_FIELDSType"> |
|
86 |
<xs:sequence> |
|
87 |
<xs:element name="FIELD" type="VFIELDType" minOccurs="0" maxOccurs="unbounded"/> |
|
88 |
</xs:sequence> |
|
89 |
</xs:complexType> |
|
90 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/CommunityDSResourceType.xsd | ||
---|---|---|
1 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
|
2 |
<xs:element name="RESOURCE_PROFILE"> |
|
3 |
<xs:complexType> |
|
4 |
<xs:sequence> |
|
5 |
<xs:element name="HEADER" type="HEADERType" /> |
|
6 |
<xs:element name="BODY" type="BODYType" /> |
|
7 |
</xs:sequence> |
|
8 |
</xs:complexType> |
|
9 |
</xs:element> |
|
10 |
<xs:complexType name="HEADERType"> |
|
11 |
<xs:all> |
|
12 |
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" /> |
|
13 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" /> |
|
14 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" /> |
|
15 |
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" /> |
|
16 |
<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" /> |
|
17 |
</xs:all> |
|
18 |
</xs:complexType> |
|
19 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
20 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
21 |
</xs:complexType> |
|
22 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
23 |
<xs:attribute name="value" use="required"> |
|
24 |
<xs:simpleType> |
|
25 |
<xs:restriction base="xs:string"> |
|
26 |
<xs:enumeration value="CommunityDSResourceType" /> |
|
27 |
</xs:restriction> |
|
28 |
</xs:simpleType> |
|
29 |
</xs:attribute> |
|
30 |
</xs:complexType> |
|
31 |
<xs:complexType name="RESOURCE_KINDType"> |
|
32 |
<xs:attribute name="value" use="required"> |
|
33 |
<xs:simpleType> |
|
34 |
<xs:restriction base="xs:string"> |
|
35 |
<xs:enumeration value="CommunityDSResources" /> |
|
36 |
</xs:restriction> |
|
37 |
</xs:simpleType> |
|
38 |
</xs:attribute> |
|
39 |
</xs:complexType> |
|
40 |
<xs:complexType name="RESOURCE_URIType"> |
|
41 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
42 |
</xs:complexType> |
|
43 |
<xs:complexType name="DATE_OF_CREATIONType"> |
|
44 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
45 |
</xs:complexType> |
|
46 |
<xs:complexType name="BODYType"> |
|
47 |
<xs:sequence> |
|
48 |
<xs:element name="CONFIGURATION" type="CONFIGURATIONType" /> |
|
49 |
<xs:element name="STATUS" type="xs:string" /> |
|
50 |
<xs:element name="SECURITY_PARAMETERS" type="SECURITY_PARAMETERSType" /> |
|
51 |
</xs:sequence> |
|
52 |
</xs:complexType> |
|
53 |
<xs:complexType name="CONFIGURATIONType"> |
|
54 |
<xs:sequence> |
|
55 |
<xs:element name="NAME"> |
|
56 |
<xs:complexType> |
|
57 |
<xs:attribute name="value" type="xs:string" /> |
|
58 |
</xs:complexType> |
|
59 |
</xs:element> |
|
60 |
<xs:element name="OWNER"> |
|
61 |
<xs:complexType> |
|
62 |
<xs:attribute name="value" type="xs:string" /> |
|
63 |
</xs:complexType> |
|
64 |
</xs:element> |
|
65 |
<xs:element name="DESCRIPTION"> |
|
66 |
<xs:complexType> |
|
67 |
<xs:attribute name="value" type="xs:string" /> |
|
68 |
</xs:complexType> |
|
69 |
</xs:element> |
|
70 |
<xs:element name="COLLECTIONS" type="COLLECTIONSType" /> |
|
71 |
<xs:element name="MANAGERS" type="MANAGERSType" /> |
|
72 |
<xs:element name="RECOMMENDATIONS" type="RECOMMENDATIONSType" /> |
|
73 |
<xs:element name="authoritativeDocuments" type="authoritativeDocumentsType" /> |
|
74 |
</xs:sequence> |
|
75 |
</xs:complexType> |
|
76 |
<xs:complexType name="COLLECTIONSType"> |
|
77 |
<xs:sequence> |
|
78 |
<xs:element name="COLLECTION" type="COLLECTIONType" |
|
79 |
minOccurs="0" maxOccurs="unbounded" /> |
|
80 |
</xs:sequence> |
|
81 |
</xs:complexType> |
|
82 |
<xs:complexType name="COLLECTIONType"> |
|
83 |
<xs:attribute name="collection" type="xs:string" /> |
|
84 |
</xs:complexType> |
|
85 |
<xs:complexType name="authoritativeDocumentsType"> |
|
86 |
<xs:sequence> |
|
87 |
<xs:element name="authoritativeDocument" type="xs:string" |
|
88 |
minOccurs="0" maxOccurs="unbounded" /> |
|
89 |
</xs:sequence> |
|
90 |
</xs:complexType> |
|
91 |
<xs:complexType name="MANAGERSType"> |
|
92 |
<xs:sequence> |
|
93 |
<xs:element name="MANAGER" type="MANAGERType" minOccurs="0" |
|
94 |
maxOccurs="unbounded" /> |
|
95 |
</xs:sequence> |
|
96 |
</xs:complexType> |
|
97 |
<xs:complexType name="MANAGERType"> |
|
98 |
<xs:attribute name="manager" type="xs:string" /> |
|
99 |
</xs:complexType> |
|
100 |
<xs:complexType name="RECOMMENDATIONSType"> |
|
101 |
<xs:sequence> |
|
102 |
<xs:element name="RECOMMENDATION" type="RECOMMENDATIONType" |
|
103 |
minOccurs="0" maxOccurs="unbounded" /> |
|
104 |
</xs:sequence> |
|
105 |
</xs:complexType> |
|
106 |
<xs:complexType name="RECOMMENDATIONType"> |
|
107 |
<xs:attribute name="recommendation" type="xs:string" /> |
|
108 |
</xs:complexType> |
|
109 |
<xs:complexType name="SECURITY_PARAMETERSType"> |
|
110 |
<xs:attribute name="SECURITY_PARAMETER" type="xs:string" /> |
|
111 |
</xs:complexType> |
|
112 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/ContextDSResourceType.xsd | ||
---|---|---|
1 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
|
2 |
<xs:element name="RESOURCE_PROFILE"> |
|
3 |
<xs:complexType> |
|
4 |
<xs:sequence> |
|
5 |
<xs:element ref="HEADER"/> |
|
6 |
<xs:element ref="BODY"/> |
|
7 |
</xs:sequence> |
|
8 |
</xs:complexType> |
|
9 |
</xs:element> |
|
10 |
<xs:element name="HEADER"> |
|
11 |
<xs:complexType> |
|
12 |
<xs:sequence> |
|
13 |
<xs:element ref="RESOURCE_IDENTIFIER"/> |
|
14 |
<xs:element ref="RESOURCE_TYPE"/> |
|
15 |
<xs:element ref="RESOURCE_KIND"/> |
|
16 |
<xs:element ref="RESOURCE_URI"/> |
|
17 |
<xs:element ref="DATE_OF_CREATION"/> |
|
18 |
</xs:sequence> |
|
19 |
</xs:complexType> |
|
20 |
</xs:element> |
|
21 |
<xs:element name="RESOURCE_IDENTIFIER"> |
|
22 |
<xs:complexType> |
|
23 |
<xs:attribute name="value" use="required"/> |
|
24 |
</xs:complexType> |
|
25 |
</xs:element> |
|
26 |
<xs:element name="RESOURCE_TYPE"> |
|
27 |
<xs:complexType> |
|
28 |
<xs:attribute name="value" use="required" type="xs:NCName"/> |
|
29 |
</xs:complexType> |
|
30 |
</xs:element> |
|
31 |
<xs:element name="RESOURCE_KIND"> |
|
32 |
<xs:complexType> |
|
33 |
<xs:attribute name="value" use="required" type="xs:NCName"/> |
|
34 |
</xs:complexType> |
|
35 |
</xs:element> |
|
36 |
<xs:element name="RESOURCE_URI"> |
|
37 |
<xs:complexType> |
|
38 |
<xs:attribute name="value" use="required"/> |
|
39 |
</xs:complexType> |
|
40 |
</xs:element> |
|
41 |
<xs:element name="DATE_OF_CREATION"> |
|
42 |
<xs:complexType> |
|
43 |
<xs:attribute name="value" use="required"/> |
|
44 |
</xs:complexType> |
|
45 |
</xs:element> |
|
46 |
<xs:element name="BODY"> |
|
47 |
<xs:complexType> |
|
48 |
<xs:sequence> |
|
49 |
<xs:element ref="CONFIGURATION"/> |
|
50 |
<xs:element ref="STATUS"/> |
|
51 |
<xs:element ref="SECURITY_PARAMETERS"/> |
|
52 |
</xs:sequence> |
|
53 |
</xs:complexType> |
|
54 |
</xs:element> |
|
55 |
<xs:element name="CONFIGURATION"> |
|
56 |
<xs:complexType> |
|
57 |
<xs:sequence> |
|
58 |
<xs:element ref="context"/> |
|
59 |
</xs:sequence> |
|
60 |
</xs:complexType> |
|
61 |
</xs:element> |
|
62 |
<xs:element name="context"> |
|
63 |
<xs:complexType> |
|
64 |
<xs:sequence> |
|
65 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="param"/> |
|
66 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="category"/> |
|
67 |
</xs:sequence> |
|
68 |
<xs:attribute name="id" use="required" type="xs:string"/> |
|
69 |
<xs:attribute name="label" use="required" type="xs:string"/> |
|
70 |
<xs:attribute name="type" use="required" type="xs:string"/> |
|
71 |
</xs:complexType> |
|
72 |
</xs:element> |
|
73 |
<xs:element name="category"> |
|
74 |
<xs:complexType> |
|
75 |
<xs:sequence> |
|
76 |
<xs:element ref="param" maxOccurs="unbounded" minOccurs="0"/> |
|
77 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="concept"/> |
|
78 |
</xs:sequence> |
|
79 |
<xs:attribute name="claim" use="required" type="xs:boolean"/> |
|
80 |
<xs:attribute name="id" use="required" type="xs:string"/> |
|
81 |
<xs:attribute name="label" use="required"/> |
|
82 |
</xs:complexType> |
|
83 |
</xs:element> |
|
84 |
<xs:element name="STATUS"> |
|
85 |
<xs:complexType/> |
|
86 |
</xs:element> |
|
87 |
<xs:element name="SECURITY_PARAMETERS"> |
|
88 |
<xs:complexType/> |
|
89 |
</xs:element> |
|
90 |
<xs:element name="concept"> |
|
91 |
<xs:complexType> |
|
92 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
93 |
<xs:element ref="concept"/> |
|
94 |
<xs:element ref="param"/> |
|
95 |
</xs:choice> |
|
96 |
<xs:attribute name="claim" use="optional" type="xs:boolean"/> |
|
97 |
<xs:attribute name="id" use="required" type="xs:string"/> |
|
98 |
<xs:attribute name="label" use="required"/> |
|
99 |
</xs:complexType> |
|
100 |
</xs:element> |
|
101 |
<xs:element name="param"> |
|
102 |
<xs:complexType mixed="true"> |
|
103 |
<xs:attribute name="name" use="required" type="xs:string"/> |
|
104 |
</xs:complexType> |
|
105 |
</xs:element> |
|
106 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/MetadataFormatDSResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by Paolo (ISTI |
|
3 |
- CNR) --> |
|
4 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
5 |
elementFormDefault="qualified"> |
|
6 |
<xs:annotation> |
|
7 |
<xs:documentation>Standard part of any Resource Profile |
|
8 |
</xs:documentation> |
|
9 |
</xs:annotation> |
|
10 |
<xs:element name="RESOURCE_PROFILE"> |
|
11 |
<xs:complexType> |
|
12 |
<xs:sequence> |
|
13 |
<xs:element name="HEADER" type="HEADERType" /> |
|
14 |
<xs:element name="BODY" type="BODYType" /> |
|
15 |
</xs:sequence> |
|
16 |
</xs:complexType> |
|
17 |
</xs:element> |
|
18 |
<xs:complexType name="HEADERType"> |
|
19 |
<xs:all> |
|
20 |
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" /> |
|
21 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" /> |
|
22 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" /> |
|
23 |
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" /> |
|
24 |
<xs:element name="DATE_OF_CREATION" type="DATEType" /> |
|
25 |
</xs:all> |
|
26 |
</xs:complexType> |
|
27 |
<xs:complexType name="BODYType"> |
|
28 |
<xs:sequence> |
|
29 |
<xs:element name="CONFIGURATION" type="CONFIGURATIONType" /> |
|
30 |
<xs:element name="STATUS" type="STATUSType" /> |
|
31 |
<xs:element ref="SECURITY_PARAMETERS" /> |
|
32 |
</xs:sequence> |
|
33 |
</xs:complexType> |
|
34 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
35 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
36 |
</xs:complexType> |
|
37 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
38 |
<xs:attribute name="value" use="required"> |
|
39 |
<xs:simpleType> |
|
40 |
<xs:restriction base="xs:string"> |
|
41 |
<xs:enumeration value="MetadataFormatDSResourceType" /> |
|
42 |
</xs:restriction> |
|
43 |
</xs:simpleType> |
|
44 |
</xs:attribute> |
|
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="VocabularyDSResources" /> |
|
51 |
</xs:restriction> |
|
52 |
</xs:simpleType> |
|
53 |
</xs:attribute> |
|
54 |
</xs:complexType> |
|
55 |
<xs:complexType name="RESOURCE_URIType"> |
|
56 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
57 |
</xs:complexType> |
|
58 |
<xs:complexType name="DATEType"> |
|
59 |
<xs:attribute name="value" type="xs:dateTime" use="required" /> |
|
60 |
</xs:complexType> |
|
61 |
<xs:annotation> |
|
62 |
<xs:documentation>Customisable part of any Resource Profile |
|
63 |
</xs:documentation> |
|
64 |
</xs:annotation> |
|
65 |
<xs:complexType name="CONFIGURATIONType"> |
|
66 |
<xs:sequence> |
|
67 |
<xs:element ref="VOCABULARY_NAME" /> |
|
68 |
<xs:element ref="VOCABULARY_DESCRIPTION" /> |
|
69 |
<xs:element name="METADATAFORMATS" type="VOCABULARYTERMType" /> |
|
70 |
</xs:sequence> |
|
71 |
</xs:complexType> |
|
72 |
<xs:complexType name="VOCABULARYTERMType"> |
|
73 |
<xs:sequence> |
|
74 |
<xs:element name="METADATAFORMAT" type="TERMType" |
|
75 |
maxOccurs="unbounded" /> |
|
76 |
</xs:sequence> |
|
77 |
</xs:complexType> |
|
78 |
<xs:complexType name="TERMType"> |
|
79 |
<xs:attribute name="name" type="xs:string" use="required" /> |
|
80 |
<xs:attribute name="Prefix" type="xs:string" use="required" /> |
|
81 |
<xs:attribute name="NameSpace" type="xs:string" use="required" /> |
|
82 |
<xs:attribute name="Schema" type="xs:string" use="required" /> |
|
83 |
<xs:attribute name="IndexPrefix" type="xs:string" use="optional" /> |
|
84 |
<xs:attribute name="IndexLayout" type="xs:string" use="optional" /> |
|
85 |
<xs:attribute name="IndexDate" type="xs:string" use="optional" /> |
|
86 |
<xs:attribute name="IndexQuery" type="xs:string" use="optional" /> |
|
87 |
</xs:complexType> |
|
88 |
<xs:complexType name="STATUSType"> |
|
89 |
<xs:all> |
|
90 |
<xs:element name="LAST_UPDATE" type="DATEType" /> |
|
91 |
</xs:all> |
|
92 |
</xs:complexType> |
|
93 |
<xs:element name="VOCABULARY_NAME" type="xs:string" /> |
|
94 |
<xs:element name="VOCABULARY_DESCRIPTION" type="xs:string" /> |
|
95 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string" /> |
|
96 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/StoreDSResourceType.xsd | ||
---|---|---|
1 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
2 |
elementFormDefault="qualified"> |
|
3 |
<xs:complexType name="BODYType"> |
|
4 |
<xs:sequence> |
|
5 |
<xs:element name="CONFIGURATION" type="CONFIGURATIONType" /> |
|
6 |
<xs:element name="STATUS" type="STATUSType" /> |
|
7 |
<xs:element ref="SECURITY_PARAMETERS" /> |
|
8 |
</xs:sequence> |
|
9 |
</xs:complexType> |
|
10 |
<xs:complexType name="CONFIGURATIONType"> |
|
11 |
<xs:all> |
|
12 |
<xs:element ref="MAX_STDS_SIZE" /> |
|
13 |
<xs:element name="PREDEFINED_OBJECT_TYPES" type="PREDEFINED_OBJECT_TYPESType" /> |
|
14 |
</xs:all> |
|
15 |
</xs:complexType> |
|
16 |
<xs:complexType name="DATE_OF_CREATIONType"> |
|
17 |
<xs:attribute name="value" type="xs:dateTime" use="required" /> |
|
18 |
</xs:complexType> |
|
19 |
<xs:complexType name="HEADERType"> |
|
20 |
<xs:all> |
|
21 |
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" /> |
|
22 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" /> |
|
23 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" /> |
|
24 |
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" /> |
|
25 |
<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" /> |
|
26 |
</xs:all> |
|
27 |
</xs:complexType> |
|
28 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
29 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
30 |
</xs:complexType> |
|
31 |
<xs:complexType name="RESOURCE_KINDType"> |
|
32 |
<xs:attribute name="value" use="required"> |
|
33 |
<xs:simpleType> |
|
34 |
<xs:restriction base="xs:string"> |
|
35 |
<xs:enumeration value="StoreDSResources" /> |
|
36 |
</xs:restriction> |
|
37 |
</xs:simpleType> |
|
38 |
</xs:attribute> |
|
39 |
</xs:complexType> |
|
40 |
<xs:element name="RESOURCE_PROFILE"> |
|
41 |
<xs:complexType> |
|
42 |
<xs:sequence> |
|
43 |
<xs:element name="HEADER" type="HEADERType" /> |
|
44 |
<xs:element name="BODY" type="BODYType" /> |
|
45 |
</xs:sequence> |
|
46 |
</xs:complexType> |
|
47 |
</xs:element> |
|
48 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
49 |
<xs:attribute name="value" use="required"> |
|
50 |
<xs:simpleType> |
|
51 |
<xs:restriction base="xs:string"> |
|
52 |
<xs:enumeration value="StoreDSResourceType" /> |
|
53 |
</xs:restriction> |
|
54 |
</xs:simpleType> |
|
55 |
</xs:attribute> |
|
56 |
</xs:complexType> |
|
57 |
<xs:complexType name="RESOURCE_URIType"> |
|
58 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
59 |
</xs:complexType> |
|
60 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string" /> |
|
61 |
<xs:complexType name="STATUSType"> |
|
62 |
<xs:all> |
|
63 |
<xs:element ref="PENULTIMATE_STORAGE_DATE" /> |
|
64 |
<xs:element ref="LAST_STORAGE_DATE" /> |
|
65 |
<xs:element name="NUMBER_OF_STORED_OBJECTS" /> |
|
66 |
<xs:element name="STORED_OBJECT_TYPES" type="STORED_OBJECT_TYPESType" /> |
|
67 |
</xs:all> |
|
68 |
</xs:complexType> |
|
69 |
<xs:element name="MAX_STDS_SIZE" type="xs:int" /> |
|
70 |
<xs:element name="PENULTIMATE_STORAGE_DATE" type="xs:string" /> |
|
71 |
<xs:element name="LAST_STORAGE_DATE" type="xs:string" /> |
|
72 |
<xs:element name="NUMBER_OF_STORED_OBJECTS" type="xs:int" /> |
|
73 |
<xs:complexType name="SOMTType"> |
|
74 |
<xs:attribute name="name" type="xs:string" use="required" /> |
|
75 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
76 |
</xs:complexType> |
|
77 |
<xs:complexType name="STORED_OBJECT_TYPESType"> |
|
78 |
<xs:sequence> |
|
79 |
<xs:element name="STORED_OBJECT_MIME_TYPE" type="SOMTType" |
|
80 |
minOccurs="0" maxOccurs="unbounded" /> |
|
81 |
</xs:sequence> |
|
82 |
</xs:complexType> |
|
83 |
<xs:complexType name="POMTType"> |
|
84 |
<xs:attribute name="name" type="xs:string" use="required" /> |
|
85 |
</xs:complexType> |
|
86 |
<xs:complexType name="PREDEFINED_OBJECT_TYPESType"> |
|
87 |
<xs:sequence> |
|
88 |
<xs:element name="PREDEFINED_OBJECT_MIME_TYPE" type="POMTType" |
|
89 |
minOccurs="0" maxOccurs="unbounded" /> |
|
90 |
</xs:sequence> |
|
91 |
</xs:complexType> |
|
92 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/HadoopJobConfigurationDSResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
|
3 |
<xs:element name="RESOURCE_PROFILE"> |
|
4 |
<xs:complexType> |
|
5 |
<xs:sequence> |
|
6 |
<xs:element ref="HEADER"/> |
|
7 |
<xs:element ref="BODY"/> |
|
8 |
</xs:sequence> |
|
9 |
</xs:complexType> |
|
10 |
</xs:element> |
|
11 |
<xs:element name="HEADER"> |
|
12 |
<xs:complexType> |
|
13 |
<xs:sequence> |
|
14 |
<xs:element ref="RESOURCE_IDENTIFIER"/> |
|
15 |
<xs:element ref="RESOURCE_TYPE"/> |
|
16 |
<xs:element ref="RESOURCE_KIND"/> |
|
17 |
<xs:element ref="RESOURCE_URI"/> |
|
18 |
<xs:element ref="DATE_OF_CREATION"/> |
|
19 |
</xs:sequence> |
|
20 |
</xs:complexType> |
|
21 |
</xs:element> |
|
22 |
<xs:element name="RESOURCE_IDENTIFIER"> |
|
23 |
<xs:complexType> |
|
24 |
<xs:attribute name="value" use="required"/> |
|
25 |
</xs:complexType> |
|
26 |
</xs:element> |
|
27 |
<xs:element name="RESOURCE_TYPE"> |
|
28 |
<xs:complexType> |
|
29 |
<xs:attribute name="value" use="required"/> |
|
30 |
</xs:complexType> |
|
31 |
</xs:element> |
|
32 |
<xs:element name="RESOURCE_KIND"> |
|
33 |
<xs:complexType> |
|
34 |
<xs:attribute name="value" use="required"/> |
|
35 |
</xs:complexType> |
|
36 |
</xs:element> |
|
37 |
<xs:element name="RESOURCE_URI"> |
|
38 |
<xs:complexType> |
|
39 |
<xs:attribute name="value" use="required"/> |
|
40 |
</xs:complexType> |
|
41 |
</xs:element> |
|
42 |
<xs:element name="DATE_OF_CREATION"> |
|
43 |
<xs:complexType> |
|
44 |
<xs:attribute name="value" use="required" type="xs:dateTime"/> |
|
45 |
</xs:complexType> |
|
46 |
</xs:element> |
|
47 |
<xs:element name="BODY"> |
|
48 |
<xs:complexType> |
|
49 |
<xs:sequence> |
|
50 |
<xs:element ref="HADOOP_JOB"/> |
|
51 |
<xs:element ref="STATUS"/> |
|
52 |
<xs:element ref="SECURITY_PARAMETERS"/> |
|
53 |
</xs:sequence> |
|
54 |
</xs:complexType> |
|
55 |
</xs:element> |
|
56 |
<xs:element name="HADOOP_JOB"> |
|
57 |
<xs:complexType> |
|
58 |
<xs:sequence> |
|
59 |
<xs:element ref="DESCRIPTION"/> |
|
60 |
<xs:element ref="STATIC_CONFIGURATION"/> |
|
61 |
<xs:element ref="JOB_INTERFACE"/> |
|
62 |
<xs:element ref="SCAN" minOccurs="0" maxOccurs="1"/> |
|
63 |
</xs:sequence> |
|
64 |
<xs:attribute name="name" use="required" type="xs:string"/> |
|
65 |
<xs:attribute name="type" use="required"> |
|
66 |
<xs:simpleType> |
|
67 |
<xs:restriction base="xs:string"> |
|
68 |
<xs:enumeration value="mapreduce"/> |
|
69 |
<xs:enumeration value="oozie"/> |
|
70 |
<xs:enumeration value="admin"/> |
|
71 |
</xs:restriction> |
|
72 |
</xs:simpleType> |
|
73 |
</xs:attribute> |
|
74 |
</xs:complexType> |
|
75 |
</xs:element> |
|
76 |
<xs:element name="DESCRIPTION" type="xs:string"/> |
|
77 |
<xs:element name="STATIC_CONFIGURATION"> |
|
78 |
<xs:complexType> |
|
79 |
<xs:sequence> |
|
80 |
<xs:element maxOccurs="unbounded" ref="PROPERTY"/> |
|
81 |
</xs:sequence> |
|
82 |
</xs:complexType> |
|
83 |
</xs:element> |
|
84 |
<xs:element name="PROPERTY"> |
|
85 |
<xs:complexType> |
|
86 |
<xs:attribute name="key" use="required" type="xs:NCName"/> |
|
87 |
<xs:attribute name="value" use="required"/> |
|
88 |
</xs:complexType> |
|
89 |
</xs:element> |
|
90 |
<xs:element name="JOB_INTERFACE"> |
|
91 |
<xs:complexType> |
|
92 |
<xs:sequence> |
|
93 |
<xs:element maxOccurs="unbounded" minOccurs="0" ref="PARAM"/> |
|
94 |
</xs:sequence> |
|
95 |
</xs:complexType> |
|
96 |
</xs:element> |
|
97 |
<xs:element name="PARAM"> |
|
98 |
<xs:complexType> |
|
99 |
<xs:attribute name="description" use="required"/> |
|
100 |
<xs:attribute name="name" use="required" type="xs:NCName"/> |
|
101 |
<xs:attribute name="required" use="required" type="xs:boolean"/> |
|
102 |
</xs:complexType> |
|
103 |
</xs:element> |
|
104 |
<xs:element name="SCAN"> |
|
105 |
<xs:complexType> |
|
106 |
<xs:sequence> |
|
107 |
<xs:element ref="FILTERS"/> |
|
108 |
<xs:element ref="FAMILIES"/> |
|
109 |
</xs:sequence> |
|
110 |
<xs:attribute name="caching" use="optional" type="xs:integer"/> |
|
111 |
</xs:complexType> |
|
112 |
</xs:element> |
|
113 |
<xs:element name="FILTERS"> |
|
114 |
<xs:complexType> |
|
115 |
<xs:sequence> |
|
116 |
<xs:element ref="FILTER" minOccurs="0" maxOccurs="unbounded"/> |
|
117 |
</xs:sequence> |
|
118 |
<!-- The operator is OPTIONAL, when it is missing the default value is MUST_PASS_ALL --> |
|
119 |
<xs:attribute name="operator" use="optional" type="operatortype"/> |
|
120 |
</xs:complexType> |
|
121 |
</xs:element> |
|
122 |
<xs:element name="FILTER"> |
|
123 |
<xs:complexType> |
|
124 |
<xs:attribute name="type" use="required" type="filtertype"/> |
|
125 |
<xs:attribute name="param" type="xs:string" use="optional"/> |
|
126 |
<xs:attribute name="value" type="xs:string" use="optional"/> |
|
127 |
</xs:complexType> |
|
128 |
</xs:element> |
|
129 |
<xs:element name="FAMILIES"> |
|
130 |
<xs:complexType> |
|
131 |
<xs:sequence> |
|
132 |
<xs:element ref="FAMILY" minOccurs="0" maxOccurs="unbounded"/> |
|
133 |
</xs:sequence> |
|
134 |
</xs:complexType> |
|
135 |
</xs:element> |
|
136 |
<xs:element name="FAMILY"> |
|
137 |
<xs:complexType> |
|
138 |
<xs:attribute name="param" use="optional" type="xs:string"/> |
|
139 |
<xs:attribute name="value" use="optional" type="xs:string"/> |
|
140 |
</xs:complexType> |
|
141 |
</xs:element> |
|
142 |
<xs:element name="STATUS"> |
|
143 |
<xs:complexType> |
|
144 |
<xs:sequence> |
|
145 |
<xs:element ref="LAST_SUBMISSION_DATE"/> |
|
146 |
<xs:element ref="RUNNING_INSTANCES"/> |
|
147 |
<xs:element ref="CUMULATIVE_RUN"/> |
|
148 |
</xs:sequence> |
|
149 |
</xs:complexType> |
|
150 |
</xs:element> |
|
151 |
<xs:element name="LAST_SUBMISSION_DATE"> |
|
152 |
<xs:complexType> |
|
153 |
<xs:attribute name="value" use="required" type="xs:dateTime"/> |
|
154 |
</xs:complexType> |
|
155 |
</xs:element> |
|
156 |
<xs:element name="RUNNING_INSTANCES"> |
|
157 |
<xs:complexType> |
|
158 |
<xs:attribute name="value" use="required" type="xs:integer"/> |
|
159 |
</xs:complexType> |
|
160 |
</xs:element> |
|
161 |
<xs:element name="CUMULATIVE_RUN"> |
|
162 |
<xs:complexType> |
|
163 |
<xs:attribute name="value" use="required" type="xs:integer"/> |
|
164 |
</xs:complexType> |
|
165 |
</xs:element> |
|
166 |
<xs:element name="SECURITY_PARAMETERS" type="xs:NCName"/> |
|
167 |
<xs:simpleType name="filtertype"> |
|
168 |
<xs:restriction base="xs:string"> |
|
169 |
<xs:enumeration value="prefix"/> |
|
170 |
</xs:restriction> |
|
171 |
</xs:simpleType> |
|
172 |
<xs:simpleType name="operatortype"> |
|
173 |
<xs:restriction base="xs:string"> |
|
174 |
<xs:enumeration value="MUST_PASS_ALL"/> |
|
175 |
<xs:enumeration value="MUST_PASS_ONE"/> |
|
176 |
</xs:restriction> |
|
177 |
</xs:simpleType> |
|
178 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/TransformationRuleDSResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by Paolo (ISTI |
|
3 |
- CNR) --> |
|
4 |
<!--W3C Schema generated by XMLSpy v2007 sp1 (http://www.altova.com) --> |
|
5 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
|
6 |
<xs:element name="RESOURCE_PROFILE"> |
|
7 |
<xs:complexType> |
|
8 |
<xs:sequence> |
|
9 |
<xs:element name="HEADER" type="HEADERType" /> |
|
10 |
<xs:element name="BODY" type="BODYType" /> |
|
11 |
</xs:sequence> |
|
12 |
</xs:complexType> |
|
13 |
</xs:element> |
|
14 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
15 |
<xs:attribute name="value" use="required"> |
|
16 |
<xs:simpleType> |
|
17 |
<xs:restriction base="xs:string"> |
|
18 |
<xs:enumeration value="TransformationRuleDSResourceType" /> |
|
19 |
</xs:restriction> |
|
20 |
</xs:simpleType> |
|
21 |
</xs:attribute> |
|
22 |
</xs:complexType> |
|
23 |
<xs:complexType name="RESOURCE_URIType"> |
|
24 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
25 |
</xs:complexType> |
|
26 |
<xs:complexType name="RESOURCE_KINDType"> |
|
27 |
<xs:attribute name="value" use="required"> |
|
28 |
<xs:simpleType> |
|
29 |
<xs:restriction base="xs:string"> |
|
30 |
<xs:enumeration value="TransformationRuleDSResources" /> |
|
31 |
</xs:restriction> |
|
32 |
</xs:simpleType> |
|
33 |
</xs:attribute> |
|
34 |
</xs:complexType> |
|
35 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
36 |
<xs:attribute name="value" type="xs:string" use="required" /> |
|
37 |
</xs:complexType> |
|
38 |
<xs:complexType name="DATE_OF_CREATIONType"> |
|
39 |
<xs:attribute name="value" type="xs:dateTime" use="required" /> |
|
40 |
</xs:complexType> |
|
41 |
|
|
42 |
<xs:complexType name="HEADERType"> |
|
43 |
<xs:all> |
|
44 |
<xs:element name="RESOURCE_IDENTIFIER" type="RESOURCE_IDENTIFIERType" /> |
|
45 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" /> |
|
46 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" /> |
|
47 |
<xs:element name="RESOURCE_URI" type="RESOURCE_URIType" /> |
|
48 |
<xs:element name="DATE_OF_CREATION" type="DATE_OF_CREATIONType" /> |
|
49 |
</xs:all> |
|
50 |
</xs:complexType> |
|
51 |
|
|
52 |
<xs:complexType name="CONFIGURATIONType"> |
|
53 |
<xs:all> |
|
54 |
<xs:element name="SOURCE_METADATA_FORMAT" minOccurs="0" |
|
55 |
maxOccurs="1" type="METADATA_FORMATType" /> |
|
56 |
<xs:element name="SINK_METADATA_FORMAT" minOccurs="0" |
|
57 |
maxOccurs="1" type="METADATA_FORMATType" /> |
|
58 |
<xs:element name="IMPORTED" type="IMPORTEDType" /> |
|
59 |
<xs:element name="SCRIPT" type="SCRIPTType" /> |
|
60 |
</xs:all> |
|
61 |
</xs:complexType> |
|
62 |
|
|
63 |
<xs:complexType name="METADATA_FORMATType"> |
|
64 |
<xs:attribute name="name" type="xs:string" /> |
|
65 |
<xs:attribute name="interpretation" type="xs:string" /> |
|
66 |
<xs:attribute name="layout" type="xs:string" /> |
|
67 |
</xs:complexType> |
|
68 |
<xs:complexType name="STATUSType"> |
|
69 |
<xs:all> |
|
70 |
</xs:all> |
|
71 |
</xs:complexType> |
|
72 |
|
|
73 |
<xs:complexType name="BODYType"> |
|
74 |
<xs:sequence> |
|
75 |
<xs:element name="CONFIGURATION" type="CONFIGURATIONType" /> |
|
76 |
<xs:element name="STATUS" type="STATUSType" /> |
|
77 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string" /> |
|
78 |
</xs:sequence> |
|
79 |
</xs:complexType> |
|
80 |
|
|
81 |
<xs:complexType name="SCRIPTType"> |
|
82 |
<xs:sequence> |
|
83 |
<xs:element name="TITLE" type="xs:string" /> |
|
84 |
<xs:element name="CODE" type="CODEType" /> |
|
85 |
</xs:sequence> |
|
86 |
</xs:complexType> |
|
87 |
|
|
88 |
<xs:complexType name="CODEType" mixed="true"> |
|
89 |
<xs:complexContent mixed="true"> |
|
90 |
<xs:restriction base="xs:anyType"> |
|
91 |
<xs:sequence> |
|
92 |
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> |
|
93 |
</xs:sequence> |
|
94 |
</xs:restriction> |
|
95 |
</xs:complexContent> |
|
96 |
</xs:complexType> |
|
97 |
|
|
98 |
<xs:complexType name="SCRIPT_REFERENCEType" mixed="true"> |
|
99 |
<xs:attribute name="id" use="required" /> |
|
100 |
</xs:complexType> |
|
101 |
|
|
102 |
<xs:complexType name="IMPORTEDType"> |
|
103 |
<xs:sequence> |
|
104 |
<xs:element name="SCRIPT_REFERENCE" type="SCRIPT_REFERENCEType" |
|
105 |
minOccurs="0" maxOccurs="unbounded"></xs:element> |
|
106 |
</xs:sequence> |
|
107 |
</xs:complexType> |
|
108 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/DedupOrchestrationDSResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
3 |
elementFormDefault="qualified"> |
|
4 |
<xs:element name="RESOURCE_PROFILE"> |
|
5 |
<xs:complexType> |
|
6 |
<xs:sequence> |
|
7 |
<xs:element ref="HEADER" /> |
|
8 |
<xs:element ref="BODY" /> |
|
9 |
</xs:sequence> |
|
10 |
</xs:complexType> |
|
11 |
</xs:element> |
|
12 |
<xs:element name="HEADER"> |
|
13 |
<xs:complexType> |
|
14 |
<xs:sequence> |
|
15 |
<xs:element ref="RESOURCE_IDENTIFIER" /> |
|
16 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType" /> |
|
17 |
<xs:element name="RESOURCE_KIND" type="RESOURCE_KINDType" /> |
|
18 |
<xs:element ref="RESOURCE_URI" /> |
|
19 |
<xs:element ref="DATE_OF_CREATION" /> |
|
20 |
</xs:sequence> |
|
21 |
</xs:complexType> |
|
22 |
</xs:element> |
|
23 |
<xs:element name="RESOURCE_IDENTIFIER"> |
|
24 |
<xs:complexType> |
|
25 |
<xs:attribute name="value" use="required" /> |
|
26 |
</xs:complexType> |
|
27 |
</xs:element> |
|
28 |
<xs:complexType name="RESOURCE_KINDType"> |
|
29 |
<xs:attribute name="value" use="required"> |
|
30 |
<xs:simpleType> |
|
31 |
<xs:restriction base="xs:string"> |
|
32 |
<xs:enumeration value="DedupOrchestrationDSResources" /> |
|
33 |
</xs:restriction> |
|
34 |
</xs:simpleType> |
|
35 |
</xs:attribute> |
|
36 |
</xs:complexType> |
|
37 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
38 |
<xs:attribute name="value" use="required"> |
|
39 |
<xs:simpleType> |
|
40 |
<xs:restriction base="xs:string"> |
|
41 |
<xs:enumeration value="DedupOrchestrationDSResourceType" /> |
|
42 |
</xs:restriction> |
|
43 |
</xs:simpleType> |
|
44 |
</xs:attribute> |
|
45 |
</xs:complexType> |
|
46 |
|
|
47 |
<xs:element name="RESOURCE_URI"> |
|
48 |
<xs:complexType> |
|
49 |
<xs:attribute name="value" use="required" /> |
|
50 |
</xs:complexType> |
|
51 |
</xs:element> |
|
52 |
<xs:element name="DATE_OF_CREATION"> |
|
53 |
<xs:complexType> |
|
54 |
<xs:attribute name="value" use="required" type="xs:dateTime" /> |
|
55 |
</xs:complexType> |
|
56 |
</xs:element> |
|
57 |
<xs:element name="BODY"> |
|
58 |
<xs:complexType> |
|
59 |
<xs:sequence> |
|
60 |
<xs:element ref="CONFIGURATION" /> |
|
61 |
<xs:element ref="STATUS" /> |
|
62 |
<xs:element ref="SECURITY_PARAMETERS" /> |
|
63 |
</xs:sequence> |
|
64 |
</xs:complexType> |
|
65 |
</xs:element> |
|
66 |
<xs:element name="CONFIGURATION"> |
|
67 |
<xs:complexType> |
|
68 |
<xs:sequence> |
|
69 |
<xs:element ref="DEDUPLICATION" /> |
|
70 |
</xs:sequence> |
|
71 |
<xs:attribute name="enabled" use="required" type="xs:boolean" /> |
|
72 |
</xs:complexType> |
|
73 |
</xs:element> |
|
74 |
<xs:element name="DEDUPLICATION"> |
|
75 |
<xs:complexType> |
|
76 |
<xs:sequence> |
|
77 |
<xs:element ref="ENTITY" /> |
|
78 |
<xs:element ref="ACTION_SET" /> |
|
79 |
<xs:element ref="SCAN_SEQUENCE" /> |
|
80 |
</xs:sequence> |
|
81 |
</xs:complexType> |
|
82 |
</xs:element> |
|
83 |
<xs:element name="ENTITY"> |
|
84 |
<xs:complexType> |
|
85 |
<xs:attribute name="code" use="required" type="xs:integer" /> |
|
86 |
<xs:attribute name="label" use="required" type="xs:NCName" /> |
|
87 |
<xs:attribute name="name" use="required" type="xs:NCName" /> |
|
88 |
</xs:complexType> |
|
89 |
</xs:element> |
|
90 |
<xs:element name="ACTION_SET"> |
|
91 |
<xs:complexType> |
|
92 |
<xs:attribute name="id" use="required" /> |
|
93 |
</xs:complexType> |
|
94 |
</xs:element> |
|
95 |
<xs:element name="SCAN_SEQUENCE"> |
|
96 |
<xs:complexType> |
|
97 |
<xs:sequence> |
|
98 |
<xs:element maxOccurs="unbounded" ref="SCAN" /> |
|
99 |
</xs:sequence> |
|
100 |
</xs:complexType> |
|
101 |
</xs:element> |
|
102 |
<xs:element name="SCAN"> |
|
103 |
<xs:complexType> |
|
104 |
<xs:attribute name="id" use="required" /> |
|
105 |
</xs:complexType> |
|
106 |
</xs:element> |
|
107 |
<xs:element name="STATUS"> |
|
108 |
<xs:complexType> |
|
109 |
<xs:sequence> |
|
110 |
<xs:element ref="LAST_UPDATE" /> |
|
111 |
</xs:sequence> |
|
112 |
</xs:complexType> |
|
113 |
</xs:element> |
|
114 |
<xs:element name="LAST_UPDATE"> |
|
115 |
<xs:complexType> |
|
116 |
<xs:attribute name="value" use="required" type="xs:dateTime" /> |
|
117 |
</xs:complexType> |
|
118 |
</xs:element> |
|
119 |
<xs:element name="SECURITY_PARAMETERS" type="xs:NCName" /> |
|
120 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/IndexDSResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> |
|
3 |
<xs:complexType name="BODYType"> |
|
4 |
<xs:sequence> |
|
5 |
<xs:element type="CONFIGURATIONType" name="CONFIGURATION"/> |
|
6 |
<xs:element type="STATUSType" name="STATUS"/> |
|
7 |
<xs:element ref="SECURITY_PARAMETERS"/> |
|
8 |
</xs:sequence> |
|
9 |
</xs:complexType> |
|
10 |
<xs:complexType name="CONFIGURATIONType"> |
|
11 |
<xs:all> |
|
12 |
<xs:element ref="METADATA_FORMAT"/> |
|
13 |
<xs:element ref="METADATA_FORMAT_INTERPRETATION"/> |
|
14 |
<xs:element ref="METADATA_FORMAT_LAYOUT"/> |
|
15 |
<xs:element ref="BACKEND"/> |
|
16 |
<xs:element ref="INDEX_SIZE"/> |
|
17 |
<xs:element ref="INDEX_STALE"/> |
|
18 |
</xs:all> |
|
19 |
</xs:complexType> |
|
20 |
<xs:complexType name="DATE_OF_CREATIONType"> |
|
21 |
<xs:attribute name="value" use="required" type="xs:string"/> |
|
22 |
</xs:complexType> |
|
23 |
<xs:complexType name="BACKENDType"> |
|
24 |
<xs:simpleContent> |
|
25 |
<xs:extension base="xs:string"> |
|
26 |
<xs:attribute type="xs:string" use="required" name="ID"/> |
|
27 |
</xs:extension> |
|
28 |
</xs:simpleContent> |
|
29 |
</xs:complexType> |
|
30 |
<xs:complexType name="HEADERType"> |
|
31 |
<xs:all> |
|
32 |
<xs:element type="RESOURCE_IDENTIFIERType" name="RESOURCE_IDENTIFIER"/> |
|
33 |
<xs:element name="RESOURCE_TYPE" type="RESOURCE_TYPEType"/> |
|
34 |
<xs:element type="RESOURCE_KINDType" name="RESOURCE_KIND"/> |
|
35 |
<xs:element type="RESOURCE_URIType" name="RESOURCE_URI"/> |
|
36 |
<xs:element type="DATE_OF_CREATIONType" name="DATE_OF_CREATION"/> |
|
37 |
</xs:all> |
|
38 |
</xs:complexType> |
|
39 |
<xs:complexType name="RESOURCE_IDENTIFIERType"> |
|
40 |
<xs:attribute use="required" type="xs:string" name="value"/> |
|
41 |
</xs:complexType> |
|
42 |
<xs:complexType name="RESOURCE_KINDType"> |
|
43 |
<xs:attribute name="value" use="required"> |
|
44 |
<xs:simpleType> |
|
45 |
<xs:restriction base="xs:string"> |
|
46 |
<xs:enumeration value="IndexDSResources"/> |
|
47 |
</xs:restriction> |
|
48 |
</xs:simpleType> |
|
49 |
</xs:attribute> |
|
50 |
</xs:complexType> |
|
51 |
<xs:element name="RESOURCE_PROFILE"> |
|
52 |
<xs:complexType> |
|
53 |
<xs:sequence> |
|
54 |
<xs:element type="HEADERType" name="HEADER"/> |
|
55 |
<xs:element type="BODYType" name="BODY"/> |
|
56 |
</xs:sequence> |
|
57 |
</xs:complexType> |
|
58 |
</xs:element> |
|
59 |
<xs:complexType name="RESOURCE_TYPEType"> |
|
60 |
<xs:attribute use="required" name="value"> |
|
61 |
<xs:simpleType> |
|
62 |
<xs:restriction base="xs:string"> |
|
63 |
<xs:enumeration value="IndexDSResourceType"/> |
|
64 |
</xs:restriction> |
|
65 |
</xs:simpleType> |
|
66 |
</xs:attribute> |
|
67 |
</xs:complexType> |
|
68 |
<xs:complexType name="RESOURCE_URIType"> |
|
69 |
<xs:attribute name="value" type="xs:string" use="required"/> |
|
70 |
</xs:complexType> |
|
71 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string"/> |
|
72 |
<xs:complexType name="STATUSType"> |
|
73 |
<xs:all> |
|
74 |
<xs:element ref="INDEX_LAST_UPDATE"/> |
|
75 |
</xs:all> |
|
76 |
</xs:complexType> |
|
77 |
<xs:element name="INDEX_SIZE" type="xs:int"/> |
|
78 |
<xs:element name="INDEX_STALE" type="xs:boolean"/> |
|
79 |
<xs:element type="xs:string" name="METADATA_FORMAT"/> |
|
80 |
<xs:element type="xs:string" name="METADATA_FORMAT_INTERPRETATION"/> |
|
81 |
<xs:element type="xs:string" name="METADATA_FORMAT_LAYOUT"/> |
|
82 |
<xs:element type="BACKENDType" name="BACKEND"/> |
|
83 |
<xs:element type="xs:string" name="INDEX_LAST_UPDATE"/> |
|
84 |
</xs:schema> |
modules/dnet-schemas/tags/dnet-schemas-1.0.8/src/main/resources/eu/dnetlib/test/schemas/RepositoryServiceResourceType.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
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:element name="PROTOCOL" type="xs:string"/> |
|
19 |
</xs:all> |
|
20 |
</xs:complexType> |
|
21 |
<xs:complexType name="BODYType"> |
|
22 |
<xs:sequence> |
|
23 |
<xs:element name="CONFIGURATION" type="CONFIGURATION"/> |
|
24 |
<xs:element name="STATUS" type="STATUS"/> |
|
25 |
<xs:element name="QOS" type="QOS"/> |
|
26 |
<xs:element name="SECURITY_PARAMETERS" type="xs:string"/> |
|
27 |
<xs:element name="BLACKBOARD" type="BLACKBOARD"/> |
|
28 |
</xs:sequence> |
|
29 |
</xs:complexType> |
|
30 |
<xs:complexType name="BLACKBOARD"> |
|
31 |
<xs:sequence> |
|
32 |
<xs:element name="LAST_REQUEST" type="xs:string" minOccurs="0" maxOccurs="1"/> |
|
33 |
<xs:element name="LAST_RESPONSE" type="xs:string" minOccurs="0" maxOccurs="1"/> |
|
34 |
<xs:element name="MESSAGE" type="MESSAGE" minOccurs="0" maxOccurs="unbounded"/> |
|
35 |
</xs:sequence> |
|
36 |
</xs:complexType> |
|
37 |
<xs:complexType name="CONFIGURATION"> |
|
38 |
<xs:all> |
|
39 |
<!-- Typology of the datasource: repository, aggregator, etc. --> |
|
40 |
<xs:element name="DATASOURCE_TYPE" type="xs:string" minOccurs="0"/> |
|
41 |
<!-- Original identifier of the datasource. Ex. <DATASOURCE_ORIGINAL_ID |
|
42 |
provenance="OpenDoar">openDoar ID</DATASOURCE_ORIGINAL_ID> It corresponds |
|
43 |
to the old schema EXTRA_FIELD with key='OpenAireDataSourceId' --> |
|
44 |
<xs:element name="DATASOURCE_ORIGINAL_ID" type="DATASOURCE_ORIGINAL_IDType" minOccurs="0"/> |
|
45 |
|
|
46 |
<!-- True if this datasource is aggregated by an aggregator --> |
|
47 |
<xs:element name="DATASOURCE_AGGREGATED" minOccurs="0" type="xs:boolean"/> |
|
48 |
|
|
49 |
<!-- If DATASOURCE_AGGREGATED is true, then DATASOURCE_AGGREGATOR_ID contains |
|
50 |
the resource identifier of the profile of the aggregator. --> |
|
51 |
<xs:element name="DATASOURCE_AGGREGATOR_ID" type="xs:string" minOccurs="0"/> |
|
52 |
<!-- Names of environments with services that are allowed to manage this |
|
53 |
datasource. For example, the environment for Slovenia repositories is SLOVENIA, |
|
54 |
while the environment for repositories joining the OpenAire project is OpenAire. |
|
55 |
This list of environment name supercedes the old schema EXTRA_FIELD element |
|
56 |
with key='aggregatorName' --> |
|
57 |
<xs:element name="ENVIRONMENTS" type="ENVIRONMENTSType" minOccurs="0" maxOccurs="1"/> |
|
58 |
<xs:element name="TYPOLOGY" type="xs:string"/> |
|
59 |
<xs:element name="MAX_SIZE_OF_DATASTRUCTURE" type="xs:integer"/> |
|
60 |
<xs:element name="AVAILABLE_DISKSPACE" type="xs:string"/> |
|
61 |
<xs:element name="MAX_NUMBER_OF_DATASTRUCTURE" type="xs:integer"/> |
|
62 |
<xs:element name="OFFICIAL_NAME" type="xs:string"/> |
|
63 |
<xs:element name="ENGLISH_NAME" type="xs:string"/> |
|
64 |
<xs:element name="ICON_URI" type="xs:string"/> |
|
65 |
<xs:element name="COUNTRY" type="xs:string"/> |
|
66 |
<xs:element name="LOCATION" type="LOCATION"/> |
|
67 |
<xs:element name="REPOSITORY_WEBPAGE" type="xs:string"/> |
|
68 |
<xs:element name="REPOSITORY_INSTITUTION" type="xs:string"/> |
|
69 |
<xs:element name="ADMIN_INFO" type="xs:string"/> |
|
70 |
<xs:element name="INTERFACES" type="INTERFACES"/> |
|
71 |
<xs:element name="REGISTERED_BY" type="xs:string" minOccurs="0"/> |
|
72 |
<xs:element name="EXTRA_FIELDS" type="EXTRA_FIELDS" minOccurs="0"/> |
|
73 |
</xs:all> |
|
74 |
</xs:complexType> |
|
75 |
|
|
76 |
<xs:complexType name="DATASOURCE_ORIGINAL_IDType"> |
|
77 |
<xs:annotation> |
|
78 |
<xs:documentation>Type for the datasource original identifier. |
|
79 |
The |
|
80 |
original id is not the D-Net profile identifier, but an id that |
|
81 |
identifies the datasource itself in the outside world. |
|
82 |
The provenance |
|
83 |
attribute references to the organisation,institution, |
|
84 |
etc, where the |
|
85 |
id had been taken from. |
|
86 |
For example, the profile for a repository |
|
87 |
that is in OpenDoar will have |
|
88 |
its opendoar id with provenance |
|
89 |
'OpenDoar'. |
|
90 |
This field should be used instead of the old schema |
|
91 |
EXTRA_FIELD with key='OpenAireDataSourceId'</xs:documentation> |
|
92 |
</xs:annotation> |
|
93 |
<xs:simpleContent> |
|
94 |
<xs:extension base="xs:string"> |
|
95 |
<xs:attribute name="provenance"/> |
|
96 |
</xs:extension> |
|
97 |
</xs:simpleContent> |
|
98 |
</xs:complexType> |
|
99 |
<xs:complexType name="ACCESSPROTOCOLDATACOLLType"> |
|
100 |
<xs:simpleContent> |
|
101 |
<xs:extension base="xs:string"> |
|
102 |
<xs:anyAttribute processContents="lax"/> |
|
103 |
</xs:extension> |
|
104 |
</xs:simpleContent> |
|
105 |
</xs:complexType> |
|
106 |
|
|
107 |
<xs:complexType name="LAST_UPDATEType"> |
|
108 |
<xs:attribute name="value" type="xs:dateTime" use="required"/> |
|
109 |
</xs:complexType> |
|
110 |
<xs:complexType name="LOCATION"> |
|
111 |
<xs:all> |
|
112 |
<xs:element name="LONGITUDE" type="xs:double"/> |
|
113 |
<xs:element name="LATITUDE" type="xs:double"/> |
|
114 |
<xs:element name="TIMEZONE"> |
|
115 |
<xs:simpleType> |
|
116 |
<xs:restriction base="xs:double"> |
|
117 |
<xs:pattern value="-?[0-9]*(\.[05])?"/> |
|
118 |
<xs:minInclusive value="-12.0"/> |
|
119 |
<xs:maxInclusive value="12.0"/> |
|
120 |
</xs:restriction> |
|
121 |
</xs:simpleType> |
|
122 |
</xs:element> |
|
123 |
</xs:all> |
|
124 |
</xs:complexType> |
|
125 |
<xs:complexType mixed="true" name="STATUS"> |
|
126 |
<xs:all> |
|
127 |
<xs:element name="HANDLED_DATASTRUCTURE" type="xs:integer" minOccurs="0"/> |
|
128 |
<xs:element name="USED_DISKSPACE" type="xs:integer" minOccurs="0"/> |
|
129 |
<xs:element name="NUMBER_OF_OBJECTS" type="xs:integer"/> |
|
130 |
<xs:element name="LAST_UPDATE" type="LAST_UPDATEType" minOccurs="0"/> |
|
131 |
</xs:all> |
|
132 |
</xs:complexType> |
|
133 |
<xs:simpleType name="ACTION_STATUS"> |
|
134 |
<xs:restriction base="xs:string"> |
|
135 |
<xs:enumeration value="DONE"/> |
|
136 |
<xs:enumeration value="ONGOING"/> |
|
137 |
<xs:enumeration value="FAILED"/> |
|
138 |
<xs:enumeration value="WAITING"/> |
|
139 |
<xs:enumeration value="ASSIGNED"/> |
|
140 |
</xs:restriction> |
|
141 |
</xs:simpleType> |
|
142 |
|
|
143 |
<xs:complexType name="INTERFACE"> |
|
144 |
<xs:sequence> |
|
145 |
<xs:element name="ACCESS_PROTOCOL"> |
|
146 |
<xs:complexType> |
|
147 |
<xs:simpleContent> |
|
148 |
<xs:extension base="xs:string"> |
|
149 |
<xs:anyAttribute processContents="lax"/> |
|
150 |
</xs:extension> |
|
151 |
</xs:simpleContent> |
|
152 |
</xs:complexType> |
|
153 |
</xs:element> |
|
154 |
<xs:element name="BASE_URL" type="xs:string"/> |
|
155 |
|
|
156 |
|
|
157 |
<xs:element name="INTERFACE_EXTRA_FIELD" minOccurs="0" maxOccurs="unbounded"> |
|
158 |
<xs:complexType> |
|
159 |
<xs:simpleContent> |
|
160 |
<xs:extension base="xs:string"> |
|
161 |
<xs:attribute name="name" use="required" type="xs:string"/> |
|
162 |
</xs:extension> |
|
163 |
</xs:simpleContent> |
|
164 |
</xs:complexType> |
|
165 |
</xs:element> |
|
166 |
</xs:sequence> |
|
167 |
|
|
168 |
<!-- The attributes id, typology, group have been imported from the Datacoll Type |
|
169 |
to keep track of the correspondence: interface <-> datacoll --> |
|
170 |
|
|
171 |
<!-- id of the interface. --> |
|
172 |
<xs:attribute name="id" type="xs:string" use="required"/> |
|
173 |
|
|
174 |
<!-- label of the interface. --> |
|
175 |
<xs:attribute name="label" type="xs:string" use="required"/> |
|
176 |
|
|
177 |
<!-- brief information/description about the interface --> |
|
178 |
<xs:attribute name="typology" type="xs:string"/> |
|
179 |
|
|
180 |
<!-- |
|
181 |
Indicates if this interface is related with almost one workflow |
|
182 |
--> |
|
183 |
<xs:attribute name="compliance" type="xs:string" use="required"/> |
|
184 |
|
|
185 |
<!-- |
|
186 |
Indicates if this interface is related with almost one workflow |
|
187 |
--> |
|
188 |
|
|
189 |
<xs:attribute name="active" type="xs:boolean" use="required"/> |
|
190 |
|
|
191 |
<!-- |
|
192 |
Indicates if this interface is related with almost one workflow |
|
193 |
--> |
|
194 |
<xs:attribute name="removable" type="xs:boolean" use="required"/> |
|
195 |
|
|
196 |
<!-- |
|
197 |
Indicates the description of the data provided by the interface (typical values are metadata, file::WoS, file::PDF, file::EuropePMC) |
|
198 |
--> |
|
199 |
<xs:attribute name="contentDescription" type="xs:string" use="required"/> |
|
200 |
</xs:complexType> |
|
201 |
<xs:complexType name="ENVIRONMENTSType"> |
|
202 |
<xs:annotation> |
|
203 |
<xs:documentation>The list of environments that can manage this |
|
204 |
datasource. |
|
205 |
An environment identifies a set of services of one or |
|
206 |
more D-Net |
|
207 |
installations. |
|
208 |
The element ENVIRONMENT supercedes the |
|
209 |
EXTRA_FIELD element with |
|
210 |
key='aggregatorName'.</xs:documentation> |
|
211 |
</xs:annotation> |
|
212 |
<xs:sequence> |
|
213 |
<xs:element name="ENVIRONMENT" type="xs:string" maxOccurs="unbounded"/> |
|
214 |
</xs:sequence> |
|
215 |
</xs:complexType> |
|
216 |
<xs:complexType name="INTERFACES"> |
|
217 |
<xs:sequence> |
|
218 |
<xs:element name="INTERFACE" type="INTERFACE" minOccurs="0" maxOccurs="unbounded"/> |
|
219 |
</xs:sequence> |
Also available in: Unified diff
[maven-release-plugin] copy for tag dnet-schemas-1.0.8