root/trunk/resources/exsynchwsdefs/iCalendar-params.xsd

Revision 3037 (checked in by douglm, 3 years ago)

Commit the start of the bedework end of the exchange synch process.

New wsimport task for caldav build.
XML schema files in resource directory.
New web service classes

Also make a start on easing process of changing version. Versions defined in build.properties files.

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- edited with XMLSpy v2010 rel. 3 sp1 (x64) (http://www.altova.com) by Toby Considine (TC9) -->
3 <!--non-normative, to support development of WS-Calendar - 2010/10/30. Refer to rfc5545 and xCal in the IETF for normative description-->
4 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
5            xmlns:xcal="urn:ietf:params:xml:ns:icalendar-2.0"
6            targetNamespace="urn:ietf:params:xml:ns:icalendar-2.0"
7            elementFormDefault="qualified">
8
9   <xs:include schemaLocation="iCalendar-valtypes.xsd" />
10          
11   <!-- =====================================================================
12        3.2 Property parameter definitions
13        ===================================================================== -->
14        
15   <xs:complexType name="ArrayOfParameters">
16     <xs:choice maxOccurs="unbounded">
17       <xs:element name="altrep" type="xcal:altrepParamType" />
18       <xs:element name="cn" type="xcal:cnParamType" />
19       <xs:element name="cutype" type="xcal:cutypeParamType" />
20       <xs:element name="delegated-from" type="xcal:delegated-fromParamType" />
21       <xs:element name="delegated-to" type="xcal:delegated-toParamType" />
22       <xs:element name="dir" type="xcal:dirParamType" />
23       <xs:element name="encoding" type="xcal:encodingParamType" />
24       <xs:element name="fmttype" type="xcal:fmttypeParamType" />
25       <xs:element name="fbtype" type="xcal:fbtypeParamType" />
26       <xs:element name="language" type="xcal:languageParamType" />
27       <xs:element name="member" type="xcal:memberParamType" />
28       <xs:element name="partstat" type="xcal:partstatParamType" />
29       <xs:element name="range" type="xcal:rangeParamType" />
30       <xs:element name="related" type="xcal:relatedParamType" />
31       <xs:element name="reltype" type="xcal:reltypeParamType" />
32       <xs:element name="role" type="xcal:roleParamType" />
33       <xs:element name="rsvp" type="xcal:rsvpParamType" />
34       <xs:element name="sent-by" type="xcal:sent-byParamType" />
35       <xs:element name="tzid" type="xcal:tzidParamType" />
36     </xs:choice>
37   </xs:complexType>
38  
39   <!-- 3.2.1 Alternate Text Representation -->
40   <xs:complexType name="altrepParamType">
41     <xs:sequence>
42       <xs:element ref="xcal:uri"/>
43     </xs:sequence>
44   </xs:complexType>
45  
46   <!-- 3.2.2 Common Name -->
47   <xs:simpleType name="cnParamType">
48     <xs:restriction base="xs:string"/>
49   </xs:simpleType>
50  
51   <!-- 3.2.3 Calendar User Type -->
52   <xs:simpleType name="cutypeParamType">
53     <xs:restriction base="xs:token">
54       <xs:enumeration value="INDIVIDUAL"/>
55       <xs:enumeration value="GROUP"/>
56       <xs:enumeration value="RESOURCE"/>
57       <xs:enumeration value="ROOM"/>
58       <xs:enumeration value="UNKNOWN"/>
59     </xs:restriction>
60   </xs:simpleType>
61  
62   <!-- 3.2.4 Delegators -->
63   <xs:complexType name="delegated-fromParamType">
64     <xs:sequence>
65       <xs:element ref="xcal:cal-address" maxOccurs="unbounded"/>
66     </xs:sequence>
67   </xs:complexType>
68
69   <!-- 3.2.5 Delegatees -->
70   <xs:complexType name="delegated-toParamType">
71     <xs:sequence>
72       <xs:element ref="xcal:cal-address" maxOccurs="unbounded"/>
73     </xs:sequence>
74   </xs:complexType>
75  
76   <!-- 3.2.6 Directory Entry Reference -->
77   <xs:complexType name="dirParamType">
78     <xs:sequence>
79       <xs:element name="dir" type="xcal:uriType"/>
80     </xs:sequence>
81   </xs:complexType>
82  
83   <!-- 3.2.7 Inline Encoding -->
84   <xs:simpleType name="encodingParamType">
85     <xs:restriction base="xs:token">
86       <xs:enumeration value="8BIT"/>
87       <xs:enumeration value="BASE64"/>
88     </xs:restriction>
89   </xs:simpleType>
90  
91   <!-- 3.2.8 Format Type -->
92   <xs:simpleType name="fmttypeParamType">
93     <xs:restriction base="xs:string"/>
94   </xs:simpleType>
95  
96   <!-- 3.2.9 Free/Busy Time Type -->
97   <xs:simpleType name="fbtypeParamType">
98     <xs:restriction base="xs:token">
99       <xs:enumeration value="FREE"/>
100       <xs:enumeration value="BUSY"/>
101       <xs:enumeration value="BUSY-UNAVAILABLE"/>
102       <xs:enumeration value="BUSY-TENTATIVE"/>
103     </xs:restriction>
104   </xs:simpleType>
105  
106   <!-- 3.2.10 Language -->
107   <xs:simpleType name="languageParamType">
108     <xs:restriction base="xs:string"/>
109   </xs:simpleType>
110  
111   <!-- 3.2.11 Group or List Membership -->
112   <xs:complexType name="memberParamType">
113     <xs:sequence>
114       <xs:element ref="xcal:cal-address" maxOccurs="unbounded"/>
115     </xs:sequence>
116   </xs:complexType>
117  
118   <!-- 3.2.12 Participation Status -->
119   <xs:simpleType name="partstatParamType">
120     <xs:union memberTypes="xcal:type-partstat-event xcal:type-partstat-todo xcal:type-partstat-jour"/>
121   </xs:simpleType>
122  
123   <xs:simpleType name="type-partstat-event">
124     <xs:restriction base="xs:token">
125       <xs:enumeration value="NEEDS-ACTION"/>
126       <xs:enumeration value="ACCEPTED"/>
127       <xs:enumeration value="DECLINED"/>
128       <xs:enumeration value="TENTATIVE"/>
129       <xs:enumeration value="DELEGATED"/>
130     </xs:restriction>
131   </xs:simpleType>
132  
133   <xs:simpleType name="type-partstat-todo">
134     <xs:restriction base="xs:token">
135       <xs:enumeration value="NEEDS-ACTION"/>
136       <xs:enumeration value="ACCEPTED"/>
137       <xs:enumeration value="DECLINED"/>
138       <xs:enumeration value="TENTATIVE"/>
139       <xs:enumeration value="DELEGATED"/>
140       <xs:enumeration value="COMPLETED"/>
141       <xs:enumeration value="IN-PROCESS"/>
142     </xs:restriction>
143   </xs:simpleType>
144  
145   <xs:simpleType name="type-partstat-jour">
146     <xs:restriction base="xs:token">
147       <xs:enumeration value="NEEDS-ACTION"/>
148       <xs:enumeration value="ACCEPTED"/>
149       <xs:enumeration value="DECLINED"/>
150     </xs:restriction>
151   </xs:simpleType>
152  
153   <!-- 3.2.13 Recurrence Identifier Range -->
154   <xs:simpleType name="rangeParamType">
155     <xs:restriction base="xs:token">
156       <xs:enumeration value="THISANDFUTURE"/>
157     </xs:restriction>
158   </xs:simpleType>
159  
160   <!-- 3.2.14 Alarm Trigger Relationship -->
161   <xs:simpleType name="relatedParamType">
162     <xs:restriction base="xs:token">
163       <xs:enumeration value="START"/>
164       <xs:enumeration value="END"/>
165     </xs:restriction>
166   </xs:simpleType>
167  
168   <!-- 3.2.15 Relationship Type -->
169   <xs:simpleType name="reltypeParamType">
170     <xs:restriction base="xs:token">
171       <xs:enumeration value="PARENT"/>
172       <xs:enumeration value="CHILD"/>
173       <xs:enumeration value="SIBLING"/>
174     </xs:restriction>
175   </xs:simpleType>
176  
177   <!-- 3.2.16 Participation Role -->
178   <xs:simpleType name="roleParamType">
179     <xs:restriction base="xs:token">
180       <xs:enumeration value="CHAIR"/>
181       <xs:enumeration value="REQ-PARTICIPANT"/>
182       <xs:enumeration value="OPT-PARTICIPANT"/>
183       <xs:enumeration value="NON-PARTICIPANT"/>
184     </xs:restriction>
185   </xs:simpleType>
186  
187   <!-- 3.2.17 RSVP Expectation -->
188   <xs:simpleType name="rsvpParamType">
189     <xs:restriction base="xs:token">
190       <xs:enumeration value="TRUE"/>
191       <xs:enumeration value="FALSE"/>
192     </xs:restriction>
193   </xs:simpleType>
194  
195   <!-- 3.2.18 Sent By -->
196   <xs:complexType name="sent-byParamType">
197     <xs:sequence>
198       <xs:element ref="xcal:cal-address"/>
199     </xs:sequence>
200   </xs:complexType>
201  
202   <!-- 3.2.19 Time Zone Identifier -->
203   <xs:simpleType name="tzidParamType">
204     <xs:restriction base="xs:string"/>
205   </xs:simpleType>
206 </xs:schema>
Note: See TracBrowser for help on using the browser.