]> TLD Linux GIT Repositories - tld-builder.git/blob - xml/queue.xsd
- TLDize
[tld-builder.git] / xml / queue.xsd
1 <?xml version="1.0"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 targetNamespace="http://tld-linux.org"
4 xmlns="http://tld-linux.org"
5 elementFormDefault="qualified">
6
7 <xs:element name="queue">
8 <xs:complexType>
9 <xs:sequence>
10         <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
11         <xs:complexType>
12         <xs:sequence>
13                 <xs:element name="requester">
14                 <xs:complexType mixed="true">
15                         <xs:attribute name="email" type="xs:string"/>
16                 </xs:complexType>
17                 </xs:element>
18                 <xs:element name="time" type="xs:integer"/>
19                 <xs:element name="priority" type="xs:integer"/>
20                 <xs:element name="batch" maxOccurs="unbounded">
21                 <xs:complexType>
22                 <xs:sequence>
23                         <xs:element name="src-rpm" type="xs:string"/>
24                         <xs:element name="command">
25                         <xs:complexType mixed="true">
26                                 <xs:attribute name="flags" type="xs:string" default=""/>
27                         </xs:complexType>
28                         </xs:element>
29                         <xs:element name="spec" type="xs:string"/>
30                         <xs:element name="branch" type="xs:string"/>
31                         <xs:element name="info" type="xs:string" default=""/>
32                         <xs:element name="kernel" type="xs:string" minOccurs="0"/>
33                         <xs:element name="with" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
34                         <xs:element name="without" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
35                         <xs:element name="builder" maxOccurs="unbounded">
36                         <xs:complexType mixed="true">
37                                 <xs:attribute name="status" type="xs:string" default=""/>
38                         </xs:complexType>
39                         </xs:element>
40                 </xs:sequence>
41                         <xs:attribute name="id" type="xs:string"/>
42                         <xs:attribute name="depends-on" type="xs:string" default=""/>
43                 </xs:complexType>
44                 </xs:element>
45         </xs:sequence>
46                 <xs:attribute name="id" type="xs:string"/>
47                 <xs:attribute name="no" type="xs:integer"/>
48                 <xs:attribute name="flags" type="xs:string" default=""/>
49         </xs:complexType>
50         </xs:element>
51 </xs:sequence>
52 </xs:complexType>
53 </xs:element>
54
55 </xs:schema>