aboutsummaryrefslogtreecommitdiff
path: root/src/cli/resources/03-backup.json
blob: 838b669c109ef9391185cbb8deb38d944e82f2fa (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
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
{
  "continents": [
    "Europe",
    "North America",
    "Testcontinent"
  ],
  "backup_state": "AUTHENTICATIONS_EDITING",
  "reducer_type": "backup",
  "selected_continent": "Testcontinent",
  "countries": [
    {
      "code": "xx",
      "name": "Testland",
      "continent": "Testcontinent",
      "continent_i18n": {
        "xx": "Testkontinent"
      },
      "name_i18n": {
        "de_DE": "Testlandt",
        "de_CH": "Testlandi",
        "fr": "Testpais",
        "en": "Testland"
      },
      "currency": "TESTKUDOS"
    },
    {
      "code": "xy",
      "name": "Demoland",
      "continent": "Testcontinent",
      "continent_i18n": {
        "xx": "Testkontinent"
      },
      "name_i18n": {
        "de_DE": "Demolandt",
        "de_CH": "Demolandi",
        "fr": "Demopais",
        "en": "Demoland"
      },
      "currency": "KUDOS"
    }
  ],
  "authentication_providers": {
    "http://localhost:8086/": {
      "status" : "ok",
      "methods": [
        {
          "type": "question",
          "usage_fee": "TESTKUDOS:0"
        }
      ],
      "annual_fee": "TESTKUDOS:4.99",
      "truth_upload_fee": "TESTKUDOS:0.01",
      "liability_limit": "TESTKUDOS:1",
      "truth_lifetime": {
        "d_ms": 63115200000
      },
      "currency": "TESTKUDOS",
      "business_name": "Data loss #1 Inc.",
      "storage_limit_in_megabytes": 1,
      "provider_salt": "F0HEYJQW81ZAZ3VYMZHFG8T1Z0",
      "http_status": 200
    },
    "http://localhost:8087/": {
      "status" : "ok",
      "methods": [
        {
          "type": "question",
          "usage_fee": "TESTKUDOS:0"
        }
      ],
      "annual_fee": "TESTKUDOS:4.99",
      "truth_upload_fee": "TESTKUDOS:0.01",
      "liability_limit": "TESTKUDOS:1",
      "truth_lifetime": {
        "d_ms": 63115200000
      },
      "currency": "TESTKUDOS",
      "business_name": "Data loss #2 Inc.",
      "storage_limit_in_megabytes": 1,
      "provider_salt": "D378FWXHJB8JHPQFQRZGGV9PWG",
      "http_status": 200
    },
    "http://localhost:8088/": {
      "status" : "ok",
      "methods": [
        {
          "type": "question",
          "usage_fee": "TESTKUDOS:0"
        }
      ],
      "annual_fee": "TESTKUDOS:4.99",
      "truth_upload_fee": "TESTKUDOS:0.01",
      "liability_limit": "TESTKUDOS:1",
      "truth_lifetime": {
        "d_ms": 63115200000
      },
      "currency": "TESTKUDOS",
      "business_name": "Data loss #3 Inc.",
      "storage_limit_in_megabytes": 1,
      "provider_salt": "7W9W4A4TTWSWRPJ76RNDPJHSPR",
      "http_status": 200
    },
    "http://localhost:8089/": {
      "status" : "ok",
      "methods": [
        {
          "type": "question",
          "usage_fee": "TESTKUDOS:0"
        }
      ],
      "annual_fee": "TESTKUDOS:4.99",
      "truth_upload_fee": "TESTKUDOS:0.01",
      "liability_limit": "TESTKUDOS:1",
      "truth_lifetime": {
        "d_ms": 63115200000
      },
      "currency": "TESTKUDOS",
      "business_name": "Data loss #4 Inc.",
      "storage_limit_in_megabytes": 1,
      "provider_salt": "PN0VJF6KDSBYN40SGRCEXPB07M",
      "http_status": 200
    }
  },
  "selected_country": "xx",
  "currencies": ["TESTKUDOS"],
  "required_attributes": [
    {
      "type": "string",
      "name": "full_name",
      "label": "Full name",
      "label_i18n": {
        "de_DE": "Vollstaendiger Name",
        "de_CH": "Vollstaendiger Name"
      },
      "widget": "anastasis_gtk_ia_full_name"
    },
    {
      "type": "date",
      "name": "birthdate",
      "label": "Birthdate",
      "label_i18n": {
        "de_CH": "Geburtsdatum"
      },
      "widget": "anastasis_gtk_ia_birthdate"
    },
    {
      "type": "string",
      "name": "ahv_number",
      "label": "AHV number",
      "label_i18n": {
        "de_DE": "AHV-Nummer",
        "de_CH": "AHV-Nummer"
      },
      "widget": "anastasis_gtk_ia_ahv",
      "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
      "validation-logic": "CH_AVH_check"
    }
  ],
  "identity_attributes": {
    "full_name": "Max Musterman",
    "sq_number": 4,
    "birthdate": "2000-01-01"
  }
}