84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"name": "EmployeeDocument",
|
|
"type": "object",
|
|
"properties": {
|
|
"employee_id": {
|
|
"type": "string",
|
|
"description": "Staff member ID"
|
|
},
|
|
"employee_name": {
|
|
"type": "string",
|
|
"description": "Staff member name"
|
|
},
|
|
"vendor_id": {
|
|
"type": "string",
|
|
"description": "Vendor ID"
|
|
},
|
|
"vendor_name": {
|
|
"type": "string",
|
|
"description": "Vendor name"
|
|
},
|
|
"document_type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"W-4 Form",
|
|
"I-9 Form",
|
|
"State Tax Form",
|
|
"Direct Deposit",
|
|
"Background Check",
|
|
"Food Handler",
|
|
"RBS License",
|
|
"ID Copy",
|
|
"SSN Card",
|
|
"Work Permit"
|
|
],
|
|
"description": "Type of document"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"uploaded",
|
|
"pending",
|
|
"expiring",
|
|
"expired",
|
|
"rejected",
|
|
"missing",
|
|
"approved"
|
|
],
|
|
"default": "missing",
|
|
"description": "Document status"
|
|
},
|
|
"document_url": {
|
|
"type": "string",
|
|
"description": "URL to uploaded document"
|
|
},
|
|
"upload_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "When document was uploaded"
|
|
},
|
|
"expiry_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "Document expiration date"
|
|
},
|
|
"approved_by": {
|
|
"type": "string",
|
|
"description": "Name of user who approved this document"
|
|
},
|
|
"approved_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "When the document was approved"
|
|
},
|
|
"notes": {
|
|
"type": "string",
|
|
"description": "Additional notes"
|
|
}
|
|
},
|
|
"required": [
|
|
"employee_id",
|
|
"employee_name",
|
|
"document_type"
|
|
]
|
|
} |