Skip to content

app.onboarding_requirements

TableRow level security on

An org's onboarding packet requirements (Section 4.4.4), per role type and jurisdiction. A requirement applies to an engagement when its role type is NULL or matches and its jurisdiction is NULL or encloses the project's.

Primary key: id

Columns of app.onboarding_requirements
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
nametextNoRequirement name, for example Certificate of Insurance.
item_kindapp.onboarding_item_kindNoKind of item.
role_typeapp.external_role_typeYesExternal role type it applies to; NULL for every role type.
jurisdiction_idtextYesJurisdiction it applies in, with those beneath it; NULL everywhere.References xpms.jurisdiction.jurisdiction_id
verification_methodapp.verification_methodNoAutomatic or Reviewer.
is_blockingbooleanNoTrue when the engagement cannot become Active until the item passes.
valid_for_daysintegerYesDays a verification stays valid; NULL when it does not expire.
remind_days_beforeintegerYesDays before expiry the party is reminded.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id