diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/kgoodson/jagg/src/main/resources/JiraRSS.xsd | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/resources/JiraRSS.xsd b/sandbox/kgoodson/jagg/src/main/resources/JiraRSS.xsd new file mode 100644 index 0000000000..8cd89b6c2c --- /dev/null +++ b/sandbox/kgoodson/jagg/src/main/resources/JiraRSS.xsd @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + + <xsd:include schemaLocation=""></xsd:include> + <xsd:element name="rss" type="RSS"></xsd:element> + + <xsd:complexType name="JiraRSS"> + <xsd:sequence> + <xsd:element name="channel" type="xsd:string"></xsd:element> + </xsd:sequence> + </xsd:complexType> + + <xsd:complexType name="Channel"> + <xsd:sequence> + <xsd:element name="title" type="xsd:string"></xsd:element> + <xsd:element name="link" type="xsd:string"></xsd:element> + <xsd:element name="description" type="xsd:string"></xsd:element> + <xsd:element name="language" type="xsd:string"></xsd:element> + + <xsd:any processContents="lax"></xsd:any> + <xsd:element name="item" type="Item"></xsd:element> + </xsd:sequence> + </xsd:complexType> + + + + <xsd:complexType name="Item"> + <xsd:sequence> + <xsd:element name="title" type="xsd:string"></xsd:element> + <xsd:element name="link" type="xsd:string"></xsd:element> + <xsd:element name="description" type="xsd:string"></xsd:element> + <xsd:element name="environment" type="xsd:string"></xsd:element> + <xsd:element name="type" type="xsd:string"></xsd:element> + <xsd:element name="priority" type="xsd:string"></xsd:element> + <xsd:element name="status" type="xsd:string"></xsd:element> + <xsd:element name="resolution" type="xsd:string"></xsd:element> + <xsd:element name="assignee" type="xsd:string"></xsd:element> + <xsd:element name="reporter" type="xsd:string"></xsd:element> + <xsd:element name="key" type="Key"></xsd:element> + <xsd:element name="summary" type="xsd:string"></xsd:element> + <xsd:element name="type" type="xsd:string"></xsd:element> + <xsd:element name="priority" type="xsd:string"></xsd:element> + <xsd:element name="status" type="xsd:string"></xsd:element> + <xsd:element name="resolution" type="xsd:string"></xsd:element> + <xsd:element name="assignee" type="xsd:string"></xsd:element> + <xsd:element name="reporter" type="xsd:string"></xsd:element> + <xsd:element name="created" type="xsd:string"></xsd:element> + <xsd:element name="updated" type="xsd:string"></xsd:element> + <xsd:element name="version" type="xsd:string"></xsd:element> + <xsd:element name="fixVersion" type="xsd:string"></xsd:element> + <xsd:element name="component" type="xsd:string"></xsd:element> + <xsd:element name="due" type="xsd:string"></xsd:element> + <xsd:element name="votes" type="xsd:string"></xsd:element> + <xsd:element name="comments" type="Comments"></xsd:element> + <xsd:sequence maxOccurs="unbounded" minOccurs="0"></xsd:sequence> + <xsd:any></xsd:any> + </xsd:sequence> + </xsd:complexType> + + + <xsd:complexType name="RSS"> + <xsd:sequence> + <xsd:element name="channel" type="Channel"></xsd:element> + </xsd:sequence> + <xsd:attribute name="version" type="xsd:string"></xsd:attribute> + </xsd:complexType> + + + <xsd:complexType name="Key"> + <xsd:simpleContent> + <xsd:extension base="xsd:string"> + <xsd:attribute name="id" type="xsd:string"></xsd:attribute> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + + <xsd:complexType name="Comment"> + <xsd:simpleContent> + <xsd:extension base="xsd:string"> + <xsd:attribute name="id" type="xsd:string"></xsd:attribute> + <xsd:attribute name="author" type="xsd:string"></xsd:attribute> + <xsd:attribute name="created" type="xsd:string"></xsd:attribute> + </xsd:extension> + </xsd:simpleContent> + </xsd:complexType> + + <xsd:complexType name="Comments"> + <xsd:sequence> + <xsd:element name="comment" type="Comment" maxOccurs="unbounded" minOccurs="0"></xsd:element> + </xsd:sequence> + </xsd:complexType> +</xsd:schema>
\ No newline at end of file |