Browse Source

updated age and gender field person_1 in docs

pull/63/head
magicmilo 3 years ago
parent
commit
938c5b9807
  1. 60
      docs/api/DLUHC-CORE-Data.v1.json

60
docs/api/DLUHC-CORE-Data.v1.json

@ -109,7 +109,7 @@
"Invalid Age": {
"value": {
"errors": {
"person_1_age": [
"tenant_age": [
"Tenant age must be between 0 and 120"
]
}
@ -193,7 +193,7 @@
"summary": "Create New Case Log",
"operationId": "post-caselog",
"responses": {
"200": {
"201": {
"description": "Case Log Created",
"content": {
"application/json": {
@ -219,7 +219,7 @@
"reasonable_preference_reason": [
"If reasonable preference is Yes, a reason must be given"
],
"person_1_age": [
"tenant_age": [
"Tenant age must be between 0 and 120"
]
}
@ -268,8 +268,8 @@
"x-examples": {
"example-1": {
"tenant_code": "T657",
"person_1_age": 35,
"person_1_gender": "Female",
"tenant_age": 35,
"tenant_gender": "Female",
"tenant_ethnic_group": "White: English/Scottish/Welsh/Northern Irish/British",
"tenant_nationality": "UK national resident in UK",
"previous_housing_situation": "Private sector tenancy",
@ -781,11 +781,55 @@
},
"reason_for_leaving_last_settled_home": {
"type": "string",
"minLength": 1
"minLength": 1,
"enum": [
"Permanently decanted from another property owned by this landlord",
"Left home country as a refugee",
"Loss of tied accommodation",
"Domestic abuse",
"(Non violent) relationship breakdown with partner",
"Asked to leave by family or friends",
"Racial harassment",
"Other problems with neighbours",
"Property unsuitable because of overcrowding",
"End of assured shorthold tenancy - no fault",
"End of assured shorthold tenancy - tenant's fault",
"End of fixed term tenancy - no fault",
"End of fixed term tenancy - tenant's fault",
"Repossession",
"Under occupation - offered incentive to downsize",
"Under occupation - no incentive",
"Property unsuitable because of ill health / disability",
"Property unsuitable because of poor condition",
"Couldn't afford fees attached to renewing the tenancy",
"Couldn't afford increase in rent",
"Couldn't afford rent or mortgage - welfare reforms",
"Couldn't afford rent or mortgage - employment",
"Couldn't afford rent or mortgage - other",
"To move nearer to family / friends / school",
"To move nearer to work",
"To move to accomodation with support",
"To move to independent accomodation",
"Hate crime",
"Death of household member in last settled accomodation",
"Discharged from prison",
"Discharged from long stay hospital or similar institution",
"Other",
"Do not know",
"Prefer not to say"
]
},
"benefit_cap_spare_room_subsidy": {
"type": "string",
"minLength": 1
"minLength": 1,
"enum": [
"Yes - benefit cap",
"Yes - removal of the spare room subsidy",
"Yes - both the benefit cap and the removal of the spare room subsidy",
"No",
"Do not know",
"Prefer not to say"
]
},
"armed_forces_active": {
"type": "string",
@ -1158,4 +1202,4 @@
},
"securitySchemes": {}
}
}
}
Loading…
Cancel
Save