aboutsummaryrefslogtreecommitdiff
path: root/contrib/redux.ch.json
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/redux.ch.json')
-rw-r--r--contrib/redux.ch.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/contrib/redux.ch.json b/contrib/redux.ch.json
new file mode 100644
index 0000000..48e8e7a
--- /dev/null
+++ b/contrib/redux.ch.json
@@ -0,0 +1,40 @@
1{
2 "license": "GPLv3+",
3 "SPDX-License-Identifier": "GPL3.0-or-later",
4 "required_attributes": [
5 {
6 "type": "string",
7 "name": "full_name",
8 "label": "Full name",
9 "widget": "anastasis_gtk_ia_full_name",
10 "uuid" : "9e8f463f-575f-42cb-85f3-759559997331"
11 },
12 {
13 "type": "date",
14 "name": "birthdate",
15 "label": "Birthdate",
16 "widget": "anastasis_gtk_ia_birthdate",
17 "uuid" : "83d655c7-bdb6-484d-904e-80c1058c8854"
18 },
19 {
20 "type": "string",
21 "name": "birthplace",
22 "label": "Birthplace",
23 "widget": "anastasis_gtk_ia_birthplace",
24 "uuid" : "4c822e8e-89c6-11eb-95c4-8b077ad8489f"
25 },
26 {
27 "type": "string",
28 "name": "ahv_number",
29 "label": "AHV number",
30 "label_i18n":{
31 "de_DE":"AHV-Nummer",
32 "de_CH":"AHV-Nummer"
33 },
34 "widget": "anastasis_gtk_ia_ahv",
35 "uuid" : "1da87570-ba16-4f62-8a7e-cbda92f51591",
36 "validation-regex": "^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
37 "validation-logic": "CH_AHV_check"
38 }
39 ]
40}