toulouse-maelis: update family WSDL (#75810)
gitea/passerelle/pipeline/head This commit looks good
Details
gitea/passerelle/pipeline/head This commit looks good
Details
This commit is contained in:
parent
03b4088aff
commit
c54f56633a
|
@ -69,7 +69,7 @@ EMERGENCY_PERSON_SCHEMA = {
|
|||
'title': 'Emergency person',
|
||||
'description': "Personnes à prévenir en cas d'urgence",
|
||||
'type': 'object',
|
||||
'required': ['firstname', 'lastname', 'dateBirth', 'quality'],
|
||||
'required': ['firstname', 'lastname', 'quality'],
|
||||
'properties': {
|
||||
'quality': {
|
||||
'description': 'Qualité',
|
||||
|
@ -92,7 +92,7 @@ AUTHORIZED_PERSON_SCHEMA = {
|
|||
'properties': {
|
||||
'personInfo': {
|
||||
'type': 'object',
|
||||
'required': ['firstname', 'lastname', 'dateBirth'],
|
||||
'required': ['firstname', 'lastname'],
|
||||
'properties': PERSON_PROPERTIES,
|
||||
},
|
||||
'personQuality': {
|
||||
|
|
|
@ -176,6 +176,7 @@
|
|||
<xs:element minOccurs="0" name="place" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="communeCode" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="countryCode" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="cdDepartment" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType abstract="true" name="abstractSpecBean">
|
||||
|
@ -221,6 +222,7 @@
|
|||
<xs:element minOccurs="0" name="place" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="communeCode" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="countryCode" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="cdDepartment" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="paiInfoBean">
|
||||
|
@ -1220,7 +1222,7 @@
|
|||
<xs:element minOccurs="0" name="civility" type="xs:string"/>
|
||||
<xs:element name="firstname" type="xs:string"/>
|
||||
<xs:element name="lastname" type="xs:string"/>
|
||||
<xs:element name="dateBirth" type="xs:dateTime"/>
|
||||
<xs:element minOccurs="0" name="dateBirth" type="xs:dateTime"/>
|
||||
<xs:element minOccurs="0" name="sexe" type="xs:string"/>
|
||||
<xs:element name="quality" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="contact" type="tns:contactLightBean"/>
|
||||
|
@ -1252,6 +1254,8 @@
|
|||
<xs:sequence>
|
||||
<xs:element name="code" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="depositDate" type="xs:dateTime"/>
|
||||
<xs:element minOccurs="0" name="visaDate" type="xs:dateTime"/>
|
||||
<xs:element minOccurs="0" name="validityDate" type="xs:dateTime"/>
|
||||
<xs:element name="filename" type="xs:string"/>
|
||||
<xs:element name="fileSupplied" type="ns1:fileHandler"/>
|
||||
</xs:sequence>
|
||||
|
@ -1440,7 +1444,7 @@
|
|||
<xs:element minOccurs="0" name="civility" type="xs:string"/>
|
||||
<xs:element name="lastname" type="xs:string"/>
|
||||
<xs:element name="firstname" type="xs:string"/>
|
||||
<xs:element name="dateBirth" type="xs:dateTime"/>
|
||||
<xs:element minOccurs="0" name="dateBirth" type="xs:dateTime"/>
|
||||
<xs:element minOccurs="0" name="sexe" type="xs:string"/>
|
||||
<xs:element minOccurs="0" name="contact" type="tns:contactLightBean"/>
|
||||
</xs:sequence>
|
||||
|
|
|
@ -1177,6 +1177,7 @@ def test_read_family(family_service, xml, con, app):
|
|||
'quality': 'PERE',
|
||||
'civility': 'M.',
|
||||
'birth': {
|
||||
'cdDepartment': None,
|
||||
'communeCode': None,
|
||||
'countryCode': '99350',
|
||||
'dateBirth': '1938-07-26T00:00:00+01:00',
|
||||
|
@ -1290,6 +1291,7 @@ def test_read_family(family_service, xml, con, app):
|
|||
'sexe': 'F',
|
||||
'sexe_text': 'Féminin',
|
||||
'birth': {
|
||||
'cdDepartment': None,
|
||||
'dateBirth': '1943-01-19T00:00:00+01:00',
|
||||
'place': 'Saint-louis',
|
||||
'communeCode': '91122',
|
||||
|
@ -1519,6 +1521,7 @@ def test_read_rl2(family_service, con, app):
|
|||
'quality': 'MERE',
|
||||
'civility': 'MME',
|
||||
'birth': {
|
||||
'cdDepartment': None,
|
||||
'communeCode': None,
|
||||
'countryCode': '99351',
|
||||
'dateBirth': '1940-06-22T00:00:00+02:00',
|
||||
|
@ -1898,7 +1901,6 @@ def test_create_family(family_service, con, app):
|
|||
'emergencyPersonList/0/firstname': 'Keny',
|
||||
'emergencyPersonList/0/lastname': 'Arkana',
|
||||
'emergencyPersonList/0/sexe': 'F',
|
||||
'emergencyPersonList/0/dateBirth': '1982-12-20',
|
||||
'emergencyPersonList/0/quality': 'T',
|
||||
'childList/0/lastname': 'Zimmerman',
|
||||
'childList/0/firstname': 'Robert',
|
||||
|
@ -3335,7 +3337,6 @@ def test_update_child_person(family_service, con, app):
|
|||
'personInfo/firstname': 'Angelo',
|
||||
'personInfo/lastname': 'Bent',
|
||||
'personInfo/sexe': 'M',
|
||||
'personInfo/dateBirth': '1985-06-22',
|
||||
'personInfo/contact/phone': '0102030405',
|
||||
'personInfo/contact/mobile': None,
|
||||
'personInfo/contact/mail': None,
|
||||
|
|
Loading…
Reference in New Issue