anastasis

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

06-backup.json (5315B)


      1 {
      2   "continents": [
      3     "Europe",
      4     "North America",
      5     "Testcontinent"
      6   ],
      7   "backup_state": "SECRET_EDITING",
      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     "ahv_number": "756.9217.0769.85",
    150     "birth_year": 2000,
    151     "birth_month": 1,
    152     "birth_day": 1
    153   },
    154   "authentication_methods": [
    155     {
    156       "type": "question",
    157       "instructions": "What's your name?",
    158       "challenge": "Hans"
    159     },
    160     {
    161       "type": "question",
    162       "instructions": "What's your X name?",
    163       "challenge": "Hansx"
    164     },
    165     {
    166       "type": "question",
    167       "instructions": "Where do you live?",
    168       "challenge": "Mars"
    169     }
    170   ],
    171     "policy_providers" : [
    172     {
    173       "provider_url": "http://localhost:8089/"
    174     },
    175     {
    176       "provider_url": "http://localhost:8089/"
    177     }
    178   ],
    179   "policies": [
    180     {
    181       "recovery_cost": "TESTKUDOS:0",
    182       "methods": [
    183         {
    184           "authentication_method": 0,
    185           "provider": "http://localhost:8089/"
    186         },
    187         {
    188           "authentication_method": 1,
    189           "provider": "http://localhost:8088/"
    190         }
    191       ]
    192     },
    193     {
    194       "recovery_cost": "TESTKUDOS:0",
    195       "methods": [
    196         {
    197           "authentication_method": 0,
    198           "provider": "http://localhost:8089/"
    199         },
    200         {
    201           "authentication_method": 2,
    202           "provider": "http://localhost:8088/"
    203         }
    204       ]
    205     },
    206     {
    207       "recovery_cost": "TESTKUDOS:0",
    208       "methods": [
    209         {
    210           "authentication_method": 1,
    211           "provider": "http://localhost:8089/"
    212         },
    213         {
    214           "authentication_method": 2,
    215           "provider": "http://localhost:8088/"
    216         }
    217       ]
    218     }
    219   ]
    220 }