issuesByProject.xsd 3.42 KB
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <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">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="value" maxOccurs="unbounded" minOccurs="0">
                                            <xs:complexType mixed="true">
                                                <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>