summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-01-28 13:48:45 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-01-28 13:48:45 +0000
commita6c94f1da365b95c8981c86a5f9c05e583b23b76 (patch)
tree53dee7202bf44e0594b686cc0c929e30da6d00c2 /sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd
parent19a4e897937244586853e0e72e5fa418ce92bb04 (diff)
checkpoint - working but SyndEntrys don't reveal JIRA status
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@904085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd')
-rw-r--r--sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd52
1 files changed, 33 insertions, 19 deletions
diff --git a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd
index 41f25b1961..e868645dce 100644
--- a/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd
+++ b/sandbox/kgoodson/jagg/src/main/resources/JiraSideband.xsd
@@ -25,14 +25,11 @@
<xsd:complexType name="Plan">
<xsd:sequence>
- <xsd:element name="issueBase" type="xsd:string"></xsd:element>
- <xsd:element name="milestones" type="jagg:Milestones"
- maxOccurs="1" minOccurs="1">
- </xsd:element>
- <xsd:element name="workitems" type="jagg:WorkItems"
- maxOccurs="1" minOccurs="1">
- </xsd:element>
- </xsd:sequence>
+ <xsd:element name="issueBase" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element>
+
+
+ <xsd:element name="milestone" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ </xsd:sequence>
</xsd:complexType>
@@ -45,8 +42,8 @@
</xsd:annotation>
<xsd:sequence>
- <xsd:element name="title" type="xsd:string"></xsd:element>
- <xsd:element name="responsible" type="xsd:string"
+ <xsd:element name="title" type="xsd:string" maxOccurs="1" minOccurs="1"></xsd:element>
+ <xsd:element name="responsible" type="xsd:string"
maxOccurs="1" minOccurs="0">
</xsd:element>
<xsd:element name="dueDate" type="xsd:string" maxOccurs="1"
@@ -64,17 +61,21 @@
</xsd:element>
<xsd:element name="note" type="xsd:string" maxOccurs="1"
minOccurs="0">
- </xsd:element>
+ </xsd:element>
+
+ <xsd:element name="jiraData" type="jagg:JiraData" maxOccurs="1" minOccurs="0"></xsd:element>
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:ID"></xsd:attribute>
</xsd:complexType>
- <xsd:complexType name="Milestone">
-
- <xsd:sequence>
- <xsd:element name="dueDate" type="xsd:string"></xsd:element>
-
+ <xsd:complexType name="Milestone">
+
+ <xsd:sequence>
+ <xsd:element name="dueDate" type="xsd:string" maxOccurs="1"
+ minOccurs="0">
+ </xsd:element>
+
<xsd:element name="deliveredby" type="xsd:string"
maxOccurs="1" minOccurs="0">
<xsd:annotation>
@@ -86,11 +87,15 @@
</xsd:element>
<xsd:element name="note" type="xsd:string" maxOccurs="1"
minOccurs="0">
- </xsd:element>
+ </xsd:element>
+
+ <xsd:element name="workItem" type="jagg:WorkItem"
+ maxOccurs="unbounded" minOccurs="0">
+ </xsd:element>
</xsd:sequence>
- <xsd:attribute name="ID" type="xsd:ID"></xsd:attribute>
- <xsd:attribute name="workItems" type="xsd:IDREFS"></xsd:attribute>
+
+ <xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
</xsd:complexType>
<xsd:complexType name="Milestones">
@@ -112,4 +117,13 @@
<xsd:element name="workitems" type="jagg:WorkItem" maxOccurs="unbounded" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
+
+ <xsd:complexType name="JiraData">
+ <xsd:sequence>
+ <xsd:element name="title" type="xsd:string"></xsd:element>
+ <xsd:element name="status" type="xsd:string"></xsd:element>
+ <xsd:element name="assignedTo" type="xsd:string"></xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
+ </xsd:complexType>
</xsd:schema> \ No newline at end of file