Skip to content

Document template · generic.correspondence.condolence

Letter of Condolence

  • Render-verified
  • Informational
  • Version 1.0.0

Formal letter of condolence acknowledging a loss, sharing a personal recollection of the deceased, and offering concrete support to the recipient.

JSON Schema

Fields in this template

Data sent to the API is validated against the template’s JSON Schema before anything is rendered. This template defines 17 fields:

Field Required Type Description
sender Required object
sender.name Required string
sender.address Required string
recipient Required object
recipient.name Required string
recipient.address Required string
letter_date Required date
deceased Required object
deceased.name Required string
deceased.relationship_to_recipient Optional string
deceased.date_of_passing Optional date
personal_recollection Required string
tribute Optional string
support_offer Required string
signatory Required object
signatory.name Required string
signatory.role Required string

POST /render

Generate it

One POST /render call: send your JSON, get the finished PDF back. Or skip the JSON entirely and describe the document in plain language on chut.app.

curl
curl -X POST https://api.papii.eu/render \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "generic.correspondence.condolence",
    "data": { ... },
    "options": {"language": "en"}
  }' -o condolence.pdf

Frequently asked questions

What is “Letter of Condolence”?

Formal letter of condolence acknowledging a loss, sharing a personal recollection of the deceased, and offering concrete support to the recipient. On papii this document is available as template generic.correspondence.condolence: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Letter of Condolence with AI?

Yes. chut.app — the AI back office papii powers — fills this template from a plain-language description: you describe the document in one sentence, the AI structures the data, papii validates it against the schema and renders the PDF. Developers can also call the papii API directly with structured JSON.

Is the Letter of Condolence template legally compliant?

This template is render-verified: its schema, sample data and PDF output are automatically tested on every release. It is published with status “ready”, meaning it has not yet been through papii’s final legal review. Where it references specific legislation, that is stated in the template description — always have a professional check documents with legal effect before relying on them.