{
  "version": "1.0.0",
  "projectName": "Certificate of Completion",
  "targetLibrary": "react-pdf-renderer",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "metadata": {
    "title": "Certificate of Completion",
    "subject": "Landscape certificate with decorative border, recipient name and signatures.",
    "creator": "CodePDF",
    "producer": "CodePDF",
    "defaultPageSize": "A4",
    "defaultOrientation": "landscape"
  },
  "defaults": {
    "fontFamily": "Helvetica",
    "fontSize": 12,
    "textColor": "#000000",
    "locale": "en-US",
    "currency": "USD",
    "currencyDisplay": "symbol",
    "timeZone": "GMT",
    "dateFormat": "DD/MM/YYYY",
    "timeFormat": "HH:mm",
    "showPageNumbers": false,
    "pageNumberFormat": "{{page}} / {{total}}",
    "pageNumberPosition": "center"
  },
  "fonts": [],
  "components": {
    "root": {
      "id": "root",
      "type": "Document",
      "props": {
        "title": "Certificate of Completion"
      },
      "style": {},
      "children": [
        "certificate-of-completion-page"
      ],
      "parent": null
    },
    "certificate-of-completion-page": {
      "id": "certificate-of-completion-page",
      "type": "Page",
      "props": {
        "size": "A4",
        "orientation": "landscape",
        "wrap": true
      },
      "style": {
        "padding": 24,
        "backgroundColor": "#fffdf7",
        "flexDirection": "column"
      },
      "children": [
        "cert-outer-frame"
      ],
      "parent": "root"
    },
    "cert-outer-frame": {
      "id": "cert-outer-frame",
      "type": "View",
      "props": {},
      "style": {
        "borderWidth": 3,
        "borderColor": "#b45309",
        "padding": 10,
        "flexDirection": "column",
        "flex": 1
      },
      "children": [
        "cert-inner-frame"
      ],
      "parent": "certificate-of-completion-page",
      "label": "Outer Border Frame"
    },
    "cert-inner-frame": {
      "id": "cert-inner-frame",
      "type": "View",
      "props": {},
      "style": {
        "borderWidth": 1,
        "borderColor": "#d97706",
        "paddingTop": 28,
        "paddingBottom": 22,
        "paddingLeft": 40,
        "paddingRight": 40,
        "flexDirection": "column",
        "alignItems": "center",
        "gap": 8
      },
      "children": [
        "cert-title",
        "cert-subtitle",
        "cert-top-rule",
        "cert-certify-text",
        "cert-recipient",
        "cert-name-rule",
        "cert-completion-text",
        "cert-course-name",
        "cert-course-details",
        "cert-signatures-row",
        "cert-id"
      ],
      "parent": "cert-outer-frame",
      "label": "Inner Border Frame"
    },
    "cert-title": {
      "id": "cert-title",
      "type": "Text",
      "props": {
        "content": "CERTIFICATE"
      },
      "style": {
        "fontSize": 34,
        "fontWeight": "bold",
        "color": "#b45309",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Certificate Title"
    },
    "cert-subtitle": {
      "id": "cert-subtitle",
      "type": "Text",
      "props": {
        "content": "OF COMPLETION"
      },
      "style": {
        "fontSize": 14,
        "color": "#92400e",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Certificate Subtitle"
    },
    "cert-top-rule": {
      "id": "cert-top-rule",
      "type": "HorizontalLine",
      "props": {
        "thickness": 2,
        "color": "#d97706"
      },
      "style": {
        "width": 200,
        "height": 2,
        "marginTop": 4,
        "marginBottom": 10
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Header Divider"
    },
    "cert-certify-text": {
      "id": "cert-certify-text",
      "type": "Text",
      "props": {
        "content": "This is to certify that"
      },
      "style": {
        "fontSize": 11,
        "color": "#57534e",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Certify Text"
    },
    "cert-recipient": {
      "id": "cert-recipient",
      "type": "Text",
      "props": {
        "content": "{{recipient}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "recipient"
        }
      },
      "style": {
        "fontSize": 32,
        "fontWeight": "bold",
        "color": "#1c1917",
        "textAlign": "center",
        "marginTop": 4
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Recipient ({{recipient}})"
    },
    "cert-name-rule": {
      "id": "cert-name-rule",
      "type": "HorizontalLine",
      "props": {
        "thickness": 1,
        "color": "#d6d3d1"
      },
      "style": {
        "width": 280,
        "height": 1,
        "marginBottom": 8
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Recipient Underline"
    },
    "cert-completion-text": {
      "id": "cert-completion-text",
      "type": "Text",
      "props": {
        "content": "has successfully completed the programme"
      },
      "style": {
        "fontSize": 11,
        "color": "#57534e",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Completion Text"
    },
    "cert-course-name": {
      "id": "cert-course-name",
      "type": "Text",
      "props": {
        "content": "{{courseName}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "courseName"
        }
      },
      "style": {
        "fontSize": 16,
        "fontWeight": "bold",
        "color": "#b45309",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Course Name ({{courseName}})"
    },
    "cert-course-details": {
      "id": "cert-course-details",
      "type": "Text",
      "props": {
        "content": "{{duration}}  ·  Completed on {{completionDate}}"
      },
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "{{duration}}  ·  Completed on {{completionDate}}"
        }
      },
      "style": {
        "fontSize": 10,
        "color": "#57534e",
        "textAlign": "center",
        "marginBottom": 24
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Course Details"
    },
    "cert-signatures-row": {
      "id": "cert-signatures-row",
      "type": "View",
      "props": {},
      "style": {
        "flexDirection": "row",
        "justifyContent": "space-between",
        "width": "100%",
        "paddingLeft": 40,
        "paddingRight": 40,
        "marginTop": 12,
        "marginBottom": 14
      },
      "children": [
        "cert-sig-1",
        "cert-sig-2"
      ],
      "parent": "cert-inner-frame",
      "label": "Signatories Row"
    },
    "cert-sig-1": {
      "id": "cert-sig-1",
      "type": "View",
      "props": {},
      "style": {
        "flexDirection": "column",
        "alignItems": "center",
        "gap": 3,
        "width": 190
      },
      "children": [
        "cert-sig-1-line",
        "cert-sig-1-title",
        "cert-sig-1-name"
      ],
      "parent": "cert-signatures-row",
      "label": "Signatory 1 Block"
    },
    "cert-sig-1-line": {
      "id": "cert-sig-1-line",
      "type": "HorizontalLine",
      "props": {
        "thickness": 1,
        "color": "#78716c"
      },
      "style": {
        "width": 190,
        "height": 1
      },
      "children": [],
      "parent": "cert-sig-1",
      "label": "Signatory 1 Rule"
    },
    "cert-sig-1-title": {
      "id": "cert-sig-1-title",
      "type": "Text",
      "props": {
        "content": "{{signatory1Title}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "signatory1Title"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#57534e",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-sig-1",
      "label": "Signatory 1 Title ({{signatory1Title}})"
    },
    "cert-sig-1-name": {
      "id": "cert-sig-1-name",
      "type": "Text",
      "props": {
        "content": "{{signatory1Name}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "signatory1Name"
        }
      },
      "style": {
        "fontSize": 10,
        "fontWeight": "bold",
        "color": "#1c1917",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-sig-1",
      "label": "Signatory 1 Name ({{signatory1Name}})"
    },
    "cert-sig-2": {
      "id": "cert-sig-2",
      "type": "View",
      "props": {},
      "style": {
        "flexDirection": "column",
        "alignItems": "center",
        "gap": 3,
        "width": 190
      },
      "children": [
        "cert-sig-2-line",
        "cert-sig-2-title",
        "cert-sig-2-name"
      ],
      "parent": "cert-signatures-row",
      "label": "Signatory 2 Block"
    },
    "cert-sig-2-line": {
      "id": "cert-sig-2-line",
      "type": "HorizontalLine",
      "props": {
        "thickness": 1,
        "color": "#78716c"
      },
      "style": {
        "width": 190,
        "height": 1
      },
      "children": [],
      "parent": "cert-sig-2",
      "label": "Signatory 2 Rule"
    },
    "cert-sig-2-title": {
      "id": "cert-sig-2-title",
      "type": "Text",
      "props": {
        "content": "{{signatory2Title}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "signatory2Title"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#57534e",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-sig-2",
      "label": "Signatory 2 Title ({{signatory2Title}})"
    },
    "cert-sig-2-name": {
      "id": "cert-sig-2-name",
      "type": "Text",
      "props": {
        "content": "{{signatory2Name}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "signatory2Name"
        }
      },
      "style": {
        "fontSize": 10,
        "fontWeight": "bold",
        "color": "#1c1917",
        "textAlign": "center"
      },
      "children": [],
      "parent": "cert-sig-2",
      "label": "Signatory 2 Name ({{signatory2Name}})"
    },
    "cert-id": {
      "id": "cert-id",
      "type": "Text",
      "props": {
        "content": "Certificate ID: {{certificateId}}"
      },
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "Certificate ID: {{certificateId}}"
        }
      },
      "style": {
        "fontSize": 8.5,
        "color": "#a8a29e",
        "textAlign": "center",
        "marginTop": 4
      },
      "children": [],
      "parent": "cert-inner-frame",
      "label": "Certificate ID ({{certificateId}})"
    }
  },
  "componentOrder": [
    "root",
    "certificate-of-completion-page",
    "cert-outer-frame",
    "cert-inner-frame",
    "cert-title",
    "cert-subtitle",
    "cert-top-rule",
    "cert-certify-text",
    "cert-recipient",
    "cert-name-rule",
    "cert-completion-text",
    "cert-course-name",
    "cert-course-details",
    "cert-signatures-row",
    "cert-sig-1",
    "cert-sig-1-line",
    "cert-sig-1-title",
    "cert-sig-1-name",
    "cert-sig-2",
    "cert-sig-2-line",
    "cert-sig-2-title",
    "cert-sig-2-name",
    "cert-id"
  ],
  "dataModel": [
    {
      "id": "recipient",
      "name": "recipient",
      "type": "string",
      "label": "Recipient Name",
      "sampleValue": "Sasi Kumar"
    },
    {
      "id": "courseName",
      "name": "courseName",
      "type": "string",
      "label": "Course Name",
      "sampleValue": "Advanced PDF Template Design"
    },
    {
      "id": "duration",
      "name": "duration",
      "type": "string",
      "label": "Duration",
      "sampleValue": "40 hours"
    },
    {
      "id": "completionDate",
      "name": "completionDate",
      "type": "string",
      "label": "Completion Date",
      "sampleValue": "12 February 2026"
    },
    {
      "id": "signatory1Title",
      "name": "signatory1Title",
      "type": "string",
      "label": "Signatory 1 Title",
      "sampleValue": "Programme Director"
    },
    {
      "id": "signatory1Name",
      "name": "signatory1Name",
      "type": "string",
      "label": "Signatory 1 Name",
      "sampleValue": "Priya Nair"
    },
    {
      "id": "signatory2Title",
      "name": "signatory2Title",
      "type": "string",
      "label": "Signatory 2 Title",
      "sampleValue": "Chief Instructor"
    },
    {
      "id": "signatory2Name",
      "name": "signatory2Name",
      "type": "string",
      "label": "Signatory 2 Name",
      "sampleValue": "Daniel Osei"
    },
    {
      "id": "certificateId",
      "name": "certificateId",
      "type": "string",
      "label": "Certificate ID",
      "sampleValue": "PDC-2026-004212"
    }
  ],
  "sampleData": {
    "recipient": "Sasi Kumar",
    "courseName": "Advanced PDF Template Design",
    "duration": "40 hours",
    "completionDate": "12 February 2026",
    "signatory1Title": "Programme Director",
    "signatory1Name": "Priya Nair",
    "signatory2Title": "Chief Instructor",
    "signatory2Name": "Daniel Osei",
    "certificateId": "PDC-2026-004212"
  }
}
