Skip to content

Commit

Permalink
feat: Insurance questions + misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvicrob committed Feb 20, 2022
1 parent 886aca4 commit 873eee7
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 3 deletions.
3 changes: 3 additions & 0 deletions models/Individual.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
},
"residence_permit": {
"$ref": "./ResidencePermit.v1.json"
},
"insurance_questionnaire": {
"$ref": "./InsuranceQuestionnaire.v1.json"
}
}
}
52 changes: 52 additions & 0 deletions models/InsuranceQuestionnaire.v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"title": "InsuranceQuestionnaire",
"type": "object",
"description": "Questions réglementaires permettant d'effectuer un devis d'assurance au sein de la simulation.",
"properties": {
"smoker": {
"type": "boolean",
"description": "L'emprunteur est-il fumeur de cigarettes traditionelles ?"
},
"electronic_smoker": {
"type": "boolean",
"description": "L'emprunteur est-il fumeur de cigarettes électroniques ?"
},
"annual_kilometers": {
"type": "number",
"description": "Kilométrage annuel de l'emprunteur."
},
"height_of_work": {
"type": "number",
"description": "Préciser la hauteur du travail en mêtres, en cas de travail en hauteur."
},
"manual_labor": {
"type": "boolean",
"description": "L'emprunteur effectue un travail manuel ?"
},
"risky_manual_labor": {
"type": "boolean",
"description": "L'emprunteur effectue un travail manuel risqué ?"
},
"risky_products_handling": {
"type": "boolean",
"description": "L'emprunteur manipule t-il des produits dangereux ?"
},
"jobs_at_risk_types": {
"description": "Types de métiers considérés comme à risque.",
"type": "string",
"enum": [
"SECURITY_FIREFIGHTER_POLICE",
"ARTISTIC_WORK",
"WORK_WITH_SPIRITUALITY",
"AVIATION_AND_PLANES",
"FISHER_MARINE_DOCKWORKER",
"OIL_GAS_NUCLEAR_SECTOR",
"PROFESSIONAL_SPORT_PRACTITIONER_TRAINER",
"ROAD_TRANSPORTER",
"WORK_WITH_WILD_ANIMALS",
"WORK_IN_MONTAINS_OR_IN_UNDERGROUND",
"HUMANITARIAN_WORKER"
]
}
}
}
5 changes: 3 additions & 2 deletions models/PartnerType.v1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
"LAND_SURVEYOR",
"BUSINESS_PROVIDER",
"ARCHITECT",
"REAL_ESTATE_DEVELOPER",
"LAWYER",
"INSURER",
"OTHER"
],
"description": "Type de partenaire ou d'intervenant sur un dossier.",
"x-examples": {}
"description": "Type de partenaire ou d'intervenant sur un dossier."
}
2 changes: 1 addition & 1 deletion models/SocioProfessionalGroupRetraites.v1.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "string",
"enum": [
"ANCIENS_AGRICULTEURS_EXPLOITANTS",
"ANCIENS_ARTISANTS_COMMERCANTS_CHEFS_DENTREPRISE",
"ANCIENS_ARTISANS_COMMERCANTS_CHEFS_DENTREPRISE",
"ANCIENS_CADRES",
"ANCIENNES_PROFESSIONS_INTERMEDIAIRES",
"ANCIENS_EMPLOYES",
Expand Down

0 comments on commit 873eee7

Please sign in to comment.