anastasis

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

04-backup.json (3928B)


      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       "truth_lifetime": {
     36         "d_ms": 63115200000
     37       },
     38       "business_name": "Data loss #1 Inc.",
     39       "storage_limit_in_megabytes": 1,
     40       "provider_salt": "F0HEYJQW81ZAZ3VYMZHFG8T1Z0",
     41       "http_status": 200
     42     },
     43     "http://localhost:8087/": {
     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       "business_name": "Data loss #2 Inc.",
     58       "storage_limit_in_megabytes": 1,
     59       "provider_salt": "D378FWXHJB8JHPQFQRZGGV9PWG",
     60       "http_status": 200
     61     },
     62     "http://localhost:8088/": {
     63       "status" : "ok",
     64       "methods": [
     65         {
     66           "type": "question",
     67           "usage_fee": "TESTKUDOS:0"
     68         }
     69       ],
     70       "annual_fee": "TESTKUDOS:4.99",
     71       "truth_upload_fee": "TESTKUDOS:0.01",
     72       "liability_limit": "TESTKUDOS:1",
     73       "truth_lifetime": {
     74         "d_ms": 63115200000
     75       },
     76       "business_name": "Data loss #3 Inc.",
     77       "storage_limit_in_megabytes": 1,
     78       "provider_salt": "7W9W4A4TTWSWRPJ76RNDPJHSPR",
     79       "http_status": 200
     80     },
     81     "http://localhost:8089/": {
     82       "status" : "ok",
     83       "methods": [
     84         {
     85           "type": "question",
     86           "usage_fee": "TESTKUDOS:0"
     87         }
     88       ],
     89       "annual_fee": "TESTKUDOS:4.99",
     90       "truth_upload_fee": "TESTKUDOS:0.01",
     91       "liability_limit": "TESTKUDOS:1",
     92       "truth_lifetime": {
     93         "d_ms": 63115200000
     94       },
     95       "business_name": "Data loss #4 Inc.",
     96       "storage_limit_in_megabytes": 1,
     97       "provider_salt": "PN0VJF6KDSBYN40SGRCEXPB07M",
     98       "http_status": 200
     99     }
    100   },
    101   "selected_country": "xx",
    102   "currencies": [ "TESTKUDOS" ],
    103   "required_attributes": [
    104     {
    105       "type": "string",
    106       "name": "full_name",
    107       "label": "Full name",
    108       "label_i18n": {
    109         "de_DE": "Vollstaendiger Name",
    110         "de_CH": "Vollstaendiger Name"
    111       },
    112       "widget": "anastasis_gtk_ia_full_name"
    113     },
    114     {
    115       "type": "date",
    116       "name": "birthdate",
    117       "label": "Birthdate",
    118       "label_i18n": {
    119         "de_CH": "Geburtsdatum"
    120       },
    121       "widget": "anastasis_gtk_ia_birthdate"
    122     },
    123     {
    124       "type": "string",
    125       "name": "ahv_number",
    126       "label": "AHV number",
    127       "label_i18n": {
    128         "de_DE": "AHV-Nummer",
    129         "de_CH": "AHV-Nummer"
    130       },
    131       "widget": "anastasis_gtk_ia_ahv",
    132       "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
    133       "validation-logic": "CH_AVH_check"
    134     }
    135   ],
    136   "identity_attributes": {
    137     "full_name": "Max Musterman",
    138     "sq_number": 4,
    139     "birthdate": "2000-01-01"
    140   },
    141   "authentication_methods": [
    142     {
    143       "type": "question",
    144       "instructions": "What's your name?",
    145       "challenge": "Hans"
    146     },
    147     {
    148       "type": "question",
    149       "instructions": "What's your X name?",
    150       "challenge": "Hansx"
    151     },
    152     {
    153       "type": "question",
    154       "instructions": "Where do you live?",
    155       "challenge": "Mars"
    156     }
    157   ]
    158 }