diff options
Diffstat (limited to 'contrib/redux.es.json')
-rw-r--r-- | contrib/redux.es.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/contrib/redux.es.json b/contrib/redux.es.json new file mode 100644 index 0000000..5926b6d --- /dev/null +++ b/contrib/redux.es.json | |||
@@ -0,0 +1,50 @@ | |||
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": "tax_number", | ||
29 | "label": "Tax number", | ||
30 | "label_i18n":{ | ||
31 | "es_ES":"Número de Identificación Fiscal (DNI, NIE)", | ||
32 | }, | ||
33 | "widget": "anastasis_gtk_ia_es_dni", | ||
34 | "uuid" : "ac8bd865-6be8-445c-b650-6a18eef16a49", | ||
35 | "validation-regex": "^[0-9MXYZ][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$", | ||
36 | "validation-logic": "ES_DNI_check" | ||
37 | }, | ||
38 | { | ||
39 | "type": "string", | ||
40 | "name": "ssn_number", | ||
41 | "label": "Social security number", | ||
42 | "label_i18n":{ | ||
43 | "es_ES":"Número de Seguridad Social", | ||
44 | }, | ||
45 | "widget": "anastasis_gtk_ia_es_ssn", | ||
46 | "uuid" : "22396a19-f3bb-497e-b63a-961fd639140e", | ||
47 | "validation-regex": "^[0-9]{11}$" | ||
48 | } | ||
49 | ] | ||
50 | } | ||