Match Ticket
A Verdania Premier League ticket in the style of a box-office print: a stub of codes on the left, the seat across the
top, the fixture in condensed type, and the turnstile code up the right-hand stub. It is drawn by event-ticket, a
component every printed value and label of which is a parameter, so the same ticket serves a match, a festival or a
concert.
- One design, seven palettes.
palettenames the accent - red, navy, forest, plum, orange, teal or charcoal - and the bands, tiles and values take it from the style that name chooses ("style": "etFill-$data.palette"), so a club's colours are a field in its data, not a copy of the ticket. - Your block, lit on the plan. Beside the title, the ground from above - four stands of blocks around a pitch drawn
to the Laws of the Game's proportions, north at the top - with the holder's block lit in white and named. Where that
block lies comes from the record (
planX,planY,planW,planH), so North Stand N4, an away end's A2, West Upper W214 and East Stand E2 are four data files and one component,stadium-plan. The plan is a figure whose alternate text names the ground, the stand and the block. - Copy-evident, against counterfeits. Two latent bands lie on the panel, under the title's badge line and behind
the fixture: fine grey lines in which the word VOID is ruled across the grain at the same pitch and weight, so it
hardly shows on the ticket and stands out on a photocopy or a scan. Along both edges of the footer band runs the
ticket's own microprint - its club, number and block - each line set to an exact length with
textLength: at arm's length a hairline, under a loupe the ticket's details, on a copy a smudge. - Pitch markings. Behind the fixture, a football pitch drawn to the Laws of the Game's dimensions (a 9.15 m centre
circle, 16.5 m penalty areas) and inked faintly in the palette:
pitch-markings, a page watermark the document adds to the ticket's own. - Add to calendar. The match travels inside the PDF as an iCalendar file (RFC 5545) - kick-off, the ground and the
seat - embedded as a
supplementof typetext/calendar, so a reader's attachments panel opens it straight into a calendar. Embedding a file is what PDF/A-3 adds to PDF/A-2, so the ticket claims PDF/A-3a. - Live links. The QR code is also a link to the ticket's own page, the same address is printed and linked under the fixture, and the ground's name opens its getting-here page.
- Personal, not printed by the thousand. The holder's name, the ticket number microprinted along both tear lines and the footer band, the lit block and the verification address all come from the record.
- Signed. The ticket carries an invisible PAdES signature that certifies it: a ticket altered after issue no longer verifies in any PDF reader.
- Archival and accessible. It claims PDF/A-3a and PDF/UA-1. The fixture is a heading, the plan and each code name what they show, every link is tagged with its text, and the zero-size signature field is an artifact, as ISO 14289-2 8.9.2.4.13 requires.
Features used: PDF/A-3a, PDF/UA-1 conformance, watermarks, columns, SVG, barcodes (code128, qrcode), a digital signature, attachments, links, data binding, components
- Output
- Template
- Data
How it's built
event-ticket-art, placed as a page watermark, draws the stub, the bands, the icon tiles and the two microprinted tear
lines; match-ticket-security and two ticket-latent-layer marks add the microprint and the VOID bands over it, and
pitch-markings is the event's own motif. The ticket is event-ticket-plan, laid in the normal flow as a grid: the
stub, the seat row, the facts, the footer and the code are parts of their own (event-ticket-stub, -seats, -facts,
-footer, -code), each given its values as parameters, and the middle holds the plan of the ground beside the title,
lit from the seat's record, with the printed verification link under the fixture:
{
"use": {
"name": "event-ticket-plan",
"params": {
"palette": "$data.ticket.palette",
"ground": "$data.venue.name",
"stand": "$data.seat.stand",
"block": "$data.seat.block",
"blockX": "$data.seat.planX",
"blockY": "$data.seat.planY",
"blockW": "$data.seat.planW",
"blockH": "$data.seat.planH",
"verify": "$data.ticket.verify"
}
}
}
The calendar file is one entry in the document's attachments:
{
"attachments": [
{
"fileName": "MC0427-1182.ics",
"filePath": "attachments/match-ticket-fixture.ics",
"description": "The match as an iCalendar event (RFC 5545) - kick-off, the ground and your seat - to add to a calendar",
"relationship": "supplement",
"mimeType": "text/calendar"
}
]
}
Variants: the same document, other records
The three tickets below are this document bound to other data files - the same event-ticket design, the same plan,
the same security printing and the same signature. The clubs, the ground, the seat and its block on the plan, the price
band, the holder, the calendar file and the palette are the record's. A club, a cup or a league issues its tickets from
one template and its own data.
- Derby day, in red: the away end at Mill Road Ground, block A2 lit at the south end, the footer sending away supporters to their own turnstiles.
- Cup final, in navy and gold: a commemorative edition at a neutral national stadium, West Upper W214 lit. The
title is set in EB Garamond and struck in gold foil - its letters clip a gradient (
"textRenderingMode": "clip") drawn under the real heading, which the document sets in the same face and place in a transparent colour, so the title is still one heading to select, copy and read aloud. A foil rule runs along the header and a trophy drawn in svg stands under the title. All of it is the final's own: its document's styles andcup-final-foil, a component no league ticket uses. - Women's league, in teal: a junior concession, East Stand E2 lit, the footer saying who the price is for.
// events/cup-final-ticket.data.json, in part
{
"match": { "title": "Cup Final", "badge1": "Commemorative", "badge2": "Edition", "competition": "Verdania Cup · Final · 2027" },
"venue": { "name": "National Stadium" },
"seat": { "stand": "West Upper", "block": "W214", "planX": 3, "planY": 37.8, "planW": 10, "planH": 10.4 },
"ticket": { "palette": "navy", "price": "VD 85.00", "fee": "VD 4.00" }
}
- Output
- Template
- Data
- Output
- Template
- Data
- Output
- Template
- Data
Match Ticket Sheet
Three fixtures bought in one order and printed on one Letter sheet: a league match, a derby and a women's league match, each the ticket above bound to its own record. The design is written once; every ticket differs only where its data does.
- One component, three records. The sheet's content is one table whose rows come from
$data.tickets: each row placesevent-ticket-planwith that record's club, palette, stand, block, seat, price and holder. - The block lit on each ground. Each ticket's plan lights the holder's block from its own record - N4 in the North Stand, A2 at the Away End, E2 in the East Stand.
- The art behind each ticket. The stock, the VOID bands and the microprint are page watermarks, one set per ticket,
each centred on its ticket by
spacingand bound to that ticket's record, so every microprint names its own seat. - A line to cut along. A dashed rule runs edge to edge between each two tickets, labelled on a white break at its
centre: the
cut-linecomponent, placed in the 9pt gap left under each ticket. - Every fixture in the calendar. Each match travels inside the PDF as its own iCalendar file (RFC 5545).
- Signed, archival and accessible. An invisible certifying signature, PDF/A-3a and PDF/UA-1, like the single ticket.
- Output
- Template
- Data
How the sheet is built
Each ticket is one record of $data.tickets, a table row per record, its parameters read from the row's own $item:
{
"table": {
"style": "ticketSheet",
"widths": [1],
"source": "$data.tickets",
"rows": [[{
"style": "ticketSlot",
"columns": { "widths": [1], "rows": [[{ "use": { "name": "event-ticket-plan", "params": { "palette": "$item.ticket.palette", "ticketNo": "$item.ticket.number", "block": "$item.seat.block", "blockX": "$item.seat.planX", "blockY": "$item.seat.planY" } } }]] }
}]]
}
}
The cut line, one component placed in each gap from the page's top:
{
"use": { "name": "cut-line", "x": 0, "y": 260.5, "width": 576, "height": 10 }
}
Cup Final Ticket Sheet
A supporters' club's order for the Verdania Cup final, printed on one Letter sheet: three kinds of seat, each the commemorative cup final ticket bound to its own record.
- Three seats, three tickets. The same component,
event-ticket-plan, is placed once per record of$data.tickets. The records share the fixture and differ in everything a seat decides: a hospitality seat in the West Upper, an adult seat in the North Stand and a junior seat in the East Lower's family enclosure, each with its own price, booking fee, gate, holder, ticket number and codes. - A palette per category. Plum for hospitality, navy for the adult seat, teal for the family enclosure: the palette is one value in each record, and it colours the stub, the seat row, the gate, the plan, the footer and the art behind it.
- The badge and the conditions are data. Under the engraved title each ticket names its category - Hospitality Club, Commemorative Edition, Family Enclosure - and its footer states that seat's own conditions.
- Each block lit on the ground. Every plan of the national stadium lights its own holder's block: W214, N108, E122.
- A microprint per seat. Each ticket's art and security layers are page watermarks bound to its own record: the microprint names that ticket's number, stand and block.
- A line to cut along. The
cut-linecomponent runs edge to edge in the gap under each ticket. - The final in the calendar. The final travels inside the PDF once, as an iCalendar file (RFC 5545).
- Output
- Template
- Data
How the sheet is built
Each ticket is one record of $data.tickets, a table row per record, its parameters read from the row's own $item:
{
"table": {
"style": "ticketSheet",
"widths": [1],
"source": "$data.tickets",
"rows": [[{
"style": "ticketSlot",
"columns": { "widths": [1], "rows": [[{ "use": { "name": "event-ticket-plan", "params": { "palette": "$item.ticket.palette", "ticketNo": "$item.ticket.number", "holder": "$item.holder.name", "f4": "$item.seat.seat", "feeNote": "$item.ticket.category" } } }]] }
}]]
}
}
The cut line, one component placed in each gap from the page's top:
{
"use": { "name": "cut-line", "x": 0, "y": 260.5, "width": 576, "height": 10 }
}