Skip to main content

Variable: PersonCreateRequest

const PersonCreateRequest: TObject<{ email: TString; familyName: TString; givenName: TString; invite: TOptional<TBoolean>; parentPath: TOptional<TString>; }>

Defined in: packages/contracts/src/schemas/identity.ts:385

request.*.identity.person.create.v1 request. The person is a leaf below parentPath (default: the actor's scopePath); the receiver refuses a parent outside the actor's scope and a parent that is itself a person. The three personal fields are never stored in the clear and never leave this body: persistence seals them under the person's own key, and the idempotency row holds a hash only (D1.9, D1.10).