Journal event envelope (PACTS §7.1). pl shape per ty is normative (PACTS §7.3) and enforced by strict parse — unknown or missing fields reject (MALFORMED).
pl
ty
MALFORMED
const event: Event = { typ: 'me2em/pact-event/v1', pid, sq: 1, ph: prevHash, ty: 'ACT', pl: { no: 'approved' }, iat: 1700000000, sig: [{ p: pactPub, s: signature }],}; Copy
const event: Event = { typ: 'me2em/pact-event/v1', pid, sq: 1, ph: prevHash, ty: 'ACT', pl: { no: 'approved' }, iat: 1700000000, sig: [{ p: pactPub, s: signature }],};
Journal event envelope (PACTS §7.1).
plshape pertyis normative (PACTS §7.3) and enforced by strict parse — unknown or missing fields reject (MALFORMED).Example