{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dinilu-co-uk/json-schema/dinilu-co-uk-get-api-quote-response-schema.json",
  "title": "GetApiQuoteResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/dinilu-co-uk-openapi-generated.yml#/components/schemas/GetApiQuoteResponse",
  "type": "object",
  "properties": {
    "mpn": {
      "type": "string",
      "description": "Product MPN"
    },
    "url": {
      "type": "string",
      "description": "Product page URL"
    },
    "price_per_unit": {
      "type": "number",
      "description": "Unit price in GBP ex. VAT"
    },
    "price_total": {
      "type": "number",
      "description": "Total product price in GBP ex. VAT"
    },
    "calculated_on": {
      "type": "string",
      "description": "Date price was calculated (YYYY‑MM‑DD)"
    },
    "binding": {
      "type": "boolean",
      "description": "Always false – price is indicative"
    },
    "cart_url": {
      "type": "string",
      "description": "Link to pre‑filled cart for ordering"
    },
    "request_quote": {
      "type": "string",
      "description": "Ways to request a formal quotation"
    },
    "production_days": {
      "type": "integer",
      "description": "Estimated production time in calendar days"
    },
    "price_tiers": {
      "type": "array",
      "description": "Three quantity tiers (requested, 2×, 5×) each with shipping options"
    },
    "attributes": {
      "type": "object",
      "description": "Resolved attribute selections used for the quote, by name"
    },
    "attributes_shorthand": {
      "type": "string",
      "description": "Attribute selections as id:id pairs, e.g. \"19:251|58:490\""
    },
    "warnings": {
      "type": "array",
      "description": "Any warnings such as qty_defaulted, qty_below_minimum, attribute_defaulted, option_not_found"
    }
  }
}