{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xpost-to/json-schema/xpost-to-post-media-request-schema.json",
  "title": "PostMediaRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/xpost-to-openapi-generated.yml#/components/schemas/PostMediaRequest",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public https URL to fetch"
    },
    "ticket": {
      "type": "string",
      "description": "Redeems an upload slot from POST /media/ticket"
    },
    "file": {
      "type": "string",
      "description": "Multipart form-data file field"
    },
    "thumbnail_timestamp_ms": {
      "type": "integer",
      "description": "Video frame timestamp"
    },
    "cover_media_id": {
      "type": "string",
      "description": "ID of an already‑uploaded picture to use as cover"
    },
    "alt_text": {
      "type": "string",
      "description": "Accessibility text (≤1000 chars)"
    },
    "people_tags": {
      "type": "array",
      "description": "Instagram‑only tags for people in the picture"
    }
  }
}