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

201 lines
4.2 KiB
JSON

{
"$defs": {
"AcknowledgeAgree": {
"title": "AcknowledgeAgree",
"type": "object",
"properties": {
"signature": {
"type": "string"
},
"date": {
"type": "string"
}
}
},
"GovernmentInfo": {
"title": "GovernmentInfo",
"type": "object",
"properties": {
"willNotFurnish": {
"type": "boolean"
},
"ethnicity": {
"type": "boolean"
},
"sex": {
"type": "string"
},
"race": {
"type": "string"
}
}
},
"Assets": {
"title": "Assets",
"type": "object",
"properties": {
"assets": {
"type": "array",
"items": {
"allOf": [{
"$ref": "Assets.json#/$defs/AssetExpense"
}],
"type": "object",
"properties": {
"depositHeldBy": {
"type": "string"
}
}
}
},
"checkingSavings": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/CheckingSavings"
}
},
"stocksBonds": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/AssetExpense"
}
},
"lifeInsurance": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/LifeInsurance"
}
},
"retirementFunds": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/AssetExpense"
}
},
"vehiclesOwned": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/AssetExpense"
}
},
"propertyOwned": {
"type": "array",
"items": {
"$ref": "Address.json#/$defs/ScheduleOfRealEstate"
}
},
"liabilities": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/AssetExpense"
}
}
}
}
},
"$schema": "https://json-schema.org/draft-07/schema",
"Applicant": {
"title": "Applicant",
"type": "object",
"required": [
"email"
],
"properties": {
"pin": {
"type": "string"
},
"firstName": {
"type": "string"
},
"middleInitial": {
"type": "string"
},
"email": {
"type": "string"
},
"lastName": {
"type": "string"
},
"socialSecurityNumber": {
"type": "string"
},
"currentAddress": {
"type": "string"
},
"homePhone": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"yearsSchool": {
"type": "integer"
},
"degreeEarned": {
"type": "string"
},
"schoolName": {
"type": "string"
},
"marriageStatus": {
"type": "string",
"enum": [
"single",
"married",
"divorced",
"widowed",
"separated"
]
},
"numberDependants": {
"type": "integer"
},
"agesDependants": {
"type": "array",
"items": {
"type": "integer"
}
},
"previousJobs": {
"type": "array",
"items": {
"$ref": "Job.json"
}
},
"previousAddresses": {
"type": "array",
"items": {
"$ref": "Address.json#/$defs/PreviousAddress"
}
},
"expenseInfo": {
"$ref": "Expense.json"
},
"otherIncomes": {
"type": "array",
"items": {
"$ref": "Assets.json#/$defs/AssetExpense"
}
},
"assets": {
"$ref": "#/$defs/Assets"
},
"declarations": {
"$ref": "Declarations.json"
},
"acknowledgeAndAgree": {
"$ref": "#/$defs/AcknowledgeAgree"
},
"authBorrower": {
"$ref": "#/$defs/AcknowledgeAgree"
},
"AuthFcra": {
"$ref": "#/$defs/AcknowledgeAgree"
},
"governmentInfo": {
"$ref": "#/$defs/GovernmentInfo"
}
}
}
}