{"$id":"https://events-schemas.twilio.com/Lookup.BulkEvent/1","$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","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"}