{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/budbee/main/json-schema/budbee-post-multiple-orders-request-schema.json",
  "title": "PostMultipleOrdersRequest",
  "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/PostMultipleOrdersRequest",
  "type": "object",
  "properties": {
    "collectionId": {
      "type": "integer"
    },
    "cart": {
      "type": "object",
      "properties": {
        "cartId": {
          "type": "string"
        },
        "articles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "reference": {
                "type": "string"
              },
              "quantity": {
                "type": "integer"
              },
              "unitPrice": {
                "type": "integer"
              },
              "currency": {
                "type": "string"
              },
              "taxRate": {
                "type": "integer"
              },
              "discountRate": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "delivery": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "referencePerson": {
          "type": [
            "string",
            "null"
          ]
        },
        "socialSecurityNumber": {
          "type": "string"
        },
        "telephoneNumber": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "street": {
              "type": "string"
            },
            "street2": {
              "type": "string"
            },
            "postalCode": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "country": {
              "type": "string"
            }
          }
        },
        "doorCode": {
          "type": "string"
        },
        "outsideDoor": {
          "type": "boolean"
        },
        "additionalInfo": {
          "type": "string"
        }
      }
    },
    "requireSignature": {
      "type": "boolean"
    },
    "additionalServices": {
      "type": "object",
      "properties": {
        "identificationCheckRequired": {
          "type": "boolean"
        },
        "recipientMinimumAge": {
          "type": "integer"
        },
        "recipientMustMatchEndCustomer": {
          "type": "boolean"
        },
        "numberOfMissRetries": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}