{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-media-service-replace-import-body-schema.json",
  "title": "Request to replace a media item's file with one fetched server-side",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-media-api-openapi.yml#/components/schemas/MediaServiceReplaceImportBody",
  "properties": {
    "assistantAttachmentId": {
      "description": "The id of a file the caller attached to their own Assistant conversation. Attachments are\nshort-lived and belong to the member who attached them, in that workspace.",
      "type": "string"
    },
    "fileName": {
      "description": "The name the media takes. Empty takes the attachment's name, or the last segment of the URL's path,\nor keeps the media's current name.",
      "type": "string"
    },
    "url": {
      "description": "A public https URL the new file is downloaded from, on port 443. Redirects are followed only to\nother public https URLs, at most five. The file's kind is read from its bytes.",
      "type": "string"
    }
  },
  "type": "object"
}