{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postzen-dev/json-schema/postzen-dev-media-direct-upload-response-schema.json",
  "title": "MediaDirectUploadResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postzen-dev-media-api-openapi.yml#/components/schemas/MediaDirectUploadResponse",
  "type": "object",
  "required": [
    "url",
    "filename",
    "contentType",
    "size"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Publicly fetchable URL for the stored file. Pass it as `attachmentUrl` when sending a direct message."
    },
    "filename": {
      "type": "string",
      "description": "Sanitized file name the object was stored under."
    },
    "contentType": {
      "type": "string"
    },
    "size": {
      "type": "integer",
      "description": "Stored size in bytes."
    }
  }
}