apxtrib/setup/data/domain/apixpress/referentials/dataManagement/object/cards.json
2023-01-22 10:53:09 +01:00

96 lines
1.9 KiB
JSON
Executable File

[{
"idfield": "UUID",
"desc": {
"fr": "identifiant utilisateur",
"en": "user id"
},
"nouservisible": true,
"check": ["required", "unique"],
"type": "text",
"tpl": "questionInputVertical"
},
{
"idfield": "LOGIN",
"check": ["required", "unique"],
"desc": {
"fr": "login",
"en": "login"
},
"type": "text",
"tpl": "questionInputVertical"
},
{
"idfield": "EMAIL",
"desc": {
"fr": "email",
"en": "email"
},
"type": "email",
"check": ["email", "unique"],
"placeholder": "@",
"tpl": "questionInputVertical"
},
{
"idfield": "NAME",
"desc": {
"fr": "Nom",
"en": "Name"
},
"type": "text",
"tpl": "questionInputVertical"
},
{
"idfield": "NICKNAME",
"desc": {
"fr": "Prénom",
"en": "Nickname"
},
"type": "text",
"tpl": "questionInputVertical"
},
{
"idfield": "PSEUDO",
"desc": {
"fr": "pseudo",
"en": "pseudo"
},
"type": "text",
"tpl": "questionInputVertical"
},
{
"nouserupdate": true,
"idfield": "DATE_CREATE",
"desc": {
"fr": "Date de création",
"en": "Create Date"
},
"type": "date",
"format": "YYYY-MM-DD",
"default": "moment(new Date()).format('YYYY-MM-DD')",
"tpl": "questionInputVertical"
},
{
"nouserupdate": true,
"idfield": "DATE_UPDATE",
"desc": {
"fr": "Date mise à jour",
"en": "Update date"
},
"type": "date",
"format": "YYYY-MM-DD",
"default": "moment(new Date()).format('YYYY-MM-DD')",
"tpl": "questionInputVertical"
},
{
"nouserupdate": true,
"idfield": "DATE_LASTLOGIN",
"desc": {
"fr": "Date de derniére connexion",
"en": "Last date login"
},
"type": "date",
"format": "YYYY-MM-DD",
"default": "moment(new Date()).format('YYYY-MM-DD')",
"tpl": "questionInputVertical"
}
]