{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ecomsource-ai/json-schema/ecomsource-ai-offers-response-schema.json",
  "title": "OffersResponse",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecomsource-ai-openapi.yml#/components/schemas/OffersResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "asin": {
          "type": "string"
        },
        "marketplaceId": {
          "type": "string",
          "description": "Marketplace country code (e.g. US, CA, UK, DE)."
        },
        "currency": {
          "type": "string"
        },
        "totalOffers": {
          "type": "integer"
        },
        "buyBox": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "condition": {
                "type": "string"
              },
              "price": {
                "type": "number"
              }
            }
          }
        },
        "lowestPrices": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "condition": {
                "type": "string"
              },
              "fulfillmentChannel": {
                "type": "string"
              },
              "price": {
                "type": "number"
              }
            }
          }
        },
        "listPrice": {
          "type": "number"
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}