Accent Fields Reference

Single

One target — wakes to the resolved page summary or record.


One reference: the reference data type — the Reference kind's scalar shape. In the admin this is the Reference field type.

What is stored

{ "kind": "page", "path": "/venues/the-earl" }

or { "kind": "asset", "assetId": "rec_…" } for a record. Identity only — the target's fields stay at the target.

Declaring one

Label Venue
Key venue
Data type reference
Editor reference_picker (browse) or autocomplete (type-ahead) — same stored shape

What a template sees

At render the reference wakes to its resolved target. A page wakes to the page summary — {title, path, url, slug, type, published, publishedAt…}; a record wakes to {title, type, data: {…}} with the record's own fields woken inside data:

<% if (venue) { %>
  <p>At <a href="<%= venue.url %>"><%= venue.title %></a></p>
<% } %>

One asset, one authoritative copy of the venue's details, read by every event that points there. A deleted target wakes to nothing — guard and render without it. A reference that cycles back to something already being woken stays shallow ({kind, path}), which is how a circle of related pages renders instead of recursing.

When the other shape fits

Several targets — related articles, the people on a project — is the Multiple shape.