File: backup.xsd

package info (click to toggle)
quantum 2012.1-5%2Bdeb70u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,028 kB
  • sloc: python: 19,594; xml: 2,611; sh: 485; makefile: 105
file content (378 lines) | stat: -rw-r--r-- 11,614 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../xslt/schema.xsl"?>

<!-- (C) 2009-2011 Rackspace Hosting, All Rights Reserved -->

<schema
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:csapi="http://docs.openstack.org/compute/api/v1.1"
    xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://docs.openstack.org/compute/api/v1.1"
>

  <annotation>
    <xsd:appinfo
        xml:lang="EN"
        xmlns="http://www.w3.org/1999/xhtml">
      <xsdxt:title>Backup Schedule</xsdxt:title>
      <xsdxt:link rel="index" href="api.xsd" />
    </xsd:appinfo>
    <xsd:documentation
        xml:lang="EN"
        xmlns="http://www.w3.org/1999/xhtml">
      <p>
        This schema file defines all entities related to <a
        href="#type_BackupSchedule" title="See definition of
        BackupSchedule">Backup Schedules</a>.
      </p>
    </xsd:documentation>
  </annotation>

  <element name="backupSchedule" type="csapi:BackupSchedule">
    <annotation>
      <xsd:documentation
          xml:lang="EN"
          xmlns="http://www.w3.org/1999/xhtml">
        <p>
          This element is used to create periodic daily and weekly
          images automatically.
        </p>
      </xsd:documentation>
      <xsd:appinfo>
        <xsdxt:samples>
          <xsdxt:sample>
            <xsdxt:code type="application/xml" href="../samples/backup.xml" />
          </xsdxt:sample>
          <xsdxt:sample>
            <xsdxt:code type="application/json" href="../samples/backup.json" />
          </xsdxt:sample>
        </xsdxt:samples>
      </xsd:appinfo>
    </annotation>
  </element>

  <!-- Complex Types -->
  <complexType name="BackupSchedule">
    <sequence>
        <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
    </sequence>
    <attribute type="xsd:boolean" name="enabled" use="required">
      <annotation>
        <xsd:documentation
            xml:lang="EN"
            xmlns="http://www.w3.org/1999/xhtml">
          <p>
            If true, both daily and weekly backup schedules are
            disabled.
          </p>
        </xsd:documentation>
      </annotation>
    </attribute>
    <attribute type="csapi:WeeklyBackup" name="weekly" use="required">
      <annotation>
        <xsd:documentation
            xml:lang="EN"
            xmlns="http://www.w3.org/1999/xhtml">
          <p>
            A <a href="#type_WeeklyBackup" title="See definition of
            WeeklyBackup">WeeklyBackup</a> type that describes the day
            of the week in which to perform a weekly backup or
            DISABLED if weekly backups are disabled.
          </p>
        </xsd:documentation>
      </annotation>
    </attribute>
    <attribute type="csapi:DailyBackup" name="daily" use="required">
      <annotation>
        <xsd:documentation
            xml:lang="EN"
            xmlns="http://www.w3.org/1999/xhtml">
          <p>
            A <a href="#type_DailyBackup" title="See definition of
            DailyBackup">DailyBackup</a> type that describes an hour
            range in which to perform a daily backup or DISABLED if
            daily backups are disabled.
          </p>
        </xsd:documentation>
      </annotation>
    </attribute>
    <anyAttribute namespace="##other" processContents="lax"/>
  </complexType>

  <!-- Simple Types -->
  <simpleType name="DailyBackup">
    <annotation>
      <xsd:documentation
          xml:lang="EN"
          xmlns="http://www.w3.org/1999/xhtml">
        <p>
          A target GMT hour range in which to perform a daily backup
          or DISABLED if daily backups are disabled.
        </p>
      </xsd:documentation>
    </annotation>
    <restriction base="xsd:string">
      <enumeration value="DISABLED">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backups are disabled.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_0000_0200">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 00:00&#x2013;02:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_0200_0400">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 02:00&#x2013;04:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_0400_0600">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 04:00&#x2013;06:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_0600_0800">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 06:00&#x2013;08:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_0800_1000">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 08:00&#x2013;10:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_1000_1200">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 10:00&#x2013;12:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_1200_1400">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 12:00&#x2013;14:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_1400_1600">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 14:00&#x2013;16:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_1600_1800">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 16:00&#x2013;18:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_1800_2000">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 18:00&#x2013;20:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_2000_2200">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 20:00&#x2013;22:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="H_2200_0000">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Daily backup target of 22:00&#x2013;00:00 GMT.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>

  <simpleType name="WeeklyBackup">
    <annotation>
      <xsd:documentation
          xml:lang="EN"
          xmlns="http://www.w3.org/1999/xhtml">
        <p>
          A target day of the week in which to perform a weekly backup
          or DISABLED if daily backups are disabled.
        </p>
      </xsd:documentation>
    </annotation>
    <restriction base="xsd:string">
      <enumeration value="DISABLED">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              Weekly backups are disabled.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="SUNDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Sunday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="MONDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Monday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="TUESDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Tuesday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="WEDNESDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Wednesday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="THURSDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Thursday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="FRIDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Friday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="SATURDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Saturday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
      <enumeration value="SUNDAY">
        <annotation>
          <xsd:documentation
              xml:lang="EN"
              xmlns="http://www.w3.org/1999/xhtml">
            <p>
              A weekly backup target of Sunday.
            </p>
          </xsd:documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>
</schema>