All data contracts

Data contract: Defects Leaderboard

This dashboard reads 29 source columns from 6 tables. The values of 25 show up in a chart or a filter, or decide which rows are counted; the other 4 are only passed through.

Dashboard
Open in Superset(opens in a new tab)
Datasets
Built from
The dependency map of 17 Nov 2026

Before changing one of these columns: dropping it breaks this dashboard, and renaming or retyping it usually does too. Where its values are used, new status values or rewritten rows change the numbers. Ask What if first, or the BI engineer.

public.buildings in defect_services

Reached through defect_schema.buildings in site_management_services → public.mv_defect_by_type in site_management_services

ColumnTypeHow the dashboard uses itCharts
idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
namecharacter varying(255)Shown or grouped in charts
  • Defects by Building

public.defect_types in defect_services

Reached through defect_schema.defect_types in site_management_services → public.mv_defect_by_type in site_management_services

ColumnTypeHow the dashboard uses itCharts
idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
namecharacter varying(255)Shown or grouped in charts
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Top Subcontractors by Defect Type

public.defects in defect_services

Reached through defect_schema.defects in site_management_services → public.mv_defect_by_type in site_management_services

ColumnTypeHow the dashboard uses itCharts
assign_to_idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
building_idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
created_attimestamp with time zoneShown or grouped in charts
  • Average Days to Close
created_byintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
due_datetimestamp with time zoneShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
is_archivebooleanShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
last_fixed_attimestamp with time zoneShown or grouped in charts
  • Average Days to Close
last_fixed_byintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
project_idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
statuscharacter varying(255)Shown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Overdue %
  • Trade Performance
tradecharacter varying(255)Shown or grouped in charts
  • # of Open Defects
  • Overdue %
type_idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
Passed through only (3), no chart uses their values:
  • area_name
  • priority
  • updated_at

public.projects in project_services

Reached through project_schema.projects in site_management_services → public.mv_defect_by_type in site_management_services

ColumnTypeHow the dashboard uses itCharts
idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
titlecharacter varying(255)Shown or grouped in charts
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Top Subcontractors by Defect Type
Passed through only (1), no chart uses its value:
  • uuid

public.organizations in user_services

Reached through user_schema.organizations in site_management_services → public.mv_defect_by_type in site_management_services

ColumnTypeHow the dashboard uses itCharts
idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
organization_namecharacter varying(255)Shown or grouped in charts
  • Average Days to Close
  • Top Subcontractors by Defect Type
  • Trade Performance

public.users in user_services

Reached through user_schema.users in site_management_services → public.mv_defect_by_type in site_management_services

ColumnTypeHow the dashboard uses itCharts
first_namecharacter varying(255)Shown or grouped in charts
  • Defects Leaderboard by Person (Raised Most Defects)
idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more
last_namecharacter varying(255)Shown or grouped in charts
  • Defects Leaderboard by Person (Raised Most Defects)
organization_idintegerShown or grouped in charts
  • # of Open Defects
  • Average Days to Close
  • Defects Leaderboard by Person (Raised Most Defects)
  • Defects by Building
  • Overdue %
  • and 2 more