summaryrefslogtreecommitdiff
path: root/schemas/incidence.xsd
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2011-10-27 09:31:28 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2011-10-27 09:31:28 (GMT)
commit03c0c74a176b1c43ba13b32545e8582f673dd5bd (patch)
tree694fbb593a585202c9b8a86f5ac77f1d2ff49690 /schemas/incidence.xsd
parent5453fc1d3c20330f9ed35b67a2c2578a740b8f1b (diff)
downloadlibkolabxml-03c0c74a176b1c43ba13b32545e8582f673dd5bd.tar.gz
specify role/status
Diffstat (limited to 'schemas/incidence.xsd')
-rw-r--r--schemas/incidence.xsd21
1 files changed, 19 insertions, 2 deletions
diff --git a/schemas/incidence.xsd b/schemas/incidence.xsd
index 86436af..dfbc62d 100644
--- a/schemas/incidence.xsd
+++ b/schemas/incidence.xsd
@@ -26,14 +26,31 @@
<xs:complexContent>
<xs:extension base="SMTPContact">
<xs:sequence>
- <xs:element name="status" type="xs:string" />
+ <xs:element name="status" type="Status" />
<xs:element name="request-response" type="xs:string" />
- <xs:element name="role" type="xs:string" />
+ <xs:element name="role" type="Role" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
+ <xs:simpleType name="Status">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="none" />
+ <xs:enumeration value="tentative" />
+ <xs:enumeration value="accepted" />
+ <xs:enumeration value="declined" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="Role">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="required" />
+ <xs:enumeration value="optional" />
+ <xs:enumeration value="resource" />
+ </xs:restriction>
+ </xs:simpleType>
+
<xs:simpleType name="Cycle">
<xs:restriction base="xs:string">
<xs:enumeration value="daily" />