aboutsummaryrefslogtreecommitdiff
path: root/src/cli/resources/04-backup.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/resources/04-backup.json')
-rw-r--r--src/cli/resources/04-backup.json172
1 files changed, 172 insertions, 0 deletions
diff --git a/src/cli/resources/04-backup.json b/src/cli/resources/04-backup.json
new file mode 100644
index 0000000..15c329a
--- /dev/null
+++ b/src/cli/resources/04-backup.json
@@ -0,0 +1,172 @@
1{
2 "continents": [
3 "Europe",
4 "North America",
5 "Testcontinent"
6 ],
7 "backup_state": "AUTHENTICATIONS_EDITING",
8 "selected_continent": "Testcontinent",
9 "countries": [
10 {
11 "code": "xx",
12 "name": "Testland",
13 "continent": "Testcontinent",
14 "continent_i18n": {
15 "xx": "Testkontinent"
16 },
17 "name_i18n": {
18 "de_DE": "Testlandt",
19 "de_CH": "Testlandi",
20 "fr": "Testpais",
21 "en": "Testland"
22 },
23 "currency": "TESTKUDOS"
24 },
25 {
26 "code": "xy",
27 "name": "Demoland",
28 "continent": "Testcontinent",
29 "continent_i18n": {
30 "xx": "Testkontinent"
31 },
32 "name_i18n": {
33 "de_DE": "Demolandt",
34 "de_CH": "Demolandi",
35 "fr": "Demopais",
36 "en": "Demoland"
37 },
38 "currency": "KUDOS"
39 }
40 ],
41 "authentication_providers": {
42 "http://localhost:8086/": {
43 "methods": [
44 {
45 "type": "question",
46 "usage_fee": "TESTKUDOS:0"
47 }
48 ],
49 "annual_fee": "TESTKUDOS:4.99",
50 "truth_upload_fee": "TESTKUDOS:0.01",
51 "liability_limit": "TESTKUDOS:1",
52 "truth_lifetime": {
53 "d_ms": 63115200000
54 },
55 "currency": "TESTKUDOS",
56 "business_name": "Data loss #1 Inc.",
57 "storage_limit_in_megabytes": 1,
58 "salt": "F0HEYJQW81ZAZ3VYMZHFG8T1Z0"
59 },
60 "http://localhost:8087/": {
61 "methods": [
62 {
63 "type": "question",
64 "usage_fee": "TESTKUDOS:0"
65 }
66 ],
67 "annual_fee": "TESTKUDOS:4.99",
68 "truth_upload_fee": "TESTKUDOS:0.01",
69 "liability_limit": "TESTKUDOS:1",
70 "truth_lifetime": {
71 "d_ms": 63115200000
72 },
73 "currency": "TESTKUDOS",
74 "business_name": "Data loss #2 Inc.",
75 "storage_limit_in_megabytes": 1,
76 "salt": "D378FWXHJB8JHPQFQRZGGV9PWG"
77 },
78 "http://localhost:8088/": {
79 "methods": [
80 {
81 "type": "question",
82 "usage_fee": "TESTKUDOS:0"
83 }
84 ],
85 "annual_fee": "TESTKUDOS:4.99",
86 "truth_upload_fee": "TESTKUDOS:0.01",
87 "liability_limit": "TESTKUDOS:1",
88 "truth_lifetime": {
89 "d_ms": 63115200000
90 },
91 "currency": "TESTKUDOS",
92 "business_name": "Data loss #3 Inc.",
93 "storage_limit_in_megabytes": 1,
94 "salt": "7W9W4A4TTWSWRPJ76RNDPJHSPR"
95 },
96 "http://localhost:8089/": {
97 "methods": [
98 {
99 "type": "question",
100 "usage_fee": "TESTKUDOS:0"
101 }
102 ],
103 "annual_fee": "TESTKUDOS:4.99",
104 "truth_upload_fee": "TESTKUDOS:0.01",
105 "liability_limit": "TESTKUDOS:1",
106 "truth_lifetime": {
107 "d_ms": 63115200000
108 },
109 "currency": "TESTKUDOS",
110 "business_name": "Data loss #4 Inc.",
111 "storage_limit_in_megabytes": 1,
112 "salt": "PN0VJF6KDSBYN40SGRCEXPB07M"
113 }
114 },
115 "selected_country": "xx",
116 "currencies": [ "TESTKUDOS" ],
117 "required_attributes": [
118 {
119 "type": "string",
120 "name": "full_name",
121 "label": "Full name",
122 "label_i18n": {
123 "de_DE": "Vollstaendiger Name",
124 "de_CH": "Vollstaendiger Name"
125 },
126 "widget": "anastasis_gtk_ia_full_name"
127 },
128 {
129 "type": "date",
130 "name": "birthdate",
131 "label": "Birthdate",
132 "label_i18n": {
133 "de_CH": "Geburtsdatum"
134 },
135 "widget": "anastasis_gtk_ia_birthdate"
136 },
137 {
138 "type": "string",
139 "name": "ahv_number",
140 "label": "AHV number",
141 "label_i18n": {
142 "de_DE": "AHV-Nummer",
143 "de_CH": "AHV-Nummer"
144 },
145 "widget": "anastasis_gtk_ia_ahv",
146 "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
147 "validation-logic": "CH_AVH_check"
148 }
149 ],
150 "identity_attributes": {
151 "full_name": "Max Musterman",
152 "sq_number": 4,
153 "birthdate": "2000-01-01"
154 },
155 "authentication_methods": [
156 {
157 "type": "question",
158 "instructions": "What's your name?",
159 "challenge": "Hans"
160 },
161 {
162 "type": "question",
163 "instructions": "What's your X name?",
164 "challenge": "Hansx"
165 },
166 {
167 "type": "question",
168 "instructions": "Where do you live?",
169 "challenge": "Mars"
170 }
171 ]
172}