anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

05-backup.json (5369B)


      1 {
      2   "continents": [
      3     "Europe",
      4     "North America",
      5     "Testcontinent"
      6   ],
      7   "backup_state": "POLICIES_REVIEWING",
      8   "reducer_type": "backup",
      9   "selected_continent": "Testcontinent",
     10   "countries": [
     11     {
     12       "code": "xx",
     13       "name": "Testland",
     14       "continent": "Testcontinent",
     15       "continent_i18n": {
     16         "xx": "Testkontinent"
     17       },
     18       "name_i18n": {
     19         "de_DE": "Testlandt",
     20         "de_CH": "Testlandi",
     21         "fr": "Testpais",
     22         "en": "Testland"
     23       },
     24       "currency": "TESTKUDOS"
     25     },
     26     {
     27       "code": "xy",
     28       "name": "Demoland",
     29       "continent": "Testcontinent",
     30       "continent_i18n": {
     31         "xx": "Testkontinent"
     32       },
     33       "name_i18n": {
     34         "de_DE": "Demolandt",
     35         "de_CH": "Demolandi",
     36         "fr": "Demopais",
     37         "en": "Demoland"
     38       },
     39       "currency": "KUDOS"
     40     }
     41   ],
     42   "authentication_providers": {
     43     "http://localhost:8086/": {
     44       "status" : "ok",
     45       "methods": [
     46         {
     47           "type": "question",
     48           "usage_fee": "TESTKUDOS:0"
     49         }
     50       ],
     51       "annual_fee": "TESTKUDOS:4.99",
     52       "truth_upload_fee": "TESTKUDOS:0.01",
     53       "liability_limit": "TESTKUDOS:1",
     54       "truth_lifetime": {
     55         "d_ms": 63115200000
     56       },
     57       "currency": "TESTKUDOS",
     58       "business_name": "Data loss #1 Inc.",
     59       "storage_limit_in_megabytes": 1,
     60       "provider_salt": "F0HEYJQW81ZAZ3VYMZHFG8T1Z0",
     61       "http_status": 200
     62     },
     63     "http://localhost:8087/": {
     64       "status" : "ok",
     65       "methods": [
     66         {
     67           "type": "question",
     68           "usage_fee": "TESTKUDOS:0"
     69         }
     70       ],
     71       "annual_fee": "TESTKUDOS:4.99",
     72       "truth_upload_fee": "TESTKUDOS:0.01",
     73       "liability_limit": "TESTKUDOS:1",
     74       "truth_lifetime": {
     75         "d_ms": 63115200000
     76       },
     77       "currency": "TESTKUDOS",
     78       "business_name": "Data loss #2 Inc.",
     79       "storage_limit_in_megabytes": 1,
     80       "provider_salt": "D378FWXHJB8JHPQFQRZGGV9PWG",
     81       "http_status": 200
     82     },
     83     "http://localhost:8088/": {
     84       "status" : "ok",
     85       "methods": [
     86         {
     87           "type": "question",
     88           "usage_fee": "TESTKUDOS:0"
     89         }
     90       ],
     91       "annual_fee": "TESTKUDOS:4.99",
     92       "truth_upload_fee": "TESTKUDOS:0.01",
     93       "liability_limit": "TESTKUDOS:1",
     94       "truth_lifetime": {
     95         "d_ms": 63115200000
     96       },
     97       "currency": "TESTKUDOS",
     98       "business_name": "Data loss #3 Inc.",
     99       "storage_limit_in_megabytes": 1,
    100       "provider_salt": "7W9W4A4TTWSWRPJ76RNDPJHSPR",
    101       "http_status": 200
    102     },
    103     "http://localhost:8089/": {
    104       "status" : "ok",
    105       "methods": [
    106         {
    107           "type": "question",
    108           "usage_fee": "TESTKUDOS:0"
    109         }
    110       ],
    111       "annual_fee": "TESTKUDOS:4.99",
    112       "truth_upload_fee": "TESTKUDOS:0.01",
    113       "liability_limit": "TESTKUDOS:1",
    114       "truth_lifetime": {
    115         "d_ms": 63115200000
    116       },
    117       "currency": "TESTKUDOS",
    118       "business_name": "Data loss #4 Inc.",
    119       "storage_limit_in_megabytes": 1,
    120       "provider_salt": "PN0VJF6KDSBYN40SGRCEXPB07M",
    121       "http_status": 200
    122     }
    123   },
    124   "selected_country": "xx",
    125   "currencies": [ "TESTKUDOS" ],
    126   "required_attributes": [
    127     {
    128       "type": "string",
    129       "name": "full_name",
    130       "label": "Full name",
    131       "label_i18n": {
    132         "de_DE": "Vollstaendiger Name",
    133         "de_CH": "Vollstaendiger Name"
    134       },
    135       "widget": "anastasis_gtk_ia_full_name"
    136     },
    137     {
    138       "type": "date",
    139       "name": "birthdate",
    140       "label": "Birthdate",
    141       "label_i18n": {
    142         "de_CH": "Geburtsdatum"
    143       },
    144       "widget": "anastasis_gtk_ia_birthdate"
    145     },
    146     {
    147       "type": "string",
    148       "name": "ahv_number",
    149       "label": "AHV number",
    150       "label_i18n": {
    151         "de_DE": "AHV-Nummer",
    152         "de_CH": "AHV-Nummer"
    153       },
    154       "widget": "anastasis_gtk_ia_ahv",
    155       "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
    156       "validation-logic": "CH_AVH_check"
    157     }
    158   ],
    159   "identity_attributes": {
    160     "full_name": "Max Musterman",
    161     "sq_number": 4,
    162     "birthdate": "2000-01-01"
    163   },
    164   "authentication_methods": [
    165     {
    166       "type": "question",
    167       "instructions": "What's your name?",
    168       "challenge": "Hans"
    169     },
    170     {
    171       "type": "question",
    172       "instructions": "What's your X name?",
    173       "challenge": "Hansx"
    174     },
    175     {
    176       "type": "question",
    177       "instructions": "Where do you live?",
    178       "challenge": "Mars"
    179     }
    180   ],
    181   "policies": [
    182     {
    183       "recovery_cost": "TESTKUDOS:0",
    184       "methods": [
    185         {
    186           "authentication_method": 0,
    187           "provider": "http://localhost:8089/"
    188         },
    189         {
    190           "authentication_method": 1,
    191           "provider": "http://localhost:8088/"
    192         }
    193       ]
    194     },
    195     {
    196       "recovery_cost": "TESTKUDOS:0",
    197       "methods": [
    198         {
    199           "authentication_method": 0,
    200           "provider": "http://localhost:8089/"
    201         },
    202         {
    203           "authentication_method": 2,
    204           "provider": "http://localhost:8088/"
    205         }
    206       ]
    207     },
    208     {
    209       "recovery_cost": "TESTKUDOS:0",
    210       "methods": [
    211         {
    212           "authentication_method": 1,
    213           "provider": "http://localhost:8089/"
    214         },
    215         {
    216           "authentication_method": 2,
    217           "provider": "http://localhost:8088/"
    218         }
    219       ]
    220     }
    221   ]
    222 }