tipline/message
https://toip.tools/spec/tipline/message/0.1
A reply or a follow-up in a tip's conversation, in either direction.
- Sent
- source or drop box the other
- Kind
- One-way. No response is expected; any answer is a separate message.
- Envelope
- Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
- Defined in
projects/tipline/src/protocol/messages.ts:14asMESSAGE- Handled in
projects/tipline/src/agents/inbox.ts,projects/tipline/src/agents/source.ts- Design
- 7.1 Message types in
projects/tipline/docs/design.md
Payload
export interface MessagePayload {
tipId: string;
/** Unique per message, so a resent thread doesn't show a message twice. */
id: string;
text: string;
/** Set when the drop box resends the thread: who first wrote this message, and when (to the hour). */
from?: "source" | "dropbox";
at?: string;
padding?: string;
}
Notes
When the drop box resends a thread, each message says who first wrote it and when, to the hour.
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/tipline/message/0.1",
"issuer": "did:key:… (the sender)",
"recipient": "did:key:… (the receiver)",
"issuedAt": "2026-11-06T18:00:00.000Z",
"payload": { … },
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "eddsa-jcs-2022",
"verificationMethod": "did:key:…#…",
"proofPurpose": "assertionMethod",
"proofValue": "z…"
}
}