summaryrefslogtreecommitdiffstats
path: root/nsframework/backup_manager/config/backup.rng
blob: 6c9822b34741674a9be007eda3615ca3b87d1635 (plain)
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
<element name="backup" xmlns="http://relaxng.org/ns/structure/1.0">
  <zeroOrMore>
    <element name="category" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
      <attribute name="name">
	<data type="Name">
	  <param name="maxLength">64</param>
	</data>
      </attribute>
      <choice>
	<!-- NAND -->
	<group>
	  <attribute name="nand">
	    <choice>
	      <value type="boolean">true</value>
	    </choice>
	  </attribute>
	  <optional>
	    <attribute name="cacheDram">
	      <data type="boolean"/>
	    </attribute>
	  </optional>
	  <optional>
	    <attribute name="backupDram">
	      <data type="boolean"/>
	    </attribute>
	  </optional>
	  <attribute name="sync">
	    <data type="boolean"/>
	  </attribute>
	  <optional>
	    <attribute name="backupCycle">
	      <data type="positiveInteger"/>
	    </attribute>
	  </optional>
	  <attribute name="encrypt">
	    <data type="boolean"/>
	  </attribute>
	</group>
	<!-- CacheDRAM -->
	<group>
	  <attribute name="cacheDram">
	    <choice>
	      <value type="boolean">true</value>
	    </choice>
	  </attribute>
	  <optional>
	    <attribute name="nand">
	      <choice>
		<value type="boolean">false</value>
	      </choice>
	    </attribute>
	  </optional>
	  <optional>
	    <attribute name="backupDram">
	      <choice>
		<value type="boolean">false</value>
	      </choice>
	    </attribute>
	  </optional>
	  <optional>
	    <attribute name="sync">
	      <choice>
		<value type="boolean">false</value>
	      </choice>
	    </attribute>
	  </optional>
	  <attribute name="encrypt">
	    <data type="boolean"/>
	  </attribute>
	</group>
	<!-- BackupDRAM -->
	<group>
	  <attribute name="backupDram">
	    <choice>
	      <value type="boolean">true</value>
	    </choice>
	  </attribute>
	  <optional>
	    <attribute name="nand">
	      <choice>
		<value type="boolean">false</value>
	      </choice>
	    </attribute>
	  </optional>
	  <optional>
	    <attribute name="cacheDram">
	      <choice>
		<value type="boolean">false</value>
	      </choice>
	    </attribute>
	  </optional>
	  <optional>
	    <attribute name="sync">
	      <choice>
		<value type="boolean">false</value>
	      </choice>
	    </attribute>
	  </optional>
	  <attribute name="encrypt">
	    <data type="boolean"/>
	  </attribute>
	</group>
      </choice>
      <zeroOrMore>
	<element name="item">
	  <attribute name="name">
	    <data type="Name">
	      <param name="maxLength">64</param>
	    </data>
	  </attribute>
	  <attribute name="id">
	    <data type="positiveInteger">
	      <param name="maxInclusive">32767</param>
	    </data>
	  </attribute>
	  <attribute name="size">
	    <data type="positiveInteger"/>
	  </attribute>
	</element>
      </zeroOrMore>
    </element>
  </zeroOrMore>
</element>