{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shelfatlas-com/json-schema/shelfatlas-com-shelf-label-read-request-schema.json",
  "title": "ShelfLabelReadRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shelfatlas-com-observations-api-openapi.yml#/components/schemas/ShelfLabelReadRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "image_base64",
    "content_type"
  ],
  "properties": {
    "image_base64": {
      "type": "string",
      "description": "Base64-encoded image bytes (no `data:` URL prefix). Decoded size over 512 KB is a 413 — downscale client-side first."
    },
    "content_type": {
      "type": "string",
      "enum": [
        "image/jpeg",
        "image/png",
        "image/webp"
      ]
    },
    "store_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional (SA-0179): the store the photo was taken in. Lets an item with no product be matched to that store's chain's current campaign offer (`matched_by: offer`)."
    }
  }
}