summaryrefslogtreecommitdiffstats
path: root/service/native/backup_manager/config/backup.rng
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-20 23:36:23 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-22 09:02:55 +0900
commit17cf21bcf8a2e29d2cbcf0a313474d2a4ee44f5d (patch)
tree582a9768558d9eaf261ca5df6136e9de54c95816 /service/native/backup_manager/config/backup.rng
parent9e86046cdb356913ae026f616e5bf17f6f238aa5 (diff)
Re-organized sub-directory by category
Since all the sub-directories were placed in the first level, created sub-directories, "hal", "module", and "service" for classification and relocated each component. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: Ifdf743ac0d1893bd8e445455cf0d2c199a011d5c
Diffstat (limited to 'service/native/backup_manager/config/backup.rng')
-rwxr-xr-xservice/native/backup_manager/config/backup.rng123
1 files changed, 123 insertions, 0 deletions
diff --git a/service/native/backup_manager/config/backup.rng b/service/native/backup_manager/config/backup.rng
new file mode 100755
index 0000000..6c9822b
--- /dev/null
+++ b/service/native/backup_manager/config/backup.rng
@@ -0,0 +1,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>