{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/post-mesh-com/json-schema/post-mesh-com-media-upload-schema.json",
  "title": "MediaUpload",
  "description": "メディアアップロード URL",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/post-mesh-com-openapi.json#/components/schemas/MediaUpload",
  "type": "object",
  "properties": {
    "media_id": {
      "type": "string",
      "description": "投稿作成時に参照するメディア ID"
    },
    "upload_url": {
      "type": "string",
      "format": "uri",
      "description": "ファイルアップロード用の署名付き URL（PUT リクエストで使用）"
    },
    "name": {
      "type": "string",
      "description": "ファイル名"
    }
  },
  "required": [
    "media_id",
    "upload_url",
    "name"
  ]
}