{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/print-one/json-schema/print-one-create-design-preview-request-v3-dto-schema.json",
  "title": "CreateDesignPreviewRequestV3Dto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/print-one-design-previews-api-openapi.yml#/components/schemas/CreateDesignPreviewRequestV3Dto",
  "type": "object",
  "properties": {
    "recipient": {
      "description": "Address information of the recipient",
      "allOf": [
        {
          "$ref": "#/$defs/AddressDto"
        }
      ]
    },
    "mergeVariables": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "description": "Optional personalization data (can be an empty object)"
    }
  },
  "$defs": {
    "AddressDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "addressLine2": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "address",
        "postalCode",
        "city",
        "country"
      ]
    }
  }
}