Skip to main content

Variable: ROLE_MAILBOX_PATTERN

const ROLE_MAILBOX_PATTERN: "^[a-z]+(?:-[a-z]+)*@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)+$"

Defined in: packages/contracts/src/schemas/federation.ts:178

A role mailbox (D2.14): the local part is lowercase words joined by single hyphens, so trust-office@ and disputes@ pass while jane.doe@, jdoe42@ and j_doe@ do not. It is a heuristic against a person's address, and only that: janedoe@ still passes, which is why the review of answer files remains the second control.