{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/letschatty-com/json-schema/letschatty-com-body-upload-media-asset-company-company-id-media-assets-upload-post-schema.json",
  "title": "Body_upload_media_asset_company__company_id__media_assets_upload_post",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/letschatty-com-openapi.json#/components/schemas/Body_upload_media_asset_company__company_id__media_assets_upload_post",
  "properties": {
    "file": {
      "type": "string",
      "format": "binary",
      "title": "File"
    },
    "purpose": {
      "$ref": "#/$defs/UploadPurpose",
      "default": "library"
    },
    "folder": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Folder"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    }
  },
  "type": "object",
  "required": [
    "file"
  ],
  "$defs": {
    "UploadPurpose": {
      "type": "string",
      "enum": [
        "library",
        "conversation",
        "user_profile"
      ],
      "title": "UploadPurpose"
    }
  }
}