summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/SourceExplore/src/main/resources/projects.xsd
blob: 6ca98ed55215e97c405b87c8ec927491dd8ba801 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://tuscany.apache.org/SourceExplore/projects" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tuscany.apache.org/SourceExplore/projects">

    <element name="projects">
    	<complexType>
    		<choice maxOccurs="unbounded" minOccurs="0">
    			<element name="project" type="string"></element>
    			<element name="package" type="string"></element>
    		</choice>
    	</complexType>
    </element>
    
    <element name="projects2">
        <complexType>
            <sequence maxOccurs="unbounded" minOccurs="0">
                <element name="project">
                    <complexType>
                        <sequence maxOccurs="unbounded" minOccurs="0">
                            <element name="package" type="tns:Package"></element>
                            </sequence>
                        <attribute name="name" type="string"></attribute>
                        </complexType>
                    </element>
    		</sequence>
    	</complexType>
    </element>
    
    <complexType name="Package">
        <sequence>
            <element name="file" type="tns:File" maxOccurs="unbounded" minOccurs="0"></element>
    	</sequence>
    	<attribute name="name" type="string"></attribute>
    </complexType>

    <attribute name="NewAttribute" type="string"></attribute>

    
    <complexType name="File">
        <attribute name="name" type="string"></attribute>
        <attribute name="digest" type="string"></attribute>
        </complexType>
    </schema>