summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2011-10-20 17:13:59 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2011-10-20 17:13:59 (GMT)
commitb207a7f444b8088b9380961c39bf67888a45738d (patch)
tree0479a090c3de5d73f2eb057b2f3d264153f54e64
parentf9747244039a7b139e5c760700465ac11659c620 (diff)
downloadlibkolabxml-b207a7f444b8088b9380961c39bf67888a45738d.tar.gz
first draft of an event
-rw-r--r--schemas/event.xsd25
1 files changed, 25 insertions, 0 deletions
diff --git a/schemas/event.xsd b/schemas/event.xsd
new file mode 100644
index 0000000..a4b0703
--- /dev/null
+++ b/schemas/event.xsd
@@ -0,0 +1,25 @@
+<?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="event" type="Event"/>
+
+ <xs:complexType name="Event">
+ <xs:complexContent>
+ <xs:extension base="Incidence">
+ <xs:sequence>
+
+ <xs:element name="show-time-as" type="xs:string"></xs:element>
+ <xs:element name="color-label" type="xs:string"></xs:element>
+ <xs:element name="start-date" type="xs:dateTime"></xs:element>
+ <xs:element name="end-date" type="xs:dateTime"></xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema> \ No newline at end of file