anastasis

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

04-backup.json (3676B)


      1 {
      2   "continents": [
      3     "Europe",
      4     "North America",
      5     "Demoworld"
      6   ],
      7   "backup_state": "AUTHENTICATIONS_EDITING",
      8   "reducer_type": "backup",
      9   "selected_continent": "Demoworld",
     10   "countries": [
     11     {
     12       "code": "xx",
     13       "name": "Testland",
     14       "continent": "Demoworld",
     15       "name_i18n": {
     16         "de_DE": "Testlandt",
     17         "de_CH": "Testlandi",
     18         "fr": "Testpais",
     19         "en": "Testland"
     20       }
     21     }
     22   ],
     23   "authentication_providers": {
     24     "http://localhost:8086/": {
     25       "status" : "ok",
     26       "methods": [
     27         {
     28           "type": "question",
     29           "usage_fee": "TESTKUDOS:0"
     30         }
     31       ],
     32       "annual_fee": "TESTKUDOS:4.99",
     33       "truth_upload_fee": "TESTKUDOS:0.01",
     34       "liability_limit": "TESTKUDOS:1",
     35       "business_name": "Data loss #1 Inc.",
     36       "storage_limit_in_megabytes": 1,
     37       "provider_salt": "F0HEYJQW81ZAZ3VYMZHFG8T1Z0",
     38       "http_status": 200
     39     },
     40     "http://localhost:8087/": {
     41       "status" : "ok",
     42       "methods": [
     43         {
     44           "type": "question",
     45           "usage_fee": "TESTKUDOS:0"
     46         }
     47       ],
     48       "annual_fee": "TESTKUDOS:4.99",
     49       "truth_upload_fee": "TESTKUDOS:0.01",
     50       "liability_limit": "TESTKUDOS:1",
     51       "business_name": "Data loss #2 Inc.",
     52       "storage_limit_in_megabytes": 1,
     53       "provider_salt": "D378FWXHJB8JHPQFQRZGGV9PWG",
     54       "http_status": 200
     55     },
     56     "http://localhost:8088/": {
     57       "status" : "ok",
     58       "methods": [
     59         {
     60           "type": "question",
     61           "usage_fee": "TESTKUDOS:0"
     62         }
     63       ],
     64       "annual_fee": "TESTKUDOS:4.99",
     65       "truth_upload_fee": "TESTKUDOS:0.01",
     66       "liability_limit": "TESTKUDOS:1",
     67       "business_name": "Data loss #3 Inc.",
     68       "storage_limit_in_megabytes": 1,
     69       "provider_salt": "7W9W4A4TTWSWRPJ76RNDPJHSPR",
     70       "http_status": 200
     71     },
     72     "http://localhost:8089/": {
     73       "status" : "ok",
     74       "methods": [
     75         {
     76           "type": "question",
     77           "usage_fee": "TESTKUDOS:0"
     78         }
     79       ],
     80       "annual_fee": "TESTKUDOS:4.99",
     81       "truth_upload_fee": "TESTKUDOS:0.01",
     82       "liability_limit": "TESTKUDOS:1",
     83       "business_name": "Data loss #4 Inc.",
     84       "storage_limit_in_megabytes": 1,
     85       "provider_salt": "PN0VJF6KDSBYN40SGRCEXPB07M",
     86       "http_status": 200
     87     }
     88   },
     89   "selected_country": "xx",
     90   "currencies": [ "TESTKUDOS" ],
     91   "required_attributes": [
     92     {
     93       "type": "string",
     94       "name": "full_name",
     95       "label": "Full name",
     96       "label_i18n": {
     97         "de_DE": "Vollstaendiger Name",
     98         "de_CH": "Vollstaendiger Name"
     99       },
    100       "widget": "anastasis_gtk_ia_full_name"
    101     },
    102     {
    103       "type": "date",
    104       "name": "birthdate",
    105       "label": "Birthdate",
    106       "label_i18n": {
    107         "de_CH": "Geburtsdatum"
    108       },
    109       "widget": "anastasis_gtk_ia_birthdate"
    110     },
    111     {
    112       "type": "string",
    113       "name": "ahv_number",
    114       "label": "AHV number",
    115       "label_i18n": {
    116         "de_DE": "AHV-Nummer",
    117         "de_CH": "AHV-Nummer"
    118       },
    119       "widget": "anastasis_gtk_ia_ahv",
    120       "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
    121       "validation-logic": "CH_AHV_check"
    122     }
    123   ],
    124   "identity_attributes": {
    125     "full_name": "Max Musterman",
    126     "sq_number": 4,
    127     "birthdate": "2000-01-01"
    128   },
    129   "authentication_methods": [
    130     {
    131       "type": "question",
    132       "instructions": "What's your name?",
    133       "challenge": "Hans"
    134     },
    135     {
    136       "type": "question",
    137       "instructions": "What's your X name?",
    138       "challenge": "Hansx"
    139     },
    140     {
    141       "type": "question",
    142       "instructions": "Where do you live?",
    143       "challenge": "Mars"
    144     }
    145   ]
    146 }