{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-rest-multi-part-request-schema-schema.json",
  "title": "RestMultiPartRequestSchema",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-attachments-api-openapi.yml#/components/schemas/RestMultiPartRequestSchema",
  "required": [
    "file"
  ],
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "file to be uploaded",
      "format": "binary"
    },
    "name": {
      "type": "string",
      "description": "name of the attachment"
    }
  }
}