source: DCWoRMS/branches/coolemall/src/test/jobschema/QCGJobDescriptionSchemaNew.xsd @ 1213

Revision 1213, 25.1 KB checked in by wojtekp, 11 years ago (diff)
  • Property svn:mime-type set to text/plain
RevLine 
[741]1<?xml version="1.0" encoding="UTF-8"?>
2<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Tomasz Piontek (Instytut Chemii Bioorganicznej PAN) -->
3<!--Job Description Schema for Third Edition QCG -->
4<!--version 0.1.0-->
5<xs:schema xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" jxb:version="1.0">
6        <xs:simpleType name="computingParameterName">
7                <xs:restriction base="xs:string">
8                        <xs:enumeration value="osname"/>
9                        <xs:enumeration value="ostype"/>
10                        <xs:enumeration value="cpuarch"/>
11                        <xs:enumeration value="osversion"/>
12                        <xs:enumeration value="osrelease"/>
13                        <xs:enumeration value="memory"/>
14                        <xs:enumeration value="properties"/>
15                        <xs:enumeration value="freememory"/>
16                        <xs:enumeration value="cpucount"/>
17                        <xs:enumeration value="gpucount"/>
18                        <xs:enumeration value="freecpus"/>
19                        <xs:enumeration value="cpuspeed"/>
20                        <xs:enumeration value="application"/>
21                        <xs:enumeration value="module"/>
22                        <xs:enumeration value="diskspace"/>
23                        <xs:enumeration value="freediskspace"/>
24                        <xs:enumeration value="remoteSubmissionInterface"/>
25                        <xs:enumeration value="localResourceManager"/>
26                        <xs:enumeration value="hostname"/>
27                        <xs:enumeration value="queue"/>
28                        <xs:enumeration value="native"/>
29                </xs:restriction>
30        </xs:simpleType>
31        <xs:simpleType name="networkParameterName">
32                <xs:restriction base="xs:string">
33                        <xs:enumeration value="bandwidth"/>
34                        <xs:enumeration value="latency"/>
35                        <xs:enumeration value="capacity"/>
36                </xs:restriction>
37        </xs:simpleType>
38        <xs:simpleType name="taskStatesName">
39                <xs:restriction base="xs:string">
40                        <xs:enumeration value="QUEUED"/>
41                        <xs:enumeration value="PREPROCESSING"/>
42                        <xs:enumeration value="PENDING"/>
43                        <xs:enumeration value="RUNNING"/>
44                        <xs:enumeration value="STOPPED"/>
45                        <xs:enumeration value="POSTPROCESSING"/>
46                        <xs:enumeration value="SUSPENDED"/>
47                        <xs:enumeration value="FINISHED"/>
48                        <xs:enumeration value="CANCELED"/>
49                        <xs:enumeration value="FAILED"/>
50                </xs:restriction>
51        </xs:simpleType>
52        <xs:simpleType name="locationTypes">
53                <xs:restriction base="xs:string">
54                        <xs:enumeration value="URL"/>
55                        <xs:enumeration value="DMSID"/>
56                        <xs:enumeration value="SRBID"/>
57                        <xs:enumeration value="REFERENCE"/>
58                </xs:restriction>
59        </xs:simpleType>
60
[1127]61        <xs:element name="job">
[741]62                <xs:annotation>
[1127]63                        <xs:documentation>Job Description for DCworms</xs:documentation>
[741]64                </xs:annotation>
65                <xs:complexType>
66                        <xs:sequence>
67                                <xs:element name="note" type="xs:string" minOccurs="0">
68                                        <xs:annotation>
69                                                <xs:documentation>User defined description of Job</xs:documentation>
70                                        </xs:annotation>
71                                </xs:element>
72                                <xs:element name="annotations" minOccurs="0">
73                                        <xs:annotation>
74                                                <xs:documentation>Annotations for Job Description in pair key/value format</xs:documentation>
75                                        </xs:annotation>
76                                        <xs:complexType>
77                                                <xs:sequence>
78                                                        <xs:element name="annotation" maxOccurs="unbounded">
79                                                                <xs:complexType>
80                                                                        <xs:simpleContent>
81                                                                                <xs:extension base="xs:string">
82                                                                                        <xs:attribute name="name" type="xs:string" use="optional"/>
83                                                                                </xs:extension>
84                                                                        </xs:simpleContent>
85                                                                </xs:complexType>
86                                                        </xs:element>
87                                                </xs:sequence>
88                                        </xs:complexType>
89                                </xs:element>
90                                <xs:element name="task" maxOccurs="unbounded">
91                                        <xs:annotation>
92                                                <xs:documentation>Description of Tasks</xs:documentation>
93                                                <xs:documentation>Description of Simple Job</xs:documentation>
94                                        </xs:annotation>
95                                        <xs:complexType>
96                                                <xs:complexContent>
97                                                        <xs:extension base="taskType"/>
98                                                </xs:complexContent>
99                                        </xs:complexType>
100                                </xs:element>
101                                <xs:element name="executionTime" type="executionTimeType" minOccurs="0">
102                                        <xs:annotation>
103                                                <xs:documentation>Execution time definition for Job</xs:documentation>
104                                        </xs:annotation>
105                                </xs:element>
106                        </xs:sequence>
[1127]107                        <xs:attribute name="id" type="xs:string" use="required"/>
[741]108                        <xs:attribute name="priority" type="xs:int" use="optional" default="0"/>
109                </xs:complexType>
110                <xs:key name="taskId">
111                        <xs:selector xpath=".//task"/>
[1127]112                        <xs:field xpath="@id"/>
[741]113                </xs:key>
114
115        </xs:element>
116        <xs:complexType name="taskType">
117                <xs:annotation>
118                        <xs:documentation>Description of Task</xs:documentation>
119                </xs:annotation>
120                <xs:sequence>
121                        <xs:element name="note" type="xs:string" minOccurs="0">
122                                <xs:annotation>
123                                        <xs:documentation>User defined description of Task</xs:documentation>
124                                </xs:annotation>
125                        </xs:element>
126                        <xs:element name="requirements" type="requirementsType" minOccurs="0">
127                                <xs:annotation>
128                                        <xs:documentation>Description of resource requirements</xs:documentation>
129                                </xs:annotation>
130                        </xs:element>
131                        <xs:element name="execution" type="executionType" minOccurs="0">
132                                <xs:annotation>
133                                        <xs:documentation>Application description section</xs:documentation>
134                                </xs:annotation>
135                        </xs:element>
136                        <xs:element name="executionTime"  type="executionTimeType" minOccurs="0">
137                                <xs:annotation>
138                                        <xs:documentation>Description of time constraints for task execution</xs:documentation>
139                                </xs:annotation>
140                        </xs:element>
141                        <xs:element name="workflow" minOccurs="0">
142                                <xs:annotation>
143                                        <xs:documentation>Workflow description</xs:documentation>
144                                </xs:annotation>
145                                <xs:complexType>
146                                        <xs:choice>
147                                                <xs:element name="parent" type="parentType" maxOccurs="unbounded"/>
148                                                <xs:element name="or" type="parentOpType"/>
149                                                <xs:element name="and" type="parentOpType"/>
150                                        </xs:choice>
151                                </xs:complexType>
152                        </xs:element>
153
154                </xs:sequence>
[1127]155                <xs:attribute name="id" type="xs:string" use="required"/>
[741]156                <xs:attribute name="persistent" type="xs:boolean" use="optional" default="false"/>
157                <xs:attribute name="extension" type="xs:string" use="optional"/>
158                <xs:attribute name="crucial" type="xs:boolean" use="optional" default="true"/>
159
160                <xs:attribute name="priority" type="xs:int" use="optional" default="0"/>
161        </xs:complexType>
162        <xs:complexType name="fileType">
163                <xs:annotation>
164                        <xs:documentation>Base element for file description</xs:documentation>
165                </xs:annotation>
166                <xs:sequence>
167                        <xs:element name="location">
168                                <xs:complexType>
169                                        <xs:simpleContent>
170                                                <xs:extension base="xs:string">
171                                                        <xs:attribute name="type" type="locationTypes" use="required"/>
172                                                </xs:extension>
173                                        </xs:simpleContent>
174                                </xs:complexType>
175                        </xs:element>
176                        <xs:element name="locationProperties" minOccurs="0">
177                                <xs:complexType>
178                                        <xs:sequence>
179                                                <xs:element name="property" maxOccurs="unbounded">
180                                                        <xs:complexType>
181                                                                <xs:simpleContent>
182                                                                        <xs:extension base="xs:string">
183                                                                                <xs:attribute name="name" type="xs:string"/>
184                                                                        </xs:extension>
185                                                                </xs:simpleContent>
186                                                        </xs:complexType>
187                                                </xs:element>
188                                        </xs:sequence>
189                                </xs:complexType>
190                        </xs:element>
191                </xs:sequence>
192                <xs:attribute name="name" type="xs:string" use="required"/>
193                <xs:attribute name="type" use="optional">
194                        <xs:simpleType>
195                                <xs:restriction base="xs:string">
196                                        <xs:enumeration value="in"/>
197                                        <xs:enumeration value="out"/>
198                                </xs:restriction>
199                        </xs:simpleType>
200                </xs:attribute>
201                <xs:attribute name="required" type="xs:boolean" use="optional" default="true"/>
202                <xs:attribute name="size" type="xs:double" use="optional"/>
203        </xs:complexType>
204
205        <xs:complexType name="executionTimeType">
206                <xs:annotation>
207                        <xs:documentation>Description for time constraints of job execution</xs:documentation>
208                </xs:annotation>
209                <xs:sequence>
210                        <xs:element name="executionDuration" type="xs:duration">
211                                <xs:annotation>
212                                        <xs:documentation>How long the Task is running</xs:documentation>
213                                </xs:annotation>
214                        </xs:element>
215                        <xs:element name="timePeriod" minOccurs="0">
216                                <xs:annotation>
217                                        <xs:documentation>Time period where to look for time slot</xs:documentation>
218                                </xs:annotation>
219                                <xs:complexType>
220                                        <xs:sequence>
221                                                <xs:element name="periodStart" type="xs:dateTime" minOccurs="0"/>
222                                                <xs:choice minOccurs="0">
223                                                        <xs:element name="periodEnd" type="xs:dateTime"/>
224                                                        <xs:element name="periodDuration" type="xs:duration"/>
225                                                </xs:choice>
226                                        </xs:sequence>
227                                </xs:complexType>
228                        </xs:element>
229                </xs:sequence>
230        </xs:complexType>
231
232        <xs:complexType name="rangeType">
233                <xs:annotation>
234                        <xs:documentation>Range of values definition</xs:documentation>
235                </xs:annotation>
236                <xs:sequence>
237                        <xs:element name="min" type="parameterBoundaryType"/>
238                        <xs:element name="max" type="parameterBoundaryType"/>
239                </xs:sequence>
240        </xs:complexType>
241        <xs:complexType name="parameterType">
242                <xs:annotation>
243                        <xs:documentation>Description of parameter of resource</xs:documentation>
244                </xs:annotation>
245                <xs:choice>
[746]246                        <xs:choice maxOccurs="unbounded">
[741]247                                <xs:element name="value">
248                                        <xs:complexType>
249                                                <xs:simpleContent>
250                                                        <xs:extension base="parameterValueType">
251                                                                <xs:attribute name="exclude" type="xs:boolean" use="optional" default="false"/>
252                                                        </xs:extension>
253                                                </xs:simpleContent>
254                                        </xs:complexType>
255                                </xs:element>
256                                <xs:element name="range">
257                                        <xs:complexType>
258                                                <xs:complexContent>
259                                                        <xs:extension base="rangeType">
260                                                                <xs:attribute name="exclude" type="xs:boolean" use="optional" default="false"/>
261                                                        </xs:extension>
262                                                </xs:complexContent>
263                                        </xs:complexType>
264                                </xs:element>
265                        </xs:choice>
266                        <xs:element name="min" type="parameterBoundaryType"/>
267                        <xs:element name="max" type="parameterBoundaryType"/>
268                        <xs:element name="stringValue" maxOccurs="unbounded">
269                                <xs:complexType>
270                                        <xs:sequence>
271                                                <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
272                                                        <xs:complexType>
273                                                                <xs:sequence>
274                                                                        <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
275                                                                </xs:sequence>
276                                                                <xs:attribute name="name" type="xs:string" use="required"/>
277                                                                <xs:attribute name="exclude" type="xs:boolean" use="optional" default="false"/>
278                                                        </xs:complexType>
279                                                </xs:element>
280                                        </xs:sequence>
281                                        <xs:attribute name="value" type="xs:string" use="optional"/>
282                                        <xs:attribute name="exclude" type="xs:boolean" use="optional" default="false"/>
283                                </xs:complexType>
284                        </xs:element>
285                </xs:choice>
286        </xs:complexType>
287        <xs:complexType name="otherParameterType">
288                <xs:annotation>
289                        <xs:documentation>Dynamically defined parameter of resource</xs:documentation>
290                </xs:annotation>
291                <xs:complexContent>
292                        <xs:extension base="parameterType">
293                                <xs:attribute name="name" type="xs:string" use="required"/>
294                        </xs:extension>
295                </xs:complexContent>
296        </xs:complexType>
297
298        <xs:complexType name="networkParameterType">
299                <xs:annotation>
300                        <xs:documentation>Parameters of network connection</xs:documentation>
301                </xs:annotation>
302                <xs:complexContent>
303                        <xs:extension base="parameterType">
304                                <xs:attribute name="name" type="networkParameterName" use="required"/>
305                        </xs:extension>
306                </xs:complexContent>
307        </xs:complexType>
308        <xs:complexType name="computingResourceBaseType">
309                <xs:annotation>
310                        <xs:documentation>Base type for computing resource</xs:documentation>
311                </xs:annotation>
312                <xs:choice>
313                        <xs:choice maxOccurs="unbounded">
314                                <xs:element name="hostParameter" type="computingResourceParameterType"/>
315                                <xs:element name="networkParameter" type="computingResourceNetParameterType"/>
316                        </xs:choice>
317                </xs:choice>
318                <xs:attribute name="resourceId" type="xs:string" use="optional"/>
319        </xs:complexType>
320        <xs:complexType name="computingResourceType">
321                <xs:annotation>
322                        <xs:documentation>Computing resource</xs:documentation>
323                </xs:annotation>
324                <xs:complexContent>
325                        <xs:extension base="computingResourceBaseType"/>
326                </xs:complexContent>
327        </xs:complexType>
328        <xs:complexType name="computingResourceNetParameterType">
329                <xs:annotation>
330                        <xs:documentation>Network related parameter</xs:documentation>
331                </xs:annotation>
332                <xs:complexContent>
333                        <xs:extension base="parameterType">
334                                <xs:attribute name="name" type="networkParameterName" use="required"/>
335                                <xs:attribute name="endpoint" type="xs:string" use="optional"/>
336                        </xs:extension>
337                </xs:complexContent>
338        </xs:complexType>
339        <xs:complexType name="computingResourceParameterType">
340                <xs:annotation>
341                        <xs:documentation>Computational resource related parameter</xs:documentation>
342                </xs:annotation>
343                <xs:complexContent>
344                        <xs:extension base="parameterType">
345                                <xs:attribute name="name" type="computingParameterName" use="required"/>
346                        </xs:extension>
347                </xs:complexContent>
348        </xs:complexType>
349        <xs:complexType name="networkResourceType">
350                <xs:annotation>
351                        <xs:documentation>Description of network connection</xs:documentation>
352                </xs:annotation>
353                <xs:choice>
354                        <xs:choice maxOccurs="unbounded">
355                                <xs:element name="networkParameter" type="networkParameterType"/>
356                        </xs:choice>
357                </xs:choice>
358                <xs:attribute name="resourceId" type="xs:string" use="optional"/>
359        </xs:complexType>
360        <xs:complexType name="executionType">
361                <xs:annotation>
362                        <xs:documentation>Definition of program execution part of job description</xs:documentation>
363                </xs:annotation>
364                <xs:sequence>
365                        <xs:element name="executable" minOccurs="0">
366                                <xs:annotation>
367                                        <xs:documentation>Description of application executable</xs:documentation>
368                                </xs:annotation>
369                                <xs:complexType>
370                                        <xs:choice>
371                                                <xs:element name="application">
372                                                        <xs:annotation>
373                                                                <xs:documentation>Information about application installed on host</xs:documentation>
374                                                        </xs:annotation>
375                                                        <xs:complexType>
376                                                                <xs:sequence>
377                                                                        <xs:element name="appProperty" minOccurs="0" maxOccurs="unbounded">
378                                                                                <xs:complexType>
379                                                                                        <xs:simpleContent>
380                                                                                                <xs:extension base="xs:string">
381                                                                                                        <xs:attribute name="name" type="xs:string" use="required"/>
382                                                                                                </xs:extension>
383                                                                                        </xs:simpleContent>
384                                                                                </xs:complexType>
385                                                                        </xs:element>
386                                                                </xs:sequence>
387                                                                <xs:attribute name="name" type="xs:string" use="required"/>
388                                                        </xs:complexType>
389                                                </xs:element>
390                                                <xs:element name="execFile" maxOccurs="unbounded">
391                                                        <xs:annotation>
392                                                                <xs:documentation>Executable file description</xs:documentation>
393                                                        </xs:annotation>
394                                                        <xs:complexType>
395                                                                <xs:sequence>
396                                                                        <xs:element name="execProperties" minOccurs="0">
397                                                                                <xs:annotation>
398                                                                                        <xs:documentation>Properties of given executable</xs:documentation>
399                                                                                </xs:annotation>
400                                                                                <xs:complexType>
401                                                                                        <xs:choice>
402                                                                                                <xs:element name="resourceIdReference" type="xs:string"/>
403                                                                                                <xs:choice maxOccurs="unbounded">
404                                                                                                        <xs:element name="hostParameter" type="computingResourceParameterType"/>
405                                                                                                        <xs:element name="otherParameter" type="otherParameterType"/>
406                                                                                                </xs:choice>
407                                                                                        </xs:choice>
408                                                                                </xs:complexType>
409                                                                        </xs:element>
410                                                                </xs:sequence>
411                                                        </xs:complexType>
412                                                </xs:element>
413                                        </xs:choice>
414                                </xs:complexType>
415                        </xs:element>
416                        <xs:element name="stdin" type="fileType" minOccurs="0" maxOccurs="unbounded">
417                                <xs:annotation>
418                                        <xs:documentation>Standard input stream location</xs:documentation>
419                                </xs:annotation>
420                        </xs:element>
421                        <xs:element name="stdout" type="fileType" minOccurs="0" maxOccurs="unbounded">
422                                <xs:annotation>
423                                        <xs:documentation>Standard output stream location</xs:documentation>
424                                </xs:annotation>
425                        </xs:element>
[1213]426                        <xs:element name="resourceConsumptionProfile" type="resourceConsumptionProfileType" minOccurs="0" maxOccurs="unbounded"/>
[741]427                </xs:sequence>
428                <xs:attribute name="type" use="optional">
429                        <xs:simpleType>
430                                <xs:restriction base="xs:string">
431                                        <xs:enumeration value="single"/>
432                                        <xs:enumeration value="multiple"/>
433                                        <xs:enumeration value="mpi"/>
434                                        <xs:enumeration value="mpichg"/>
435                                        <xs:enumeration value="open_mpi"/>
436                                        <xs:enumeration value="open_mp"/>
437                                        <xs:enumeration value="mpi_mp"/>
438                                        <xs:enumeration value="proactive"/>
439                                </xs:restriction>
440                        </xs:simpleType>
441                </xs:attribute>
442        </xs:complexType>
443        <xs:complexType name="countRangeType">
444                <xs:annotation>
445                        <xs:documentation>Range of count parameter</xs:documentation>
446                </xs:annotation>
447                <xs:sequence>
448                        <xs:element name="min" type="countBoundaryType"/>
449                        <xs:element name="max" type="countBoundaryType"/>
450                </xs:sequence>
451        </xs:complexType>
452
453        <xs:complexType name="preferencesType">
454                <xs:annotation>
455                        <xs:documentation>User preferences concerning scheduling</xs:documentation>
456                </xs:annotation>
457                <xs:sequence>
458                        <xs:element name="parameter" maxOccurs="unbounded">
459                                <xs:complexType>
460                                        <xs:choice minOccurs="0">
461                                                <xs:choice>
462                                                        <xs:element name="value" type="parameterValueType"/>
463                                                        <xs:element name="min" type="parameterBoundaryType"/>
464                                                        <xs:element name="max" type="parameterBoundaryType"/>
465                                                        <xs:element name="range" type="rangeType"/>
466                                                </xs:choice>
467                                                <xs:element name="stringValue" type="xs:string"/>
468                                        </xs:choice>
469                                        <xs:attribute name="name" type="xs:string" use="required"/>
470                                        <xs:attribute name="optimizationType" use="required">
471                                                <xs:simpleType>
472                                                        <xs:restriction base="xs:string">
473                                                                <xs:enumeration value="GAIN"/>
474                                                                <xs:enumeration value="COST"/>
475                                                        </xs:restriction>
476                                                </xs:simpleType>
477                                        </xs:attribute>
478                                        <xs:attribute name="importance" type="xs:int" use="required"/>
479                                        <xs:attribute name="endpoint" type="xs:string" use="optional"/>
480                                </xs:complexType>
481                        </xs:element>
482                </xs:sequence>
483                <xs:attribute name="preferenceType" use="required">
484                        <xs:simpleType>
485                                <xs:restriction base="xs:string">
486                                        <xs:enumeration value="PRIORITY"/>
487                                        <xs:enumeration value="RANKING"/>
488                                </xs:restriction>
489                        </xs:simpleType>
490                </xs:attribute>
491        </xs:complexType>
492        <xs:complexType name="requirementsType">
493                <xs:annotation>
494                        <xs:documentation>Resource description</xs:documentation>
495                </xs:annotation>
496                <xs:sequence>
497                        <xs:element name="resourceRequirements" type="resourceRequirementsType" minOccurs="0">
498                                <xs:annotation>
499                                        <xs:documentation>Computing resource requirements </xs:documentation>
500                                </xs:annotation>
501                        </xs:element>
502                        <xs:element name="topology" minOccurs="0">
503                                <xs:annotation>
504                                        <xs:documentation>Processes topology definition</xs:documentation>
505                                </xs:annotation>
506                                <xs:complexType>
507                                        <xs:sequence>
508                                                <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
509                                                        <xs:annotation>
510                                                                <xs:documentation>Groups of processes definition</xs:documentation>
511                                                        </xs:annotation>
512                                                        <xs:complexType>
513                                                                <xs:sequence>
514                                                                        <xs:element name="processesConnection" minOccurs="0">
515                                                                                <xs:annotation>
516                                                                                        <xs:documentation>Requirements for network parameters of connection among processes in group</xs:documentation>
517                                                                                </xs:annotation>
518                                                                                <xs:complexType>
519                                                                                        <xs:sequence>
520                                                                                                <xs:element name="networkResource" type="networkResourceType" maxOccurs="unbounded"/>
521                                                                                        </xs:sequence>
522                                                                                </xs:complexType>
523                                                                        </xs:element>
524                                                                        <xs:element name="groupConnection" minOccurs="0" maxOccurs="unbounded">
525                                                                                <xs:annotation>
526                                                                                        <xs:documentation>Requirements for network parameters of connection between current group and group with provided id</xs:documentation>
527                                                                                </xs:annotation>
528                                                                                <xs:complexType>
529                                                                                        <xs:sequence>
530                                                                                                <xs:element name="networkResource" type="networkResourceType" maxOccurs="unbounded"/>
531                                                                                        </xs:sequence>
532                                                                                        <xs:attribute name="endpointGroupId" type="xs:string" use="required"/>
533                                                                                </xs:complexType>
534                                                                        </xs:element>
535                                                                </xs:sequence>
536                                                                <xs:attribute name="groupId" type="xs:string" use="required"/>
537                                                        </xs:complexType>
538                                                </xs:element>
539                                                <xs:element name="processes" maxOccurs="unbounded">
540                                                        <xs:annotation>
541                                                                <xs:documentation>Processes definition</xs:documentation>
542                                                        </xs:annotation>
543                                                        <xs:complexType>
544                                                                                                                        <xs:sequence>
545                                                                        <xs:element name="groupIdReference" type="xs:string" minOccurs="0" maxOccurs="unbounded">
546                                                                                <xs:annotation>
547                                                                                        <xs:documentation>Ids of group that the process belongs</xs:documentation>
548                                                                                </xs:annotation>
549                                                                        </xs:element>
550                                                                        <xs:element name="processesCount" type="countType" minOccurs="0">
551                                                                                <xs:annotation>
552                                                                                        <xs:documentation>Number of process with specified resources requirements</xs:documentation>
553                                                                                </xs:annotation>
554                                                                        </xs:element>
555                                                                        <xs:element name="resourceRequirements" minOccurs="0">
556                                                                                <xs:annotation>
557                                                                                        <xs:documentation>Resource requirements of defined processes</xs:documentation>
558                                                                                </xs:annotation>
559                                                                                <xs:complexType>
560                                                                                        <xs:sequence>
561                                                                                                <xs:element name="computingResource" type="computingResourceType" minOccurs="0" maxOccurs="unbounded">
562                                                                                                        <xs:annotation>
563                                                                                                                <xs:documentation>Definition of resource reqiurements for processes</xs:documentation>
564                                                                                                        </xs:annotation>
565                                                                                                </xs:element>
566                                                                                                <xs:element name="preferences" type="preferencesType" minOccurs="0"/>
567                                                                                        </xs:sequence>
568                                                                                </xs:complexType>
569                                                                        </xs:element>
570                                                                </xs:sequence>
571                                                                <xs:attribute name="processesId" type="xs:string" use="required"/>
572                                                                <xs:attribute name="masterGroup" type="xs:boolean" use="optional"/>
573                                                        </xs:complexType>
574                                                </xs:element>
575                                        </xs:sequence>
576                                </xs:complexType>
577                        </xs:element>
578                </xs:sequence>
579        </xs:complexType>
580        <xs:complexType name="countType">
581                <xs:annotation>
582                        <xs:documentation>Description of count element</xs:documentation>
583                </xs:annotation>
584                <xs:choice>
585                        <xs:element name="value">
586                                <xs:complexType>
587                                        <xs:simpleContent>
588                                                <xs:extension base="xs:int">
589                                                        <xs:attribute name="indiffThreshold" type="xs:int" use="optional" default="0"/>
590                                                </xs:extension>
591                                        </xs:simpleContent>
592                                </xs:complexType>
593                        </xs:element>
594                        <xs:element name="min" type="countBoundaryType"/>
595                        <xs:element name="max" type="countBoundaryType"/>
596                        <xs:element name="range" type="countRangeType"/>
597                </xs:choice>
598        </xs:complexType>
599        <xs:complexType name="parameterValueType">
600                <xs:annotation>
601                        <xs:documentation>Value of the parameter</xs:documentation>
602                </xs:annotation>
603                <xs:simpleContent>
604                        <xs:extension base="xs:double">
605                                <xs:attribute name="indiffThreshold" type="xs:double" use="optional" default="0"/>
606                        </xs:extension>
607                </xs:simpleContent>
608        </xs:complexType>
609
610        <xs:complexType name="parameterBoundaryType">
611                <xs:annotation>
612                        <xs:documentation>Description of boundary for parameters</xs:documentation>
613                </xs:annotation>
614                <xs:simpleContent>
615                        <xs:extension base="xs:double">
616                                <xs:attribute name="exclusiveBound" type="xs:boolean" use="optional" default="false"/>
617                        </xs:extension>
618                </xs:simpleContent>
619        </xs:complexType>
620        <xs:complexType name="countBoundaryType">
621                <xs:annotation>
622                        <xs:documentation>Description of boundary for count</xs:documentation>
623                </xs:annotation>
624                <xs:simpleContent>
625                        <xs:extension base="xs:int">
626                                <xs:attribute name="exclusiveBound" type="xs:boolean" use="optional" default="false"/>
627                        </xs:extension>
628                </xs:simpleContent>
629        </xs:complexType>
630
631        <xs:complexType name="resourceRequirementsType">
632                <xs:sequence>
633                        <xs:element name="computingResource" type="computingResourceType" minOccurs="0" maxOccurs="unbounded"/>
634                        <xs:element name="preferences" type="preferencesType" minOccurs="0"/>
635                </xs:sequence>
636        </xs:complexType>
637        <xs:complexType name="parentOpType">
638                <xs:choice maxOccurs="unbounded">
639                        <xs:element name="or" type="parentOpType"/>
640                        <xs:element name="and" type="parentOpType"/>
641                        <xs:element name="parent" type="parentType"/>
642                </xs:choice>
643        </xs:complexType>
644        <xs:complexType name="parentType">
645                <xs:simpleContent>
646                        <xs:extension base="xs:string">
647                                <xs:attribute name="triggerState" type="taskStatesName" use="optional" default="FINISHED"/>
648                                <xs:attribute name="runSameHost" type="xs:boolean" use="optional" default="false"/>
649                                <xs:attribute name="atEachIteration" type="xs:boolean" use="optional" default="false"/>
650                        </xs:extension>
651                </xs:simpleContent>
652        </xs:complexType>
653                <xs:complexType name="resourceConsumptionProfileType">
654                <xs:sequence>
[1213]655                        <xs:element name="properties" type="stringParameterType" minOccurs="0" maxOccurs="unbounded"/>
[741]656                        <xs:element name="resourceConsumption" type="resourceConsumptionType" minOccurs="1" maxOccurs="unbounded"/>
657                </xs:sequence>
[1213]658                <xs:attribute name="type" type="xs:string" use="optional"/>
[741]659        </xs:complexType>
660       
661        <xs:complexType name="resourceConsumptionType">
662                <xs:sequence>
[848]663                        <xs:element name="id" type="xs:string" minOccurs="0"/>
[1125]664                        <xs:element name="referenceHardware" type="referenceHardwareType" minOccurs="0"/>
[872]665                        <xs:element name="duration" type="xs:duration" minOccurs="0"/>
[741]666                        <xs:element name="behaviour" type="phaseBehaviourType" minOccurs="1" maxOccurs="unbounded"/>
667                </xs:sequence>
668        </xs:complexType>
669       
[1125]670        <xs:complexType name="referenceHardwareType">
671                <xs:sequence>
[1213]672                        <xs:element name="reference" type="stringParameterType" minOccurs="0" maxOccurs="unbounded"/>
[1125]673                </xs:sequence>
674        </xs:complexType>
675       
[1213]676        <xs:complexType name="stringParameterType">
[1125]677                <xs:simpleContent>
678                        <xs:extension base="xs:string">
679                                <xs:attribute name="name" type="xs:string" use="required"/>
680                        </xs:extension>
681                </xs:simpleContent>
682        </xs:complexType>
683       
[741]684        <xs:complexType name="phaseBehaviourType">
685                <xs:complexContent>
686                        <xs:extension base="parameterType">
[746]687                                <xs:attribute name="name" type="xs:string" use="required"/>
[741]688                        </xs:extension>
689                </xs:complexContent>
690        </xs:complexType>
691       
692</xs:schema>
Note: See TracBrowser for help on using the repository browser.