{"$id":"https://events-schemas.twilio.com/Messaging.MessageStatus/1","$schema":"http://json-schema.org/draft-07/schema#","title":"MessageStatus","type":"object","required":["messageSid","timestamp","accountSid","eventName","apiVersion","from","to","messageStatus"],"additionalProperties":false,"properties":{"messageSid":{"type":"string","description":"Id of message which the event belongs to"},"timestamp":{"type":"string","description":"Time of the event"},"accountSid":{"type":"string","description":"Id of the Twilio account which was used while sending the message"},"eventName":{"type":"string","description":"Description of this event"},"apiVersion":{"type":"string","description":"Twilio API version used while sending the message"},"from":{"type":"string","description":"From number of the message"},"to":{"type":"string","description":"To number of the message"},"messageStatus":{"type":"string","description":"The status of the message. Message delivery information is reflected in message status. The possible values are: QUEUED, FAILED, SENT, DELIVERED, UNDELIVERED, READ."},"messagingServiceSid":{"description":"This field is set to id of messaging service used if the message is sent through a messaging service","type":"string"},"errorCode":{"description":"This field is set to the error code if delivery wasn't successful and an error has occurred","type":"integer"},"body":{"description":"Body of the message","type":"string"}}}
