{
  "yesdoc": 1,
  "title": "Wedding photography booking",
  "from": {
    "name": "Half Light Photo",
    "email": "hello@example.com",
    "phone": "555-0142"
  },
  "to": {
    "name": "Alex and Jordan Kim"
  },
  "date": "2026-12-03",
  "currency": "USD",
  "parts": [
    {
      "kind": "text",
      "id": "intro",
      "text": "Congratulations to you both. Choose your coverage below and tell me a little about the day."
    },
    {
      "kind": "lines",
      "id": "coverage",
      "title": "Coverage",
      "items": [
        {
          "id": "pkg-half",
          "text": "Half day: ceremony and portraits, 4 hours",
          "qty": 1,
          "unitCents": 220000,
          "kind": "choice",
          "group": "Coverage",
          "features": [
            "Ceremony and family portraits",
            "Couple's portraits",
            "300 edited photos"
          ]
        },
        {
          "id": "pkg-full",
          "text": "Full day: getting ready to first dance, 8 hours",
          "qty": 1,
          "unitCents": 380000,
          "kind": "choice",
          "group": "Coverage",
          "on": true,
          "features": [
            "Getting ready, ceremony and reception",
            "Couple's portraits at golden hour",
            "700 edited photos",
            "Online gallery for guests"
          ]
        },
        {
          "id": "extra-hours",
          "text": "Extra hours",
          "qty": 1,
          "unit": "hours",
          "unitCents": 35000,
          "kind": "optional",
          "qtyRange": {
            "min": 1,
            "max": 4
          }
        },
        {
          "id": "second",
          "text": "Second photographer",
          "qty": 1,
          "unitCents": 60000,
          "kind": "optional"
        },
        {
          "id": "album",
          "text": "Printed album, 30 pages",
          "qty": 1,
          "unitCents": 75000,
          "kind": "optional"
        }
      ]
    },
    {
      "kind": "choice",
      "id": "album-cover",
      "ask": "Which cover for the album?",
      "options": [
        {
          "id": "linen",
          "text": "Linen"
        },
        {
          "id": "leather",
          "text": "Leather"
        }
      ],
      "when": {
        "line": "album"
      }
    },
    {
      "kind": "heading",
      "id": "h-day",
      "text": "Your day"
    },
    {
      "kind": "field",
      "id": "wedding-date",
      "ask": "What is the wedding date?",
      "type": "date",
      "min": "2026-12-03"
    },
    {
      "kind": "field",
      "id": "venue",
      "ask": "Where is it?",
      "type": "text",
      "maxLength": 200
    },
    {
      "kind": "field",
      "id": "guests",
      "ask": "About how many guests?",
      "type": "number",
      "min": 2,
      "max": 600,
      "required": false
    },
    {
      "kind": "heading",
      "id": "h-terms",
      "text": "Terms"
    },
    {
      "kind": "schedule",
      "id": "payments",
      "title": "Payments and delivery",
      "steps": [
        {
          "id": "deposit",
          "text": "Deposit, which holds the date",
          "percent": 3000,
          "due": {
            "afterSigning": 0
          }
        },
        {
          "id": "balance",
          "text": "Balance",
          "rest": true,
          "due": {
            "field": "wedding-date",
            "days": -14
          }
        },
        {
          "id": "delivery",
          "text": "Edited photos delivered",
          "due": {
            "field": "wedding-date",
            "days": 42
          }
        }
      ]
    },
    {
      "kind": "text",
      "id": "terms",
      "text": "The deposit is invoiced once you sign. Travel within 50 miles is included."
    },
    {
      "kind": "notice",
      "id": "cancel",
      "text": "If you cancel more than 90 days before the wedding, the deposit is returned in full. Inside 90 days the deposit is kept."
    },
    {
      "kind": "acknowledge",
      "id": "ack-cancel",
      "text": "We have read the cancellation terms."
    }
  ],
  "signers": [
    {
      "id": "s1",
      "name": "Alex Kim",
      "email": "alex@example.com"
    }
  ]
}