{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bandwidth/refs/heads/main/json-schema/messaging-media-schema.json",
  "title": "Media",
  "description": "Media schema from Bandwidth messaging API",
  "type": "object",
  "properties": {
    "mediaName": {
      "type": "string",
      "description": "The name of the media file"
    },
    "contentLength": {
      "type": "integer",
      "description": "The size of the media file in bytes"
    },
    "contentType": {
      "type": "string",
      "description": "The MIME type of the media file"
    },
    "content": {
      "type": "string",
      "description": "The URL to access the media content"
    }
  }
}