119 lines
2.7 KiB
JSON
119 lines
2.7 KiB
JSON
{
|
|
"name": "VendorNetworkApproval",
|
|
"type": "object",
|
|
"properties": {
|
|
"vendor_id": {
|
|
"type": "string",
|
|
"description": "ID of the approved vendor"
|
|
},
|
|
"vendor_name": {
|
|
"type": "string",
|
|
"description": "Name of the vendor"
|
|
},
|
|
"enterprise_network": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Compass",
|
|
"Aramark",
|
|
"Sodexo",
|
|
"Foodbuy",
|
|
"Bon App\u00e9tit",
|
|
"Eurest"
|
|
],
|
|
"description": "Enterprise network vendor is approved for"
|
|
},
|
|
"approval_status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"pending",
|
|
"approved",
|
|
"rejected",
|
|
"suspended"
|
|
],
|
|
"default": "pending",
|
|
"description": "Current approval status"
|
|
},
|
|
"approved_by": {
|
|
"type": "string",
|
|
"description": "Procurement manager who approved"
|
|
},
|
|
"approved_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "Date of approval"
|
|
},
|
|
"rate_book_id": {
|
|
"type": "string",
|
|
"description": "Associated rate book ID for this network"
|
|
},
|
|
"regions_approved": {
|
|
"type": "array",
|
|
"description": "Geographic regions vendor is approved to serve",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"categories_approved": {
|
|
"type": "array",
|
|
"description": "Service categories vendor is approved for",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"compliance_documents": {
|
|
"type": "array",
|
|
"description": "Required compliance documents",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"document_type": {
|
|
"type": "string"
|
|
},
|
|
"document_url": {
|
|
"type": "string"
|
|
},
|
|
"verified": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"restrictions": {
|
|
"type": "object",
|
|
"description": "Any restrictions on vendor's approved status",
|
|
"properties": {
|
|
"max_order_size": {
|
|
"type": "number"
|
|
},
|
|
"max_concurrent_events": {
|
|
"type": "number"
|
|
},
|
|
"excluded_clients": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"valid_from": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "Approval start date"
|
|
},
|
|
"valid_until": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"description": "Approval expiration date"
|
|
},
|
|
"notes": {
|
|
"type": "string",
|
|
"description": "Additional notes about approval"
|
|
}
|
|
},
|
|
"required": [
|
|
"vendor_name",
|
|
"enterprise_network",
|
|
"approval_status"
|
|
]
|
|
} |