{"$id":"https://events-schemas.twilio.com/Lookup.BulkEvent/2","$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"definitions":{"Result":{"additionalProperties":false,"description":"Result of the Bulk Job definition","properties":{"details":{"description":"An string containing information about the job execution.","type":"string"},"error_count":{"description":"Error count of the processed requests in the Bulk Job","type":"integer"},"file_url":{"description":"File Url for the result of the Bulk Job","type":"string"},"processed_count":{"description":"Total count of requests processed in the Bulk Job","type":"integer"},"success_count":{"description":"Success count of requests processed in the Bulk Job","type":"integer"},"total_count":{"description":"Total count of requests in the Bulk Job","type":"integer"}},"required":["total_count","processed_count"],"type":"object"},"Thresholds":{"additionalProperties":false,"description":"Thresholds for the Bulk Job definition","properties":{"error":{"description":"The error threshold defined for the Bulk Job","type":"number"}},"required":["error"],"type":"object"}},"description":"Lookup Bulk Execution Event Definition","examples":[{"completed_at":"2025-01-01T00:01:00.000Z","created_at":"2025-01-01T00:00:00.000Z","description":"Customer Bulk Lookup January 2025- Premium accounts phone numbers","friendly_name":"Premium-accounts January 2025","job_sid":"JW0000000000000000000000000000001","result":{"details":"The job did not process all records due to insufficient funds. 25 records were skipped.","error_count":0,"file_url":"https://lookup-bulk-service-bucket.s3.amazonaws.com/responses/AC0000000000000000000000000000001/JW0000000000000000000000000000001.csv.gz","processed_count":100,"success_count":100,"total_count":100},"status":"CREATED","thresholds":{"error":10},"twilio_error_code":60608}],"properties":{"completed_at":{"description":"Completion date of the Bulk Job in ISO 8601 format.","twilio_type":"datetime","type":"string"},"created_at":{"description":"Creation date of the Bulk Job in ISO 8601 format.","twilio_type":"datetime","type":"string"},"description":{"description":"Description field of the Bulk Job","type":"string"},"friendly_name":{"description":"Friendly name for the Bulk Job","type":"string"},"job_sid":{"description":"Job SID from Bulk Job","twilio_type":"sid","type":"string"},"result":{"$ref":"#/definitions/Result","description":"An object containing the result(counts and links) of the Bulk Job"},"status":{"default":"CREATED","description":"The status of the Bulk Job. Bulk Job processing status can be one of the following: CREATED, QUEUED, PROCESSING, COMPLETED, FAILED, CANCELED.","type":"string"},"thresholds":{"$ref":"#/definitions/Thresholds","description":"An object containing the thresholds reached for the Bulk Job"},"twilio_error_code":{"description":"Twilio error code. Only present for failed bulk executions.","type":"integer"}},"required":["job_sid"],"title":"LookupBulkEvent","type":"object"}