anastasis

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

02-backup.json (1571B)


      1 {
      2   "continents": [
      3     "Europe",
      4     "North America",
      5     "Demoworld"
      6   ],
      7   "backup_state": "USER_ATTRIBUTES_COLLECTING",
      8   "reducer_type": "backup",
      9   "selected_continent": "Testcontinent",
     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/": { "status" : "not-contacted" },
     25     "http://localhost:8087/": { "status" : "not-contacted" },
     26     "http://localhost:8088/": { "status" : "not-contacted" },
     27     "http://localhost:8089/": { "status" : "not-contacted" }
     28   },
     29   "selected_country": "xx",
     30   "required_attributes": [
     31     {
     32       "type": "string",
     33       "name": "full_name",
     34       "label": "Full name",
     35       "label_i18n": {
     36         "de_DE": "Vollstaendiger Name",
     37         "de_CH": "Vollstaendiger Name"
     38       },
     39       "widget": "anastasis_gtk_ia_full_name"
     40     },
     41     {
     42       "type": "date",
     43       "name": "birthdate",
     44       "label": "Birthdate",
     45       "label_i18n": {
     46         "de_CH": "Geburtsdatum"
     47       },
     48       "widget": "anastasis_gtk_ia_birthdate"
     49     },
     50     {
     51         "type": "string",
     52         "name": "sq_number",
     53 	"label": "Square number",
     54 	"label_i18n":{
     55 	    "de_DE":"Quadratzahl",
     56 	    "de_CH":"Quadratzahl"
     57 	},
     58 	"widget": "anastasis_gtk_xx_square",
     59         "uuid" : "ed790bca-89bf-11eb-96f2-233996cf644e",
     60 	"validation-regex": "^[0-9]+$",
     61 	"validation-logic": "XX_SQUARE_check"
     62     }
     63   ]
     64 }