Annotated Supply Agreement
The board copy of a three-year timber supply agreement between Holderness Timber and Brightwater Furniture. The contract runs in a wide column; beside it, in a narrow tinted one, the general counsel's notes tell the board what each important clause means for the business.
- Letterhead and cover. Brightwater's mark and the general counsel's office over a rule, the title beside a QR code that checks the copy against the executed agreement, and the two parties side by side in ruled boxes, each with its own svg mark, address and company number, all bound from data.
- Clauses beside notes. One columns row,
widths[2, 1]: eleven numbered clauses with their sub-clauses in the wide track, the notes keyed to clause numbers in the narrow one, a rule down the gap between them. The row is taller than a page, so it breaks inside both columns and runs on over three pages, the notes' tint continuing beside the clauses after the notes end. - Footnotes to the statutes. Four clauses cite the law in a footnote; each note stands at the foot of the page its number is on, beneath that page's part of the row.
- Execution with signature fields. Each party signs in a PDF signature field labelled with its name, with a date field beneath, so the agreement can be signed electronically.
- Running header and footer. The agreement number and the parties on every page but the first, "Confidential" and "Page N of M" in the footer.
Features used: PDF/A-4, PDF/UA-2 conformance, columns, SVG, barcodes (qrcode), form fields (text), empty signature fields, footnotes, data binding, headers and footers
- Output
- Template
- Data
How it's built
The clauses and the notes are the two stacks of one columns node. The notes' stack opens with a node that has only a style: it is that column's own box, so its tint fills the narrow track for the whole height of the row, on every page.
{"columns": {"style": "clauseRow", "widths": [2, 1], "gap": 20, "rows": [
[ {"h2": "1. Definitions", "style": "clauseHead"},
{"p": "[b]1.1[/b] In this Agreement, [b]Goods[/b] means ...", "style": "clause"},
/* clauses 1 to 11 */ ],
[ {"style": "notesCol"},
{"p": "NOTES FOR THE BOARD", "style": "notesHead"},
{"p": "[b]Clause 3.3.[/b] The Minimum Annual Volume is 1,800 cubic metres.", "style": "note"}
/* one note per clause worth a word */ ]
]}}
"clauseRow": {"columnRule": "0.5pt solid #D6C7B5"},
"notesCol": {"backgroundColor": "#F8F5F0", "padding": 9},
"clauseHead": {"fontFamily": "Serif", "fontSize": 10.5, "fontWeight": "bold", "breakAfter": "avoid"}
A footnote is written where it is cited, inside the clause: ... in each contract year.[note]Commercial Code of Verdania, art. 214: ...[/note]. The row leaves room at each page's foot for the notes its part of the clauses cites, so a note never lands on a different page from its number. A clause heading keeps with the clause under it. The row's style is named clauseRow, not body: body is the style every block falls back to, and a column rule set there would rule every columns row of the document, footer included.
Each signature line is a field node, {"name": "supplierSignature", "fieldType": "signature", "label": "$data.signatories.0.party", "width": 231, "height": 38}, and the QR code a [barcode, qrcode, $data.agreement.verify, 64|64] in the title block.