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
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.References app.organizations.id |
| name | text | No | Requirement name, for example Certificate of Insurance. |
| item_kind | app.onboarding_item_kind | No | Kind of item. |
| role_type | app.external_role_type | Yes | External role type it applies to; NULL for every role type. |
| jurisdiction_id | text | Yes | Jurisdiction it applies in, with those beneath it; NULL everywhere.References xpms.jurisdiction.jurisdiction_id |
| verification_method | app.verification_method | No | Automatic or Reviewer. |
| is_blocking | boolean | No | True when the engagement cannot become Active until the item passes. |
| valid_for_days | integer | Yes | Days a verification stays valid; NULL when it does not expire. |
| remind_days_before | integer | Yes | Days before expiry the party is reminded. |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |