app.onboarding_requirements
TablaSeguridad a nivel de fila activa
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.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org. A row never moves to another org.Hace referencia a 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 | Sí | External role type it applies to; NULL for every role type. |
| jurisdiction_id | text | Sí | Jurisdiction it applies in, with those beneath it; NULL everywhere.Hace referencia a 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 | Sí | Days a verification stays valid; NULL when it does not expire. |
| remind_days_before | integer | Sí | Days before expiry the party is reminded. |
| deleted_at | timestamp with time zone | Sí | 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 | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |