Museum Timed Entry
A ticket to an exhibition at the Meridian Gallery, built from the same show-ticket parts as the
carol service ticket in the terracotta palette and the sans voice. The main panel says one
thing at a time, in order: the exhibition, then the date and entry time, then the venue.
- The day's slots, from the booking system. Under the venue,
entry-slotsdraws the hourly slots from 10:00 to 17:00, each in the state the record gives it:yours-terracottalights the holder's,fullgreys the sold-out ones,openleaves the rest white. The ticket shows the visit as the booking system saw it. - Two stubs, two jobs. The left stub, kept at the door, holds the ticket number, the party, the total and the booking date; the right stub, kept by the visitor, holds the entry time, the day and how many it admits.
- An Aztec code that is also a link. It sits in the left stub's foot, with a quiet margin above its caption; Aztec is the symbology ticketing and transport scanners read. On screen the code is a live link to the ticket's verification page, so the holder who receives the PDF by mail can check it with one click.
- The venue opens its map. The venue line is a quiet line in the palette's ink, and a link to the gallery's
directions page: an inline
[link]in a span whose style statestextDecoration: none, so the span's decoration replaces the link's underline and the line keeps its plain type. - Add to calendar. The visit travels inside the PDF as an iCalendar file (RFC 5545): the entry slot, the gallery, the party and the ticket number. A reader lists it in its attachments panel, and opening it adds the visit to any calendar.
- A modern motif. A faint triangle and circle overlap in the panel's top-left corner (
modern-shapes), clear of every word. - Signed, archival and accessible. An invisible certifying PAdES signature, PDF/A-3a - the part of PDF/A that allows an embedded file of any kind, here the calendar event - and PDF/UA-1.
Features used: PDF/A-3a, PDF/UA-1 conformance, watermarks, columns, SVG, barcodes (aztec), a digital signature, attachments, links, data binding, components
- Output
- Template
- Data
How it's built
The slot strip takes each hour's state from the data, and each box's style is chosen by it:
{
"use": {
"name": "entry-slots",
"params": {
"caption": "$data.visit.slotsCaption",
"h13": "$data.slots.h13",
"h14": "$data.slots.h14",
"h15": "$data.slots.h15"
}
}
}
The calendar event is an attachment of the document; its relationship says it supplements the page rather than rendering it, and its media type is stated rather than guessed:
{
"attachments": [
{
"fileName": "meridian-gallery-visit.ics",
"filePath": "attachments/museum-timed-entry-mgm-27-118204.ics",
"description": "Add the visit to a calendar: Form & Colour, entry 14:00 on 17 April 2027, ticket MGM-27-118204",
"relationship": "supplement",
"mimeType": "text/calendar"
}
]
}
The code's link is an svg rectangle with no paint: any svg shape takes link, so a rectangle laid over the code turns
it into a link without touching the symbol:
{
"rect": {
"x": 0,
"y": 0,
"width": 54,
"height": 54,
"style": "museumCodeTarget",
"link": "https://$data.ticket.verify"
}
}
Timed Entry Sheet
Four visits to one exhibition on one day, printed on one Letter sheet: each the ticket above ticket bound to its own record, in its own palette.
- One component, four visits. The sheet's content is one table over
$data.tickets, each row placingtimed-entry-ticket- itself composed of theshow-ticketparts every show ticket shares - with that visit's values. - The day's slots, per visit. Each ticket's strip of hourly slots lights its own entry time in its own palette, the others' times greyed among the full ones.
- The art behind each ticket. The stock, the band and the corner motif are page watermarks centred on each ticket and bound to its record, the microprint naming its number, its time and its party.
- A line to cut along. The
cut-linecomponent runs edge to edge in the 12pt gap under each 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": "entrySheet",
"widths": [1],
"source": "$data.tickets",
"rows": [[{
"style": "entrySlot",
"columns": { "widths": [1], "rows": [[{ "use": { "name": "timed-entry-ticket", "params": { "palette": "$item.ticket.palette", "ticketNo": "$item.ticket.number", "entryTime": "$item.visit.entryTime", "party": "$item.party.description" } } }]] }
}]]
}
}
The cut line, one component placed in each gap from the page's top:
{
"use": { "name": "cut-line", "x": 0, "y": 199, "width": 576, "height": 10 }
}