{ "name": "VendorDocumentReview", "type": "object", "properties": { "vendor_id": { "type": "string", "description": "Vendor ID" }, "vendor_name": { "type": "string", "description": "Vendor name" }, "document_type": { "type": "string", "enum": [ "Contract", "NDA", "W9", "COI", "Insurance", "Service Agreement", "Other" ], "description": "Type of document being reviewed" }, "document_url": { "type": "string", "description": "URL to the document PDF" }, "document_name": { "type": "string", "description": "Name of the document" }, "review_notes": { "type": "string", "description": "Notes taken by vendor during review" }, "annotations": { "type": "array", "description": "Document annotations (highlights, comments, drawings)", "items": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string", "enum": [ "highlight", "comment", "question", "emoji", "signature" ] }, "page_number": { "type": "number" }, "selected_text": { "type": "string" }, "comment": { "type": "string" }, "emoji": { "type": "string" }, "color": { "type": "string" }, "position": { "type": "object", "properties": { "x": { "type": "number" }, "y": { "type": "number" } } }, "created_date": { "type": "string", "format": "date-time" } } } }, "questions": { "type": "array", "description": "Questions or concerns about the document", "items": { "type": "object", "properties": { "question": { "type": "string" }, "page_number": { "type": "number" }, "status": { "type": "string", "enum": [ "open", "answered", "resolved" ] }, "answer": { "type": "string" } } } }, "reviewed": { "type": "boolean", "default": false, "description": "Has vendor reviewed this document" }, "reviewed_date": { "type": "string", "format": "date-time", "description": "When vendor marked as reviewed" }, "acknowledged": { "type": "boolean", "default": false, "description": "Has vendor acknowledged/accepted the document" }, "acknowledged_date": { "type": "string", "format": "date-time", "description": "When vendor acknowledged the document" }, "time_spent_minutes": { "type": "number", "description": "Total time spent reviewing (in minutes)" } }, "required": [ "vendor_name", "document_type", "document_url", "document_name" ] }