anastasis

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

05-backup.json (5117B)


      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       "currency": "TESTKUDOS",
     55       "business_name": "Data loss #1 Inc.",
     56       "storage_limit_in_megabytes": 1,
     57       "provider_salt": "F0HEYJQW81ZAZ3VYMZHFG8T1Z0",
     58       "http_status": 200
     59     },
     60     "http://localhost:8087/": {
     61       "status" : "ok",
     62       "methods": [
     63         {
     64           "type": "question",
     65           "usage_fee": "TESTKUDOS:0"
     66         }
     67       ],
     68       "annual_fee": "TESTKUDOS:4.99",
     69       "truth_upload_fee": "TESTKUDOS:0.01",
     70       "liability_limit": "TESTKUDOS:1",
     71       "currency": "TESTKUDOS",
     72       "business_name": "Data loss #2 Inc.",
     73       "storage_limit_in_megabytes": 1,
     74       "provider_salt": "D378FWXHJB8JHPQFQRZGGV9PWG",
     75       "http_status": 200
     76     },
     77     "http://localhost:8088/": {
     78       "status" : "ok",
     79       "methods": [
     80         {
     81           "type": "question",
     82           "usage_fee": "TESTKUDOS:0"
     83         }
     84       ],
     85       "annual_fee": "TESTKUDOS:4.99",
     86       "truth_upload_fee": "TESTKUDOS:0.01",
     87       "liability_limit": "TESTKUDOS:1",
     88       "currency": "TESTKUDOS",
     89       "business_name": "Data loss #3 Inc.",
     90       "storage_limit_in_megabytes": 1,
     91       "provider_salt": "7W9W4A4TTWSWRPJ76RNDPJHSPR",
     92       "http_status": 200
     93     },
     94     "http://localhost:8089/": {
     95       "status" : "ok",
     96       "methods": [
     97         {
     98           "type": "question",
     99           "usage_fee": "TESTKUDOS:0"
    100         }
    101       ],
    102       "annual_fee": "TESTKUDOS:4.99",
    103       "truth_upload_fee": "TESTKUDOS:0.01",
    104       "liability_limit": "TESTKUDOS:1",
    105       "currency": "TESTKUDOS",
    106       "business_name": "Data loss #4 Inc.",
    107       "storage_limit_in_megabytes": 1,
    108       "provider_salt": "PN0VJF6KDSBYN40SGRCEXPB07M",
    109       "http_status": 200
    110     }
    111   },
    112   "selected_country": "xx",
    113   "currencies": [ "TESTKUDOS" ],
    114   "required_attributes": [
    115     {
    116       "type": "string",
    117       "name": "full_name",
    118       "label": "Full name",
    119       "label_i18n": {
    120         "de_DE": "Vollstaendiger Name",
    121         "de_CH": "Vollstaendiger Name"
    122       },
    123       "widget": "anastasis_gtk_ia_full_name"
    124     },
    125     {
    126       "type": "date",
    127       "name": "birthdate",
    128       "label": "Birthdate",
    129       "label_i18n": {
    130         "de_CH": "Geburtsdatum"
    131       },
    132       "widget": "anastasis_gtk_ia_birthdate"
    133     },
    134     {
    135       "type": "string",
    136       "name": "ahv_number",
    137       "label": "AHV number",
    138       "label_i18n": {
    139         "de_DE": "AHV-Nummer",
    140         "de_CH": "AHV-Nummer"
    141       },
    142       "widget": "anastasis_gtk_ia_ahv",
    143       "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
    144       "validation-logic": "CH_AHV_check"
    145     }
    146   ],
    147   "identity_attributes": {
    148     "full_name": "Max Musterman",
    149     "sq_number": 4,
    150     "birthdate": "2000-01-01"
    151   },
    152   "authentication_methods": [
    153     {
    154       "type": "question",
    155       "instructions": "What's your name?",
    156       "challenge": "Hans"
    157     },
    158     {
    159       "type": "question",
    160       "instructions": "What's your X name?",
    161       "challenge": "Hansx"
    162     },
    163     {
    164       "type": "question",
    165       "instructions": "Where do you live?",
    166       "challenge": "Mars"
    167     }
    168   ],
    169   "policies": [
    170     {
    171       "recovery_cost": "TESTKUDOS:0",
    172       "methods": [
    173         {
    174           "authentication_method": 0,
    175           "provider": "http://localhost:8089/"
    176         },
    177         {
    178           "authentication_method": 1,
    179           "provider": "http://localhost:8088/"
    180         }
    181       ]
    182     },
    183     {
    184       "recovery_cost": "TESTKUDOS:0",
    185       "methods": [
    186         {
    187           "authentication_method": 0,
    188           "provider": "http://localhost:8089/"
    189         },
    190         {
    191           "authentication_method": 2,
    192           "provider": "http://localhost:8088/"
    193         }
    194       ]
    195     },
    196     {
    197       "recovery_cost": "TESTKUDOS:0",
    198       "methods": [
    199         {
    200           "authentication_method": 1,
    201           "provider": "http://localhost:8089/"
    202         },
    203         {
    204           "authentication_method": 2,
    205           "provider": "http://localhost:8088/"
    206         }
    207       ]
    208     }
    209   ]
    210 }