ApplicantPortal/app/applicant/schemas/Application.json
2025-03-12 20:43:26 -06:00

91 lines
1.8 KiB
JSON

{
"$defs": {
"PropertyInfo": {
"title": "PropertyInfo",
"type": "object",
"properties": {
"homePrice": {
"type": "number"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
},
"numberOfUnits": {
"type": "integer"
},
"fundingPurpose": {
"type": "string"
},
"propertyPurpose": {
"type": "string"
},
"yearAcquired": {
"type": "string"
},
"yearBuilt": {
"type": "string"
},
"originalCost": {
"type": "number"
},
"existingLiens": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/AssetExpense"
}
},
"titleHolders": {
"type": "string"
},
"taxAmount": {
"type": "number"
},
"hoaAmount": {
"type": "number"
},
"downPaymentSource": {
"type": "string"
}
}
}
},
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Application",
"type": "object",
"properties": {
"userID": {
"type": "string"
},
"applicants": {
"type": "array",
"items": {
"$ref": "Applicant.json#Applicant"
}
},
"filingType": {
"type": "string",
"enum": [
"single",
"joint"
]
},
"propertyInfo": {
"$ref": "#/$defs/PropertyInfo"
},
"depositHeldBy": {
"type": "string"
}
}
}