toulouse_maelis: correct comments in schema (#69046)
This commit is contained in:
parent
d4e7d064c5
commit
a5ba9c129c
|
@ -25,7 +25,6 @@ BOOLEAN_TYPES = [
|
|||
},
|
||||
]
|
||||
|
||||
|
||||
ID_PROPERTIES = {
|
||||
'firstname': {
|
||||
'description': 'Prénom',
|
||||
|
@ -42,7 +41,6 @@ ID_PROPERTIES = {
|
|||
},
|
||||
}
|
||||
|
||||
|
||||
LINK_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Link',
|
||||
|
@ -58,11 +56,10 @@ LINK_SCHEMA = {
|
|||
}
|
||||
LINK_SCHEMA['properties'].update(ID_PROPERTIES)
|
||||
|
||||
|
||||
ISEXISTS_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Link',
|
||||
'description': "Appairage d'un usager Publik à une famille dans Maelis",
|
||||
'title': 'Exist',
|
||||
'description': "Recherche d'un responsable légal ou d'un enfant dans Maelis",
|
||||
'type': 'object',
|
||||
'required': ['firstname', 'lastname', 'dateBirth'],
|
||||
'properties': ID_PROPERTIES,
|
||||
|
@ -142,7 +139,7 @@ CONTACT_SCHEMA = {
|
|||
|
||||
ADDRESSPROF_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Contact',
|
||||
'title': 'Adresse pro',
|
||||
'description': "Informations sur l'adresse professionnelle",
|
||||
'oneOf': [
|
||||
{'type': 'null'},
|
||||
|
@ -203,7 +200,7 @@ PROFESSION_SCHEMA = {
|
|||
|
||||
CAFINFO_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Contact',
|
||||
'title': 'CAF',
|
||||
'description': 'Informations sur la CAF',
|
||||
'oneOf': [
|
||||
{'type': 'null'},
|
||||
|
@ -225,7 +222,7 @@ CAFINFO_SCHEMA = {
|
|||
|
||||
RLINFO_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'RLInfo',
|
||||
'title': 'RL',
|
||||
'description': "Informations sur le responsable légal",
|
||||
'type': 'object',
|
||||
'required': ['firstname', 'lastname', 'civility', 'quality', 'dateBirth', 'adresse'],
|
||||
|
@ -454,7 +451,7 @@ MEDICALRECORD_SCHEMA = {
|
|||
|
||||
PAIINFO_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'PAI Info',
|
||||
'title': 'PAI',
|
||||
'description': "Informations médicales",
|
||||
'oneOf': [
|
||||
{'type': 'null'},
|
||||
|
@ -531,7 +528,7 @@ CHILD_SCHEMA['properties'].update(ID_PROPERTIES)
|
|||
|
||||
CONTACTLIGHT_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Contact',
|
||||
'title': 'Contact light',
|
||||
'description': "Informations de contact pour les personnes autorisées à récupérer les enfants ou à prévenir en cas d'urgence",
|
||||
'oneOf': [
|
||||
{'type': 'null'},
|
||||
|
@ -557,7 +554,7 @@ CONTACTLIGHT_SCHEMA = {
|
|||
|
||||
FAMILYPERSON_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Family',
|
||||
'title': 'Family person',
|
||||
'description': "Informations sur les personnes autorisées à venir chercher les enfants ou à prévenir en cas d'urgence",
|
||||
'type': 'object',
|
||||
'required': ['firstname', 'lastname', 'dateBirth'],
|
||||
|
@ -578,7 +575,7 @@ FAMILYPERSON_SCHEMA['properties'].update(ID_PROPERTIES)
|
|||
|
||||
AUTHORIZEDPERSON_SCHEMA = {
|
||||
'$schema': 'http://json-schema.org/draft-04/schema#',
|
||||
'title': 'Family',
|
||||
'title': 'Family persons',
|
||||
'description': "Informations sur les personnes autorisées à venir chercher les enfants ou à prévenir en cas d'urgence",
|
||||
'type': 'object',
|
||||
'properties': {
|
||||
|
|
Loading…
Reference in New Issue