-
Notifications
You must be signed in to change notification settings - Fork 99
/
manifest.xsd
28 lines (25 loc) · 1020 Bytes
/
manifest.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="manifest">
<xs:complexType>
<xs:sequence>
<xs:element name="project" minOccurs="0" maxOccurs="unbounded" type="project"/>
</xs:sequence>
</xs:complexType>
<xs:unique name="UniqueProjectName">
<xs:selector xpath="project"/>
<xs:field xpath="@name"/>
</xs:unique>
<xs:unique name="UniqueProjectPath">
<xs:selector xpath="project"/>
<xs:field xpath="@path"/>
</xs:unique>
</xs:element>
<xs:complexType name="project">
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="path" type="xs:string" use="required"/>
<xs:attribute name="revision" type="xs:string" use="required"/>
<xs:attribute name="groups" type="xs:string"/>
<xs:attribute name="clone-depth" type="xs:integer" use="required"/>
</xs:complexType>
</xs:schema>