{
  "spec": "quick-html/v0",
  "id": "certificate",
  "version": "0.1.0",
  "name": "Certificate",
  "description": "Formal A4 landscape certificate of completion or award: layered navy-and-gold border with corner flourishes, large italic recipient name, programme line, two signature blocks and a gold starburst seal. Pick for course completions, training awards, diplomas and staff recognition.",
  "useWhen": [
    "certificate of completion",
    "award certificate",
    "training certificate",
    "diploma",
    "certificaat",
    "urkunde",
    "certificat",
    "employee recognition award"
  ],
  "format": "printable",
  "theme": "education",
  "audience": [
    "teacher",
    "hr"
  ],
  "tags": [
    "certificate",
    "award",
    "completion",
    "training",
    "diploma"
  ],
  "language": "en",
  "page": {
    "size": "A4",
    "orientation": "landscape"
  },
  "modules": [
    "edit-overlay",
    "print-helper"
  ],
  "slots": [
    {
      "name": "doc-title",
      "type": "text",
      "required": true,
      "example": "Certificate of Completion — Emma van der Berg",
      "notes": "Browser tab title; used as the download filename."
    },
    {
      "name": "issuer-name",
      "type": "text",
      "required": true,
      "example": "De Nieuwe Academie",
      "notes": "Issuing organisation, letterhead position; rendered in spaced capitals."
    },
    {
      "name": "kicker",
      "type": "text",
      "required": true,
      "example": "Certificate of Completion",
      "notes": "Award type, 2–4 words in normal case ('Certificate of Achievement'); CSS renders it in spaced capitals."
    },
    {
      "name": "recipient-name",
      "type": "text",
      "required": true,
      "example": "Emma van der Berg",
      "notes": "The hero of the page, rendered ~56px italic. MUST fit on one line — drop honorifics/middle names if over ~28 characters."
    },
    {
      "name": "achievement-text",
      "type": "html",
      "required": true,
      "example": "<p>has successfully completed all 48 contact hours, the casework and the concluding assessment of</p>",
      "notes": "One <p>, max ~2 lines (≤170 chars); phrase it to read into programme-name, ending in 'of'."
    },
    {
      "name": "programme-name",
      "type": "text",
      "required": true,
      "example": "Leadership & Strategy Programme",
      "notes": "Programme/course/award title on its own emphasized line; keep under ~60 characters."
    },
    {
      "name": "award-line",
      "type": "text",
      "required": true,
      "example": "Awarded in Amsterdam on 14 Aug 2026",
      "notes": "Pattern 'Awarded in <place> on <date>'; date format like '14 Aug 2026'."
    },
    {
      "name": "sig-1-name",
      "type": "text",
      "required": true,
      "example": "Dr. Hanneke de Vries",
      "notes": "Printed name under the first signature rule."
    },
    {
      "name": "sig-1-title",
      "type": "text",
      "required": true,
      "example": "Programme Director",
      "notes": "Role of the first signatory; rendered in small spaced capitals."
    },
    {
      "name": "sig-2-name",
      "type": "text",
      "required": false,
      "example": "Prof. Marc Jansen",
      "notes": "Inside the signature-2 optional block."
    },
    {
      "name": "sig-2-title",
      "type": "text",
      "required": false,
      "example": "Dean, De Nieuwe Academie",
      "notes": "Inside the signature-2 optional block."
    },
    {
      "name": "cert-id-line",
      "type": "text",
      "required": false,
      "example": "Certificate no. DNA-2026-0417 · verify at denieuweacademie.nl/verify",
      "notes": "Inside the certificate-id optional block; tiny type at the bottom edge."
    },
    {
      "name": "footer-line",
      "type": "text",
      "required": false,
      "example": "De Nieuwe Academie · Keizersgracht 174, 1016 DW Amsterdam · denieuweacademie.nl",
      "notes": "Very muted line below the frame; issuer address or contact."
    }
  ],
  "optionals": [
    {
      "name": "signature-2",
      "description": "Second signature block (rule, printed name, title) right of the seal; remove when only one signatory is known."
    },
    {
      "name": "certificate-id",
      "description": "Tiny certificate number / verification line at the bottom edge inside the frame; remove when there is no id."
    }
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "date": "2026-08-14",
      "notes": "Initial release: A4 landscape certificate with layered border, corner flourishes, gold starburst seal and dual signature blocks."
    }
  ],
  "agentInstructions": "Formal register throughout ('has successfully completed …'); no exclamation marks, and NEVER invent accreditation, CPD points, grades, hours or verification URLs the user did not state. Keep recipient-name on ONE line — it renders very large; if a long name (roughly over 28 characters) threatens to wrap, shorten it by dropping honorifics or middle names ('Emma van der Berg', not 'Dr. Emma Charlotte van der Berg MSc') rather than letting it break. achievement-text: one <p>, at most ~2 short lines (≤170 chars), phrased to read into programme-name on the next line (end it with '… of'); mention hours or level only if the user provides them. kicker: the award type in normal case ('Certificate of Achievement'); CSS renders it in spaced capitals — keep it 2–4 words. Dates exactly like the placeholder ('14 Aug 2026'); award-line pattern 'Awarded in <place> on <date>'. Remove the signature-2 optional when only one signatory is known, and the certificate-id optional when no certificate number or verification line is needed. If issuer or signatory details are unknown, leave recognizable placeholders like [ISSUER NAME] or [SIGNATORY NAME] and tell the user to fill them via the built-in Edit button.",
  "license": "MIT",
  "authors": [
    {
      "github": "bvrln"
    }
  ]
}
