{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/budbee/main/json-schema/budbee-post-box-return-response-schema.json",
  "title": "PostBoxReturnResponse",
  "x-generated": "2026-10-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/budbee-openapi-generated.yml#/components/schemas/PostBoxReturnResponse",
  "type": "object",
  "properties": {
    "warehouseId": {
      "type": "integer"
    },
    "cartId": {
      "type": "string"
    },
    "consumer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "phoneNumber": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "street": {
              "type": "string"
            },
            "postalCode": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "country": {
              "type": "string"
            }
          }
        }
      }
    },
    "lockerId": {
      "type": "string"
    },
    "dimensions": {
      "type": "object",
      "properties": {
        "width": {
          "type": "integer"
        },
        "length": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        },
        "weight": {
          "type": "integer"
        },
        "volume": {
          "type": "integer"
        }
      }
    }
  }
}