Blame view

src/main/xsd/issuesByProject.xsd 3.42 KB
bernard authored
1
<?xml version="1.0" encoding="UTF-8"?>
bernard authored
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
bernard authored
3 4 5 6 7 8 9
    <xs:element name="issues">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="issue" maxOccurs="unbounded" minOccurs="0">
                    <xs:complexType>
                        <xs:choice maxOccurs="unbounded" minOccurs="0">
                            <xs:element name="field">
bernard authored
10
                                <xs:complexType>
bernard authored
11 12
                                    <xs:sequence>
                                        <xs:element name="value" maxOccurs="unbounded" minOccurs="0">
bernard authored
13
                                            <xs:complexType mixed="true">
bernard authored
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 43 44 45 46 47 48 49 50 51 52 53 54
                                                <xs:attribute type="xs:string" name="type" use="optional"/>
                                                <xs:attribute type="xs:string" name="role" use="optional"/>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                    <xs:attribute type="xs:string" name="name" use="optional"/>
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="comment">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element type="xs:string" name="replies" minOccurs="0"/>
                                        <xs:element name="value" minOccurs="0">
                                            <xs:complexType>
                                                <xs:simpleContent>
                                                    <xs:extension base="xs:string">
                                                        <xs:attribute type="xs:string" name="type" use="optional"/>
                                                        <xs:attribute type="xs:string" name="role" use="optional"/>
                                                    </xs:extension>
                                                </xs:simpleContent>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                    <xs:attribute type="xs:string" name="id" use="optional"/>
                                    <xs:attribute type="xs:string" name="author" use="optional"/>
                                    <xs:attribute type="xs:string" name="issueId" use="optional"/>
                                    <xs:attribute type="xs:string" name="deleted" use="optional"/>
                                    <xs:attribute type="xs:string" name="text" use="optional"/>
                                    <xs:attribute type="xs:string" name="shownForIssueAuthor" use="optional"/>
                                    <xs:attribute type="xs:string" name="created" use="optional"/>
                                    <xs:attribute type="xs:string" name="name" use="optional"/>
                                </xs:complexType>
                            </xs:element>
                        </xs:choice>
                        <xs:attribute type="xs:string" name="id" use="optional"/>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>