{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ablakarajanlat-hu/json-schema/ablakarajanlat-hu-estimate-request-schema.json",
  "title": "EstimateRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ablakarajanlat-hu-openapi.yaml#/components/schemas/EstimateRequest",
  "type": "object",
  "required": [
    "fullcode",
    "xml",
    "width",
    "height"
  ],
  "properties": {
    "fullcode": {
      "type": "string"
    },
    "width": {
      "type": "integer",
      "description": "mm"
    },
    "height": {
      "type": "integer",
      "description": "mm"
    },
    "qty": {
      "type": "integer",
      "default": 1
    },
    "pricing_version": {
      "type": "string",
      "enum": [
        "pricing-v1",
        "pricing-v2"
      ]
    },
    "justprice": {
      "type": "boolean",
      "default": true
    },
    "zip": {
      "type": "string",
      "pattern": "^[0-9]{4}$"
    }
  }
}