{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lots-directory/json-schema/lots-directory-post-api-v1-lotsdirectory-images-request-schema.json",
  "title": "PostApiV1LotsdirectoryImagesRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/lots-directory-openapi-generated.yml#/components/schemas/PostApiV1LotsdirectoryImagesRequest",
  "type": "object",
  "properties": {
    "image_url": {
      "type": "string",
      "description": "URL of the image to upload"
    },
    "base64": {
      "type": "string",
      "description": "Base64‑encoded image data"
    },
    "purpose": {
      "type": "string",
      "description": "Set to \"logo\" for the product's logo (max 500 KB, not counted toward image limit)"
    },
    "listing_id": {
      "type": "string",
      "description": "ID of the listing so the server can enforce that product's image limit"
    }
  }
}