Skip to content

Commit

Permalink
feat: various improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mvicrob committed Jan 10, 2022
1 parent 2f6dc35 commit 0ecdc59
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 14 deletions.
1 change: 1 addition & 0 deletions models/CaseStatus.v1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"INSTRUCTION",
"SENT_TO_BANK",
"GRANTED_BANK",
"REFUSED_BANK",
"CUSTOMER_ACCEPTED",
"COMPLETED",
"INVOICED",
Expand Down
5 changes: 3 additions & 2 deletions models/CurrentLoan.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
"type": "boolean"
},
"remaining_capital": {
"type": "number",
"description": "Capital restant dû.",
"type": "number"
"minimum": 0
},
"start_date": {
"description": "Date de début du prêt.",
Expand All @@ -59,4 +60,4 @@
"required": [
"type"
]
}
}
14 changes: 13 additions & 1 deletion models/LegalPerson.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,21 @@
]
},
"name": {
"description": "Dénomination.",
"description": "Dénomination ou raison sociale.",
"type": "string"
},
"rcs_number": {
"description": "Numéro au Registre du Commerce et des Sociétés.",
"type": "string"
},
"siret": {
"description": "Numéro de Siret.",
"type": "string"
},
"creation_date": {
"type": "string",
"format": "date-time"
},
"email": {
"description": "Email.",
"type": "string"
Expand Down
11 changes: 11 additions & 0 deletions models/PatrimonyItem.v1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@
"format": "date-time",
"type": "string"
},
"address": {
"$ref": "./Address.v1.json"
},
"is_mortgaged": {
"type": "boolean",
"description": "Présence d'une hypothèque ?"
},
"is_for_sale": {
"type": "boolean",
"description": "Mis en vente ?"
},
"for_sale": {
"$ref": "./ForSale.v1.json"
},
Expand Down
3 changes: 2 additions & 1 deletion models/ProjectType.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"WORKS",
"DEBT_CONSOLIDATION",
"PINEL",
"LMNP"
"LMNP",
"BALANCING_ADJUSTMENT"
],
"description": "Type de projet."
}
9 changes: 1 addition & 8 deletions models/RIB.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,5 @@
"type": "string",
"description": "Domiciliation"
}
},
"required": [
"bank_code",
"agency_code",
"account_number",
"key",
"bank_name"
]
}
}
12 changes: 10 additions & 2 deletions models/SelfEmployed.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@
"SELFEMPLOYED"
]
},
"activity_nature": {
"description": "Nature de l'activité.",
"name": {
"description": "Dénomination ou raison sociale.",
"type": "string"
},
"rcs_number": {
"description": "Numéro au Registre du Commerce et des Sociétés.",
"type": "string"
},
"siret": {
"description": "Numéro de Siret.",
"type": "string"
},
"profession": {
Expand Down

0 comments on commit 0ecdc59

Please sign in to comment.