anastasis

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

03-backup.json (3281B)


      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   "required_attributes": [
     91     {
     92       "type": "string",
     93       "name": "full_name",
     94       "label": "Full name",
     95       "label_i18n": {
     96         "de_DE": "Vollstaendiger Name",
     97         "de_CH": "Vollstaendiger Name"
     98       },
     99       "widget": "anastasis_gtk_ia_full_name"
    100     },
    101     {
    102       "type": "date",
    103       "name": "birthdate",
    104       "label": "Birthdate",
    105       "label_i18n": {
    106         "de_CH": "Geburtsdatum"
    107       },
    108       "widget": "anastasis_gtk_ia_birthdate"
    109     },
    110     {
    111       "type": "string",
    112       "name": "ahv_number",
    113       "label": "AHV number",
    114       "label_i18n": {
    115         "de_DE": "AHV-Nummer",
    116         "de_CH": "AHV-Nummer"
    117       },
    118       "widget": "anastasis_gtk_ia_ahv",
    119       "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
    120       "validation-logic": "CH_AHV_check"
    121     }
    122   ],
    123   "identity_attributes": {
    124     "full_name": "Max Musterman",
    125     "sq_number": 4,
    126     "birthdate": "2000-01-01"
    127   }
    128 }