summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2011-10-20 17:13:47 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2011-10-20 17:13:47 (GMT)
commitf9747244039a7b139e5c760700465ac11659c620 (patch)
tree4a485d8f9a26343830c623b422108920aba1dd21
parent2ba2c0ce7d78caf756e698d9029c990939991523 (diff)
downloadlibkolabxml-f9747244039a7b139e5c760700465ac11659c620.tar.gz
first draft of a task
-rw-r--r--schemas/task.xsd29
1 files changed, 29 insertions, 0 deletions
diff --git a/schemas/task.xsd b/schemas/task.xsd
new file mode 100644
index 0000000..eb5ca48
--- /dev/null
+++ b/schemas/task.xsd
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.kolab.org/Kolab"
+ xmlns="http://www.kolab.org/Kolab"
+ elementFormDefault="qualified">
+
+ <xs:include schemaLocation="incidence.xsd" />
+
+ <xs:element name="task" type="Task"/>
+
+ <xs:complexType name="Task">
+ <xs:complexContent>
+ <xs:extension base="Incidence">
+ <xs:sequence>
+
+ <xs:element name="priority" type="xs:int"></xs:element>
+ <xs:element name="completed" type="xs:int"></xs:element>
+ <xs:element name="status" type="xs:string"></xs:element>
+ <xs:element name="start-date" type="xs:dateTime" maxOccurs="1" minOccurs="0"></xs:element>
+ <xs:element name="due-date" type="xs:dateTime"
+ maxOccurs="1" minOccurs="0">
+ </xs:element>
+ <xs:element name="parent" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema> \ No newline at end of file