]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/resources/org/argeo/slc/xml/slc.xsd
TreeTestResult marshalling/unmarshalling
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / resources / org / argeo / slc / xml / slc.xsd
1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
2 xmlns:slc="http://argeo.org/projects/slc/schemas"
3 elementFormDefault="qualified"
4 targetNamespace="http://argeo.org/projects/slc/schemas">
5 <xs:element name="slc-execution-request">
6 <xs:complexType>
7 <xs:all>
8 <xs:element name="slc-execution"
9 type="slc:SlcExecutionType" />
10 </xs:all>
11 </xs:complexType>
12 </xs:element>
13 <xs:element name="slc-execution-steps-request">
14 <xs:complexType>
15 <xs:sequence>
16 <xs:element name="steps"
17 type="slc:SlcExecutionStepsType" />
18 <xs:element name="slc-execution-uuid" type="xs:string" />
19 </xs:sequence>
20 </xs:complexType>
21 </xs:element>
22 <xs:complexType name="SlcExecutionType">
23 <xs:all>
24 <xs:element name="status" type="xs:string" />
25 <xs:element name="type" type="xs:string" />
26 <xs:element name="host" type="xs:string" />
27 <xs:element name="path" type="xs:string" />
28 <xs:element name="steps" minOccurs="0"
29 type="slc:SlcExecutionStepsType" />
30 </xs:all>
31 <xs:attribute name="uuid" type="xs:string" use="required"/>
32 </xs:complexType>
33 <xs:complexType name="SlcExecutionStepType">
34 <xs:all>
35 <xs:element name="type" type="xs:string" />
36 <xs:element name="begin" type="xs:dateTime" />
37 <xs:element name="log-lines" minOccurs="0">
38 <xs:complexType>
39 <xs:sequence>
40 <xs:element name="log-line" type="xs:string"
41 maxOccurs="unbounded" />
42 </xs:sequence>
43 </xs:complexType>
44 </xs:element>
45 </xs:all>
46 <xs:attribute name="uuid" type="xs:string" use="required"/>
47 </xs:complexType>
48 <xs:complexType name="SlcExecutionStepsType">
49 <xs:sequence>
50 <xs:element name="slc-execution-step"
51 type="slc:SlcExecutionStepType" maxOccurs="unbounded">
52 </xs:element>
53 </xs:sequence>
54 </xs:complexType>
55
56 </xs:schema>