{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/withlocals/main/json-schema/withlocals-supplier-schema.json",
  "title": "Supplier",
  "description": "Self-describing supplier metadata. Returned from `GET /`. Partners SHOULD\nread this on first connect and cache it.\n\n- Prices are quoted in **EUR** only in v1 (see `Money`); there is no\n  per-request currency selection.\n- v1 has **no reserve step** — `POST /bookings` creates a `CONFIRMED`\n  booking directly.\n",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/withlocals-partner-api-openapi.yml#/components/schemas/Supplier",
  "type": "object",
  "required": [
    "supplierName"
  ],
  "properties": {
    "supplierName": {
      "type": "string"
    },
    "supportsIdempotencyKey": {
      "type": "boolean",
      "default": false,
      "description": "When `true`, repeated `POST /bookings` with the same `Idempotency-Key`\nheader return the original result. v1 ships with `false` (the header\nis accepted but not enforced); flips to `true` in future versions.\n"
    }
  }
}