summaryrefslogtreecommitdiffstats
path: root/sandbox/kgoodson/jagg-logic/src/main/resources
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 17:39:30 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-03-22 17:39:30 +0000
commiteb82cbbb2c1e4f4fc421a51acb539b20373192bb (patch)
tree92351e6cf61a34d3bde5a38b3409649abea594c8 /sandbox/kgoodson/jagg-logic/src/main/resources
parentffd0ecb3ae02c051af7b2d081cf5326d1886e5ed (diff)
reasonably usable now, still no workitem delete
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@926214 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/kgoodson/jagg-logic/src/main/resources')
-rw-r--r--sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd68
1 files changed, 38 insertions, 30 deletions
diff --git a/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd
index 4a47372310..26ad646f28 100644
--- a/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd
+++ b/sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd
@@ -20,16 +20,24 @@
<xsd:schema targetNamespace="http://www.example.com/tracking"
xmlns:jagg="http://www.example.com/tracking"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:element name="plan">
- <xsd:complexType>
- <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>
+
+ <xsd:element name="plan">
+ <xsd:complexType>
+ <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:attribute name="projTitle" type="xsd:string" default="Untitled Project"></xsd:attribute>
+ <xsd:attribute name="maxWorkItemID" type="xsd:int" default="0">
+ </xsd:attribute>
+ </xsd:complexType>
</xsd:element>
@@ -43,7 +51,7 @@
<xsd:sequence>
<xsd:element name="title" type="xsd:string" maxOccurs="1"
- minOccurs="1">
+ minOccurs="0">
</xsd:element>
<xsd:element name="responsible" type="xsd:string"
maxOccurs="1" minOccurs="0">
@@ -68,7 +76,7 @@
<xsd:element name="jiraData" type="jagg:JiraData"
maxOccurs="1" minOccurs="0">
</xsd:element>
- <xsd:element name="link" type="xsd:anyURI" maxOccurs="1" minOccurs="0"></xsd:element>
+ <xsd:element name="link" type="xsd:string" maxOccurs="1" minOccurs="0"></xsd:element>
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:ID"></xsd:attribute>
</xsd:complexType>
@@ -103,32 +111,32 @@
<xsd:attribute name="ID" type="xsd:string"></xsd:attribute>
</xsd:complexType>
- <xsd:complexType name="Milestones">
- <xsd:sequence>
+ <xsd:complexType name="Milestones">
+ <xsd:sequence>
<xsd:element name="milestone" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
-
- <xsd:complexType name="WorkItems">
- <xsd:sequence>
+
+ <xsd:complexType name="WorkItems">
+ <xsd:sequence>
<xsd:element name="workitem" type="jagg:WorkItem" maxOccurs="unbounded" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
-
-
- <xsd:complexType name="PlanDTO">
- <xsd:sequence>
- <xsd:element name="milestones" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
- <xsd:element name="workitems" type="jagg:WorkItem" maxOccurs="unbounded" minOccurs="0"></xsd:element>
- </xsd:sequence>
+
+
+ <xsd:complexType name="PlanDTO">
+ <xsd:sequence>
+ <xsd:element name="milestones" type="jagg:Milestone" maxOccurs="unbounded" minOccurs="0"></xsd:element>
+ <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>
+ <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