anastasis

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

02-recovery.json (2039B)


      1 {
      2   "continents": [
      3     "Europe",
      4     "North America",
      5     "Testcontinent"
      6   ],
      7   "recovery_state": "USER_ATTRIBUTES_COLLECTING",
      8   "reducer_type": "recovery",
      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/": { "status" : "not-contacted" },
     44     "http://localhost:8087/": { "status" : "not-contacted" },
     45     "http://localhost:8088/": { "status" : "not-contacted" },
     46     "http://localhost:8089/": { "status" : "not-contacted" }
     47   },
     48   "selected_country": "xx",
     49   "currencies": [ "TESTKUDOS" ],
     50   "required_attributes": [
     51     {
     52       "type": "string",
     53       "name": "full_name",
     54       "label": "Full name",
     55       "label_i18n": {
     56         "de_DE": "Vollstaendiger Name",
     57         "de_CH": "Vollstaendiger Name"
     58       },
     59       "widget": "anastasis_gtk_ia_full_name"
     60     },
     61     {
     62       "type": "date",
     63       "name": "birthdate",
     64       "label": "Birthdate",
     65       "label_i18n": {
     66         "de_CH": "Geburtsdatum"
     67       },
     68       "widget": "anastasis_gtk_ia_birthdate"
     69     },
     70     {
     71         "type": "string",
     72         "name": "sq_number",
     73 	"label": "Square number",
     74 	"label_i18n":{
     75 	    "de_DE":"Quadratzahl",
     76 	    "de_CH":"Quadratzahl"
     77 	},
     78 	"widget": "anastasis_gtk_xx_square",
     79         "uuid" : "ed790bca-89bf-11eb-96f2-233996cf644e",
     80 	"validation-regex": "^[0-9]+$",
     81 	"validation-logic": "XX_SQUARE_check"
     82     }
     83   ]
     84 }