{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pieterpost-com/json-schema/pieterpost-com-post-v1-checkout-links-request-schema.json",
  "title": "PostV1CheckoutLinksRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pieterpost-com-openapi-generated.yml#/components/schemas/PostV1CheckoutLinksRequest",
  "type": "object",
  "properties": {
    "requestType": {
      "type": "string"
    },
    "deliveryService": {
      "type": "string"
    },
    "senderEmail": {
      "type": "string"
    },
    "returnUrl": {
      "type": "string"
    },
    "letters": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "recipient": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "streetAddress": {
                "type": "string"
              },
              "postalCode": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "country": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}