{"id":313,"date":"2026-10-15T21:33:09","date_gmt":"2026-10-15T21:33:09","guid":{"rendered":"https:\/\/blog.skndan.com\/jsontoimg\/2026\/10\/15\/certificate-of-completion-template-fields\/"},"modified":"2026-11-17T13:33:17","modified_gmt":"2026-11-17T13:33:17","slug":"certificate-of-completion-template-fields","status":"publish","type":"post","link":"https:\/\/blog.skndan.com\/jsontoimg\/2026\/10\/15\/certificate-of-completion-template-fields\/","title":{"rendered":"Certificate of Completion: 6 Fields Worth Making Layers"},"content":{"rendered":"<p>A certificate of completion looks like one design, but only some of it changes per person. Making everything a layer produces a fragile template. Making too little a layer produces a hand-edited one. These six fields are the ones worth naming.<\/p>\n<h2>The six layers<\/h2>\n<table>\n<thead>\n<tr>\n<th>Layer<\/th>\n<th>Why it changes<\/th>\n<th>Watch for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>full_name<\/code><\/td>\n<td>One per recipient<\/td>\n<td>Long names; turn on auto-fit and test the worst case<\/td>\n<\/tr>\n<tr>\n<td><code>course<\/code><\/td>\n<td>One per programme<\/td>\n<td>Titles of two lines or more<\/td>\n<\/tr>\n<tr>\n<td><code>date<\/code><\/td>\n<td>Per completion<\/td>\n<td>Format it before sending; the API does not localize dates<\/td>\n<\/tr>\n<tr>\n<td><code>credential_id<\/code><\/td>\n<td>One per certificate<\/td>\n<td>Use an <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc9562\">RFC 9562<\/a> UUID, not a counter<\/td>\n<\/tr>\n<tr>\n<td><code>qr<\/code> (Code layer)<\/td>\n<td>Verification link<\/td>\n<td>Payload is your URL with the id in it<\/td>\n<\/tr>\n<tr>\n<td><code>signature<\/code> (image layer)<\/td>\n<td>Per issuer, if you have several<\/td>\n<td>Must be a public <code>https<\/code> file ending <code>.png<\/code>, <code>.jpg<\/code>, <code>.jpeg<\/code>, or <code>.webp<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Everything else stays in the design: border, logo, seal, and the fixed sentence &quot;has successfully completed&quot;. Locking it means a typo fix is one template edit, not 200 corrections.<\/p>\n<h2>Test with the names that break layouts<\/h2>\n<p>Size for the longest realistic name, not &quot;Ada Lovelace&quot;. Render at least these before the run:<\/p>\n<ul>\n<li>A two-word name and a six-word name, such as &quot;Mariana Fernanda de Oliveira Rodrigues&quot;<\/li>\n<li>A name with diacritics<\/li>\n<li>A course title that wraps to two lines<\/li>\n<li>A name in a non-Latin script, if your audience has them<\/li>\n<\/ul>\n<h2>Use <code>dryRun<\/code> first<\/h2>\n<p>Send <code>&quot;dryRun&quot;: true<\/code> (or <code>?dryRun=1<\/code>) with the real payload. It validates layer names and values and returns <code>{ &quot;valid&quot;: true }<\/code> with no job and no credit. A misspelled layer returns 422 instead of a certificate with placeholder text, as described under <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Reference\/Status\/422\">422 Unprocessable Content<\/a>.<\/p>\n<h2>Colour and contrast<\/h2>\n<p>Check the name against the background once, in the template. <a href=\"https:\/\/www.w3.org\/WAI\/WCAG21\/Understanding\/contrast-minimum.html\">WCAG 2.1<\/a> asks for 4.5:1 for body text and 3:1 for large text, and the check applies to every certificate you issue.<\/p>\n<h2>The QR is only as good as the page<\/h2>\n<p>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/QR_code\">QR code<\/a> carries a string. Make the string a URL on your domain, and make that page confirm the id. The pipeline around this is in the <a href=\"https:\/\/jsontoimg.com\/blog\/certificate-generator-api-guide\">bulk certificate generation from a CSV<\/a>, and the full request is in the <a href=\"https:\/\/jsontoimg.com\/use-cases\/certificates\">certificates use case<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<h3>What fields go on a certificate of completion?<\/h3>\n<p>Recipient name, course title, completion date, a credential id, and a verification QR. An issuer signature is a sixth layer when several people sign.<\/p>\n<h3>How do I stop long names overflowing?<\/h3>\n<p>Turn on auto-fit for the name layer and test the longest realistic name before the run, not the demo name.<\/p>\n<h3>Can I validate a certificate payload without spending credits?<\/h3>\n<p>Yes. Send dryRun: true with the real payload. jsontoimg validates layers and values and returns valid: true with no job and no credit.<\/p>\n<h3>Why use a UUID for the credential id?<\/h3>\n<p>A sequential number reveals how many certificates you issued and lets anyone guess a neighbour&#39;s id. An RFC 9562 UUID cannot be guessed.<\/p>\n<h2>Related Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/jsontoimg.com\/tools\/free-certificate-generator\">Free certificate generator<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/name-badges\">Name badge generator<\/a><\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/json-to-image-converter\">How JSON-to-image conversion works<\/a> \u2014 the pillar guide<\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/certificate-generator-api-guide\">bulk certificate generation from a CSV<\/a> \u2014 the full pipeline<\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/use-cases\/certificates\">Certificates use case<\/a> \u2014 the request<\/li>\n<li><a href=\"https:\/\/jsontoimg.com\/blog\/how-to-create-a-certificate-generator-with-jsontoimg\">Build a certificate generator with QR layers<\/a> \u2014 the tutorial<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Which parts of a certificate of completion should be named layers and which should stay in the design, with worst-case test data and a dry-run check.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-313","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":1,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/posts\/313\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.skndan.com\/jsontoimg\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}