Skip to content

app.gate_evidence

TableRow level security on

Gate evidence on one evidence spine (Section 3.4, Section 7.4): one row per piece of evidence against a gate criterion. Withdrawn evidence is soft deleted and stops counting.

Primary key: id

Columns of app.gate_evidence
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.References app.organizations.id
project_iduuidNoProject the evidence is for.References app.projects.id
criterion_idtextNoCanon gate criterion the evidence satisfies (Bible tab 06).References xpms.dim_gate_criterion.criterion_id
evidence_uritextYesLocation of the evidence document.
notetextYesWhat the evidence shows.
assertion_rankintegerNoAssertion rank of the evidence, 0 to 4 (Bible tab 22). Rank 0 is an absent claim and never satisfies a criterion.References xpms.dim_assertion_rank.rank
attested_byuuidYesPerson who attested the evidence, set from the session.References app.people.id
attested_attimestamp with time zoneNoWhen the evidence was attested, set by the database.
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
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
record_iduuidYesRecord that evidences the criterion, for example a Permit or Inspection record.References app.records.id