diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/kgoodson/jagg-logic/src/main/resources/JiraSideband.xsd | 68 |
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 |