anastasis

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

05-backup.json (4940B)


      1 {
      2   "reducer_type": "backup",
      3   "backup_state": "POLICIES_REVIEWING",
      4   "continents": [
      5     {
      6       "name": "Europe"
      7     },
      8     {
      9       "name": "India"
     10     },
     11     {
     12       "name": "Asia"
     13     },
     14     {
     15       "name": "North America"
     16     },
     17     {
     18       "name": "Demoworld"
     19     }
     20   ],
     21   "countries": [
     22     {
     23       "code": "xx",
     24       "name": "Testland",
     25       "continent": "Demoworld",
     26       "call_code": "+0"
     27     }
     28   ],
     29   "required_attributes": [
     30     {
     31       "type": "string",
     32       "name": "full_name",
     33       "label": "Full name",
     34       "widget": "anastasis_gtk_ia_full_name",
     35       "uuid": "9e8f463f-575f-42cb-85f3-759559997331"
     36     },
     37     {
     38       "type": "date",
     39       "name": "birthdate",
     40       "label": "Birthdate",
     41       "widget": "anastasis_gtk_ia_birthdate",
     42       "uuid": "83d655c7-bdb6-484d-904e-80c1058c8854"
     43     },
     44     {
     45       "type": "string",
     46       "name": "prime_number",
     47       "label": "Prime number",
     48       "widget": "anastasis_gtk_xx_prime",
     49       "uuid": "39190a95-cacb-4412-8bae-1f7da3f980b4",
     50       "tooltip": "Mathematics is fun",
     51       "validation-regex": "^[0-9]+$",
     52       "validation-logic": "XY_PRIME_check",
     53       "optional": true
     54     },
     55     {
     56       "type": "string",
     57       "name": "sq_number",
     58       "label": "Square number",
     59       "widget": "anastasis_gtk_xx_square",
     60       "uuid": "ed790bca-89bf-11eb-96f2-233996cf644e",
     61       "tooltip": "Mathematics is fun",
     62       "validation-regex": "^[0-9]+$",
     63       "validation-logic": "XX_SQUARE_check"
     64     }
     65   ],
     66   "authentication_providers": {
     67     "http://localhost:8086/": {
     68       "status": "ok",
     69       "methods": [
     70         {
     71           "type": "question",
     72           "usage_fee": "TESTKUDOS:0"
     73         }
     74       ],
     75       "annual_fee": "TESTKUDOS:4.99",
     76       "truth_upload_fee": "TESTKUDOS:0.01",
     77       "liability_limit": "TESTKUDOS:1",
     78       "business_name": "Data loss #1 Inc.",
     79       "storage_limit_in_megabytes": 1,
     80       "provider_salt": "7QK4QVG6HBDJVGFMDGC1AJMSCG",
     81       "http_status": 200
     82     },
     83     "http://localhost:8087/": {
     84       "status": "ok",
     85       "methods": [
     86         {
     87           "type": "question",
     88           "usage_fee": "TESTKUDOS:0"
     89         }
     90       ],
     91       "annual_fee": "TESTKUDOS:4.99",
     92       "truth_upload_fee": "TESTKUDOS:0.01",
     93       "liability_limit": "TESTKUDOS:1",
     94       "business_name": "Data loss #2 Inc.",
     95       "storage_limit_in_megabytes": 1,
     96       "provider_salt": "C0X46TB9ENWDD5VFW1NXQEGDQ8",
     97       "http_status": 200
     98     },
     99     "http://localhost:8088/": {
    100       "status": "ok",
    101       "methods": [
    102         {
    103           "type": "question",
    104           "usage_fee": "TESTKUDOS:0"
    105         }
    106       ],
    107       "annual_fee": "TESTKUDOS:4.99",
    108       "truth_upload_fee": "TESTKUDOS:0.01",
    109       "liability_limit": "TESTKUDOS:1",
    110       "business_name": "Data loss #3 Inc.",
    111       "storage_limit_in_megabytes": 1,
    112       "provider_salt": "65S8KJ1AEJGJTG3DCT9FSPDQDR",
    113       "http_status": 200
    114     },
    115     "http://localhost:8089/": {
    116       "status": "ok",
    117       "methods": [
    118         {
    119           "type": "question",
    120           "usage_fee": "TESTKUDOS:0"
    121         }
    122       ],
    123       "annual_fee": "TESTKUDOS:4.99",
    124       "truth_upload_fee": "TESTKUDOS:0.01",
    125       "liability_limit": "TESTKUDOS:1",
    126       "business_name": "Data loss #4 Inc.",
    127       "storage_limit_in_megabytes": 1,
    128       "provider_salt": "NJ7KTFQMAZVB835VBHCGDKCTF0",
    129       "http_status": 200
    130     }
    131   },
    132   "identity_attributes": {
    133     "full_name": "Max Musterman",
    134     "sq_number": "4",
    135     "birthdate": "2000-01-01"
    136   },
    137   "selected_continent": "Demoworld",
    138   "selected_country": "xx",
    139   "authentication_methods": [
    140     {
    141       "type": "question",
    142       "instructions": "What is your name?",
    143       "challenge": "91GPWWR"
    144     },
    145     {
    146       "type": "question",
    147       "instructions": "How old are you?",
    148       "challenge": "6GS0"
    149     },
    150     {
    151       "type": "question",
    152       "instructions": "Where do you live?",
    153       "challenge": "89JQ4VG"
    154     }
    155   ],
    156   "policies": [
    157     {
    158       "methods": [
    159         {
    160           "authentication_method": 1,
    161           "provider": "http://localhost:8087/"
    162         },
    163         {
    164           "authentication_method": 2,
    165           "provider": "http://localhost:8088/"
    166         }
    167       ]
    168     },
    169     {
    170       "methods": [
    171         {
    172           "authentication_method": 0,
    173           "provider": "http://localhost:8086/"
    174         },
    175         {
    176           "authentication_method": 2,
    177           "provider": "http://localhost:8088/"
    178         }
    179       ]
    180     },
    181     {
    182       "methods": [
    183         {
    184           "authentication_method": 0,
    185           "provider": "http://localhost:8086/"
    186         },
    187         {
    188           "authentication_method": 1,
    189           "provider": "http://localhost:8087/"
    190         }
    191       ]
    192     }
    193   ],
    194   "policy_providers": [
    195     {
    196       "provider_url": "http://localhost:8086/"
    197     },
    198     {
    199       "provider_url": "http://localhost:8087/"
    200     },
    201     {
    202       "provider_url": "http://localhost:8088/"
    203     },
    204     {
    205       "provider_url": "http://localhost:8089/"
    206     }
    207   ]
    208 }