Principal
Who acts: a verified sender, approver or operator.
Every Thread method that appends takes one, for example the local operator {issuer: "api", tenant: "local", subject: "operator"}. In TypeScript, Principal is also the schema that parses one.
Fields
issuerstringrequiredThe identity authority that verified it, such as "api" or "slack:T024BE7LD". Non-empty.
tenantstringrequiredThe isolation scope: a principal may act only on threads of its own tenant. Non-empty.
subjectstringrequiredWho it is within the issuer, such as a user id. Non-empty.