Relay schema
The open schema
A relay is one JSON document, relay.context-package.v1. It carries what you’re sharing, why, with whom, and the rules for how their agent may speak for you. The product is Relay’s; the format is open, so anyone can see exactly what is shared and how it may be used.
Your words stay yours
Your purpose is quoted, never paraphrased. The model’s reading sits in its own block, and you confirm it.
Every value says where it came from
Stated by you, inferred by a model, or taken from a named source. Nothing unmarked.
Rules travel with the context
The recipient’s agent loads the mandate before the content: what it may say, what it must ask you, what it must never do.
Four questions, 11 blocks
Every package answers the same four questions. Pick one to see its blocks and fields.
Who is it for, and why?
The owner, the one audience it’s written for, and what the owner wants to happen, in their own words.
owner: The person whose context this is. Only they can approve it.namerequiredidcontact
One named recipient (a person, a team or an app), with what they already know and what they care about, so their agent pitches it right.
namerequiredkindwho receives it. An app (an integration) receives through its own agent, under the same grant, mandate, and receipts as a person.personteamapp
emailconfirmed by the owner before sharing. Grants are issued to this identity.relationshiprequired e.g. co-founder, investor, hiring manager, clientroleorganizationknowsAlready[]caresAbout[]likelyQuestions[]registeraccess
What the owner wants to happen. statement is kept verbatim; the outcome, the ask, and the priorities sit next to it.
statementrequiredoutcometextrequiredprovenancerequired
successLooksLike[]askwhyNowwhyThisAudienceinterests[]priorities[]nonGoals[]
What did the agent read into it?
The model’s interpretation, kept apart from what the owner said, and reviewed by the owner before anything is shared.
restatementrequiredrestatementVerdictinferences[]requiredclarifications[]openAmbiguities[]reviewedIn
What is being shared?
subjectrequiredkindsections[]requiredexcluded[]
Decisions and variables
decisions[]variables[]assumptions[]evidence[]risks[]counterarguments[]unknowns[]
The owner’s own principles
principles[]preferences[]redLines[]
How may their agent speak for you?
rolerequiredopeningrequiredspeaksAsfidelityrequiredmay[]mustAskOwner[]requiredmustNot[]requiredwhenUnknownrequiredpassOnfidelityChecks[]requiredpermissionrequiredreturnChannelexpectedResponsemoderequiredexpiresAtrefreshstaleSections[]grantIdrevocationUrl