anastasis

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

02-backup.json (1872B)


      1 {
      2   "reducer_type": "backup",
      3   "backup_state": "USER_ATTRIBUTES_COLLECTING",
      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": "not-contacted"
     69     },
     70     "http://localhost:8087/": {
     71       "status": "not-contacted"
     72     },
     73     "http://localhost:8088/": {
     74       "status": "not-contacted"
     75     },
     76     "http://localhost:8089/": {
     77       "status": "not-contacted"
     78     }
     79   },
     80   "selected_continent": "Demoworld",
     81   "selected_country": "xx"
     82 }