summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2011-10-30 22:55:35 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2011-10-30 22:55:35 (GMT)
commit6216173988b8156b8b5fa98f3510f98256f22680 (patch)
treea301633710b361b169fc9bb73789440ce01bbaa3
parenta73c4d24e5cb0137425e4bb7ea763446203d003f (diff)
downloadlibkolabxml-6216173988b8156b8b5fa98f3510f98256f22680.tar.gz
updated recurrences
-rw-r--r--schemas/incidence.xsd60
1 files changed, 30 insertions, 30 deletions
diff --git a/schemas/incidence.xsd b/schemas/incidence.xsd
index 9eb24d1..988b7bb 100644
--- a/schemas/incidence.xsd
+++ b/schemas/incidence.xsd
@@ -53,43 +53,43 @@
<xs:complexType name="Recurrence">
- <xs:sequence>
- <xs:element name="cycle" type="Cycle" maxOccurs="unbounded"
- minOccurs="1">
- </xs:element>
- <xs:choice>
- <xs:element name="count" type="xs:int"></xs:element>
- <xs:element name="enddate" type="xs:dateTime"></xs:element>
- </xs:choice>
- <xs:element name="exception" type="Exception"
- maxOccurs="unbounded" minOccurs="0">
- </xs:element>
- </xs:sequence>
+ <xs:sequence>
+ <xs:element name="rule" type="Rule" maxOccurs="unbounded" minOccurs="0" />
+ <xs:element name="date" type="xs:dateTime" maxOccurs="unbounded" minOccurs="0" />
+ <xs:element name="exception" type="Exception" maxOccurs="unbounded" minOccurs="0" />
+ </xs:sequence>
</xs:complexType>
<xs:complexType name="Interval">
- <xs:choice>
- <xs:element name="interval" type="xs:int"></xs:element>
- <xs:element name="list" type="xs:int" maxOccurs="unbounded" minOccurs="1"></xs:element>
- </xs:choice>
+ <xs:choice>
+ <xs:element name="interval" type="xs:int"/>
+ <xs:element name="list" type="xs:int" maxOccurs="unbounded" minOccurs="1" />
+ </xs:choice>
</xs:complexType>
<xs:complexType name="Exception">
- <xs:sequence>
- <xs:element name="date" type="xs:dateTime"></xs:element>
- <xs:element name="subevent" type="xs:string"></xs:element>
- </xs:sequence>
+ <xs:sequence>
+ <xs:element name="rule" type="Rule" />
+ <xs:element name="date" type="xs:dateTime" />
+ <xs:element name="subevent" type="xs:string" />
+ </xs:sequence>
</xs:complexType>
- <xs:complexType name="Cycle">
- <xs:sequence>
- <xs:element name="yearly" type="Interval" maxOccurs="1" minOccurs="0" />
- <xs:element name="monthly" type="Interval" maxOccurs="1" minOccurs="0" />
- <xs:element name="weekly" type="Interval" maxOccurs="1" minOccurs="0" />
- <xs:element name="daily" type="Interval" maxOccurs="1" minOccurs="0" />
- <xs:element name="hourly" type="Interval" maxOccurs="1" minOccurs="0" />
- <xs:element name="minutely" type="Interval" maxOccurs="1" minOccurs="0" />
- <xs:element name="secondly" type="Interval" maxOccurs="1" minOccurs="0" />
- </xs:sequence>
+ <xs:complexType name="Rule">
+ <xs:sequence>
+ <xs:element name="yearly" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="monthly" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="weekly" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="daily" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="hourly" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="minutely" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="secondly" type="Interval" maxOccurs="1" minOccurs="0" />
+ <xs:element name="occurence" type="xs:int" maxOccurs="unbounded" minOccurs="0" />
+ <xs:element name="weekstart" type="xs:int" />
+ <xs:choice>
+ <xs:element name="count" type="xs:int" />
+ <xs:element name="enddate" type="xs:dateTime" />
+ </xs:choice>
+ </xs:sequence>
</xs:complexType>
</xs:schema> \ No newline at end of file