{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-media-list-schema.json",
  "title": "MediaList",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-media-api-openapi.yml#/components/schemas/MediaList",
  "type": "object",
  "properties": {
    "media_list": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MediaResource"
      }
    },
    "page": {
      "type": "integer"
    },
    "page_size": {
      "type": "integer"
    },
    "uri": {
      "type": "string"
    }
  },
  "$defs": {
    "MediaResource": {
      "type": "object",
      "properties": {
        "sid": {
          "type": "string",
          "pattern": "^ME[0-9a-fA-F]{32}$",
          "description": "Unique identifier for the media resource"
        },
        "account_sid": {
          "type": "string",
          "pattern": "^AC[0-9a-fA-F]{32}$"
        },
        "parent_sid": {
          "type": "string",
          "description": "SID of the parent message"
        },
        "content_type": {
          "type": "string",
          "description": "MIME type of the media"
        },
        "date_created": {
          "type": "string",
          "format": "date-time"
        },
        "date_updated": {
          "type": "string",
          "format": "date-time"
        },
        "uri": {
          "type": "string"
        }
      }
    }
  }
}