Skip to content

Commit

Permalink
fix(#203): update civ config (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloundoye authored Sep 13, 2024
1 parent 59b5a2d commit 39a3729
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions src/config/chis-civ/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,16 @@
"property_name": "first_name",
"type": "string",
"parameter": ["\\(*First*\\)"],
"required": true
"required": true,
"hint": "Prénom du superviseur"
},
{
"friendly_name": "Last Name",
"property_name": "last_name",
"type": "string",
"parameter": ["\\(*Last*\\)"],
"required": true
"required": true,
"hint": "Nom du superviseur"
},

{
Expand All @@ -74,7 +76,8 @@
"friendly_name": "Function",
"property_name": "function",
"type": "string",
"required": false
"required": false,
"hint": "Fonction du superviseur"
},
{
"friendly_name": "Gender",
Expand All @@ -84,14 +87,16 @@
"male": "Masculin",
"female": "Feminin"
},
"required": true
"required": true,
"hint": "Sexe du superviseur"
},
{
"friendly_name": "Phone Number",
"property_name": "phone",
"type": "regex",
"parameter": "^\\d{10}$",
"required": true
"required": true,
"hint": "N° Téléphone du superviseur"
}
]
},
Expand Down Expand Up @@ -141,7 +146,8 @@
"property_name": "name",
"type": "string",
"parameter": ["\\(*Site*\\)"],
"required": true
"required": true,
"hint": "Nom du site de l'ASC"
}
],
"contact_properties": [
Expand All @@ -150,14 +156,16 @@
"property_name": "first_name",
"type": "string",
"parameter": ["\\(*First*\\)"],
"required": true
"required": true,
"hint": "Prénom de l'ASC"
},
{
"friendly_name": "Last Name",
"property_name": "last_name",
"type": "string",
"parameter": ["\\(*Last*\\)"],
"required": true
"required": true,
"hint": "Nom de l'ASC"
},
{
"friendly_name": "Full Name",
Expand All @@ -174,7 +182,8 @@
"min_5km": "ASC - 5km",
"max_5km": "ASC + 5km"
},
"required": true
"required": true,
"hint": "Type d'ASC"
},
{
"friendly_name": "Gender",
Expand All @@ -184,35 +193,24 @@
"male": "Masculin",
"female": "Feminin"
},
"required": true
"required": true,
"hint": "Sexe de l'ASC"
},
{
"friendly_name": "Age",
"property_name": "age",
"type": "regex",
"parameter": "^\\d{2}$",
"required": false
"required": false,
"hint": "Âge de l'ASC"
},
{
"friendly_name": "Phone Number",
"property_name": "phone",
"type": "regex",
"parameter": "^\\d{10}$",
"required": true
},
{
"friendly_name": "Email",
"property_name": "email",
"type": "regex",
"parameter": "^.+\\@.+\\..+$",
"required": false
},
{
"friendly_name": "Username",
"property_name": "username",
"type": "string",
"parameter": "",
"required": false
"required": true,
"hint": "N° Téléphone de l'ASC"
},
{
"friendly_name": "Education Level",
Expand All @@ -224,7 +222,8 @@
"higher": "Higher",
"none": "None"
},
"required": false
"required": false,
"hint": "Niveau d'étude de l'ASC"
}
]
}
Expand Down

0 comments on commit 39a3729

Please sign in to comment.