Skip to content

Document template · generic.training.certification

Certificate of Completion

  • Render-verified
  • Informational
  • Version 1.0.0

Awardable certificate of completion for a training course. Not a statutory award; suitable as an internal L&D credential or as an attendance certificate for mandatory training (e.g. GDPR awareness per Art. 39 GDPR, occupational safety per Directive 89/391/EEC). Structure supports open-badge style metadata (credential_id, verification URL, expiry, CPD credits) commonly used by CPD bodies and learning-management systems.

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 24 fields:

Field Required Type Description
issuing_entity Required object
issuing_entity.name Required string
issuing_entity.logo_placeholder_optional Optional string Literal placeholder string for logo (actual logo bytes handled outside this schema).
issuing_entity.authorizing_signatory_name Required string
issuing_entity.authorizing_signatory_title Required string
participant Required object
participant.name Required string
participant.employee_id_optional Optional string
training Required object
training.title Required string
training.description_optional Optional string
training.delivery_format Required enum
training.duration_hours Required number
training.completion_date Required date
training.issuing_organization_if_different Optional string
credential_id Required string
verification_url_optional Optional string
expiry_date_optional Optional date
cpd_credits_optional Optional number
signatory Required object
signatory.name Required string
signatory.title Required string
signatory.date Required date
seal_placeholder Required string Literal placeholder string rendered where an embossed/official seal would be placed.

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.training.certification",
    "data": { ... },
    "options": {"language": "en"}
  }' -o certification.pdf

Frequently asked questions

What is “Certificate of Completion”?

Awardable certificate of completion for a training course. Not a statutory award; suitable as an internal L&D credential or as an attendance certificate for mandatory training (e.g. GDPR awareness per Art. 39 GDPR, occupational safety per Directive 89/391/EEC). Structure supports open-badge style metadata (credential_id, verification URL, expiry, CPD credits) commonly used by CPD bodies and learning-management systems. On papii this document is available as template generic.training.certification: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Certificate of Completion 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 Certificate of Completion 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.