diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-27 16:22:13 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-27 16:22:13 +0100 |
commit | 9cc967321656dd8d50231047c7366c82a9897e9c (patch) | |
tree | 80d935eb801dc0fced7dcb9ded144d19a6cb71cd /contrib | |
parent | 18d7ebb1b74e81c5ccf750dda4cfe5c0c268f88d (diff) | |
download | anastasis-9cc967321656dd8d50231047c7366c82a9897e9c.tar.gz anastasis-9cc967321656dd8d50231047c7366c82a9897e9c.tar.bz2 anastasis-9cc967321656dd8d50231047c7366c82a9897e9c.zip |
add support for INSEE numbers
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/redux.countries.json | 11 | ||||
-rw-r--r-- | contrib/redux.fr.json | 40 |
3 files changed, 52 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 03bcab7..fdd16d2 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -56,6 +56,7 @@ pkgdata_DATA = \ redux.de.json \ redux.dk.json \ redux.es.json \ + redux.fr.json \ redux.in.json \ redux.it.json \ redux.jp.json \ diff --git a/contrib/redux.countries.json b/contrib/redux.countries.json index 44416e1..61dec37 100644 --- a/contrib/redux.countries.json +++ b/contrib/redux.countries.json @@ -84,6 +84,17 @@ "call_code" : "+44" }, { + "code" : "fr", + "name" : "France", + "continent" : "Europe", + "name_i18n" : { + "de_DE": "Frankreich", + "fr_FR": "La France" + }, + "currency": "EUR", + "call_code" : "+33" + }, + { "code" : "in", "name" : "India", "continent" : "India", diff --git a/contrib/redux.fr.json b/contrib/redux.fr.json new file mode 100644 index 0000000..1b57210 --- /dev/null +++ b/contrib/redux.fr.json @@ -0,0 +1,40 @@ +{ + "license": "GPLv3+", + "SPDX-License-Identifier": "GPL3.0-or-later", + "required_attributes": [ + { + "type": "string", + "name": "full_name", + "label": "Full name", + "widget": "anastasis_gtk_ia_full_name", + "uuid" : "9e8f463f-575f-42cb-85f3-759559997331" + }, + { + "type": "date", + "name": "birthdate", + "label": "Birthdate", + "widget": "anastasis_gtk_ia_birthdate", + "uuid" : "83d655c7-bdb6-484d-904e-80c1058c8854" + }, + { + "type": "string", + "name": "birthplace", + "label": "Birthplace", + "widget": "anastasis_gtk_ia_birthplace", + "uuid" : "4c822e8e-89c6-11eb-95c4-8b077ad8489f" + }, + { + "type": "string", + "name": "social_security_number", + "label": "Code Insee", + "label_i18n":{ + "fr_FR": "Code Insee", + "en": "INSEE code" + }, + "widget": "anastasis_gtk_ia_insee_fr", + "uuid": "2f36a81c-3f6d-41f3-97ee-9c885bc41873", + "validation-regex": "^[0-9]{15}$", + "validation-logic": "FR_INSEE_check" + } + ] +} |