{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ablakarajanlat-hu/json-schema/ablakarajanlat-hu-quote-create-request-schema.json",
  "title": "QuoteCreateRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ablakarajanlat-hu-openapi.yaml#/components/schemas/QuoteCreateRequest",
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "idempotency_key": {
      "type": "string"
    },
    "contact": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      }
    },
    "items": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "width",
          "height"
        ],
        "properties": {
          "width": {
            "type": "integer"
          },
          "height": {
            "type": "integer"
          },
          "qty": {
            "type": "integer"
          },
          "price": {
            "type": "number"
          },
          "profileId": {
            "type": "string"
          },
          "typeCode": {
            "type": "string"
          },
          "glassId": {
            "type": "string"
          },
          "colorOutside": {
            "type": "string"
          },
          "colorInside": {
            "type": "string"
          }
        }
      }
    }
  }
}