Init basesystem source codes.
[staging/basesystem.git] / nsframework / backup_manager / config / backup.rng
1 <element name="backup" xmlns="http://relaxng.org/ns/structure/1.0">
2   <zeroOrMore>
3     <element name="category" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
4       <attribute name="name">
5         <data type="Name">
6           <param name="maxLength">64</param>
7         </data>
8       </attribute>
9       <choice>
10         <!-- NAND -->
11         <group>
12           <attribute name="nand">
13             <choice>
14               <value type="boolean">true</value>
15             </choice>
16           </attribute>
17           <optional>
18             <attribute name="cacheDram">
19               <data type="boolean"/>
20             </attribute>
21           </optional>
22           <optional>
23             <attribute name="backupDram">
24               <data type="boolean"/>
25             </attribute>
26           </optional>
27           <attribute name="sync">
28             <data type="boolean"/>
29           </attribute>
30           <optional>
31             <attribute name="backupCycle">
32               <data type="positiveInteger"/>
33             </attribute>
34           </optional>
35           <attribute name="encrypt">
36             <data type="boolean"/>
37           </attribute>
38         </group>
39         <!-- CacheDRAM -->
40         <group>
41           <attribute name="cacheDram">
42             <choice>
43               <value type="boolean">true</value>
44             </choice>
45           </attribute>
46           <optional>
47             <attribute name="nand">
48               <choice>
49                 <value type="boolean">false</value>
50               </choice>
51             </attribute>
52           </optional>
53           <optional>
54             <attribute name="backupDram">
55               <choice>
56                 <value type="boolean">false</value>
57               </choice>
58             </attribute>
59           </optional>
60           <optional>
61             <attribute name="sync">
62               <choice>
63                 <value type="boolean">false</value>
64               </choice>
65             </attribute>
66           </optional>
67           <attribute name="encrypt">
68             <data type="boolean"/>
69           </attribute>
70         </group>
71         <!-- BackupDRAM -->
72         <group>
73           <attribute name="backupDram">
74             <choice>
75               <value type="boolean">true</value>
76             </choice>
77           </attribute>
78           <optional>
79             <attribute name="nand">
80               <choice>
81                 <value type="boolean">false</value>
82               </choice>
83             </attribute>
84           </optional>
85           <optional>
86             <attribute name="cacheDram">
87               <choice>
88                 <value type="boolean">false</value>
89               </choice>
90             </attribute>
91           </optional>
92           <optional>
93             <attribute name="sync">
94               <choice>
95                 <value type="boolean">false</value>
96               </choice>
97             </attribute>
98           </optional>
99           <attribute name="encrypt">
100             <data type="boolean"/>
101           </attribute>
102         </group>
103       </choice>
104       <zeroOrMore>
105         <element name="item">
106           <attribute name="name">
107             <data type="Name">
108               <param name="maxLength">64</param>
109             </data>
110           </attribute>
111           <attribute name="id">
112             <data type="positiveInteger">
113               <param name="maxInclusive">32767</param>
114             </data>
115           </attribute>
116           <attribute name="size">
117             <data type="positiveInteger"/>
118           </attribute>
119         </element>
120       </zeroOrMore>
121     </element>
122   </zeroOrMore>
123 </element>