{
  "schema_version": "1.0",
  "version": "v2026.10.04",
  "ok": true,
  "n_primary_keys": 25,
  "n_foreign_keys": 60,
  "n_skipped": 0,
  "primary_keys": [
    {
      "table": "sample",
      "columns": "sample_key",
      "n_rows": 1479442,
      "n_distinct": 1479442,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "columns": "obs_id",
      "n_rows": 33383979,
      "n_distinct": 33383979,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "sample_measurement",
      "columns": "sample_measurement_id",
      "n_rows": 660005,
      "n_distinct": 660005,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "taxon",
      "columns": "taxon_key",
      "n_rows": 2608,
      "n_distinct": 2608,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "dataset_taxon",
      "columns": "ds_taxon_key",
      "n_rows": 1982,
      "n_distinct": 1982,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "measurement_type",
      "columns": "measurement_type",
      "n_rows": 231,
      "n_distinct": 231,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "dataset",
      "columns": "dataset_key",
      "n_rows": 22,
      "n_distinct": 22,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "obs_ctd_full",
      "columns": "obs_id",
      "n_rows": 282680638,
      "n_distinct": 282680638,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "obs_mets_full",
      "columns": "obs_id",
      "n_rows": 19926523,
      "n_distinct": 19926523,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "obs_attribute",
      "columns": "obs_attribute_id",
      "n_rows": 476615,
      "n_distinct": 476615,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "region",
      "columns": "region_key",
      "n_rows": 4,
      "n_distinct": 4,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "taxon_group",
      "columns": "taxon_group_key,taxon_key",
      "n_rows": 444,
      "n_distinct": 444,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "grid",
      "columns": "grid_key",
      "n_rows": 225,
      "n_distinct": 225,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "cruise",
      "columns": "cruise_key",
      "n_rows": 845,
      "n_distinct": 845,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "ship",
      "columns": "ship_key",
      "n_rows": 49,
      "n_distinct": 49,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "fish",
      "columns": "sample_key,species_id",
      "n_rows": 10796,
      "n_distinct": 10796,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "lookup",
      "columns": "lookup_id",
      "n_rows": 26,
      "n_distinct": 26,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "columns": "obs_id",
      "n_rows": 1602659,
      "n_distinct": 1602659,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "columns": "obs_id",
      "n_rows": 31781320,
      "n_distinct": 31781320,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "sample_root",
      "columns": "root_id",
      "n_rows": 425539,
      "n_distinct": 425539,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "sample_spatial",
      "columns": "root_sample_key,spatial_key",
      "n_rows": 945262,
      "n_distinct": 945262,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "spatial",
      "columns": "spatial_key",
      "n_rows": 13206,
      "n_distinct": 13206,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "spatial_attribute",
      "columns": "spatial_key,fld",
      "n_rows": 148461,
      "n_distinct": 148461,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "climatology",
      "columns": "dataset_key,site_key,month,depth_bin,measurement_type",
      "n_rows": 821402,
      "n_distinct": 821402,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    },
    {
      "table": "grid_crosswalk",
      "columns": "prev_grid_key,grid_key",
      "n_rows": 673,
      "n_distinct": 673,
      "n_dup": 0,
      "n_null": 0,
      "status": "ok"
    }
  ],
  "foreign_keys": [
    {
      "table": "sample",
      "column": "parent_sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 1479442,
      "n_null": 425539,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample",
      "column": "root_sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 1479442,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 33383979,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "column": "taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 33383979,
      "n_null": 31782104,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 33383979,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_measurement",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 660005,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_measurement",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 660005,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "dataset_taxon",
      "column": "taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 1982,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "taxon",
      "column": "parent_taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 2608,
      "n_null": 21,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_attribute",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 476615,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_attribute",
      "column": "taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 476615,
      "n_null": 843,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_attribute",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 476615,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "taxon_group",
      "column": "taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 444,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 1479442,
      "n_null": 23313,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 1479442,
      "n_null": 15710,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 33383979,
      "n_null": 308693,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 33383979,
      "n_null": 152342,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "fish",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 10796,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "fish",
      "column": "taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 10796,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 33383979,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 1479442,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_measurement",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 660005,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_ctd_full",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 282680638,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_ctd_full",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 282680638,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_ctd_full",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 282680638,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "dataset_taxon",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 1982,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_spatial",
      "column": "root_sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 945262,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_spatial",
      "column": "spatial_key",
      "ref_table": "spatial",
      "ref_column": "spatial_key",
      "n_rows": 945262,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_root",
      "column": "root_sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 425539,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "root_id",
      "ref_table": "sample_root",
      "ref_column": "root_id",
      "n_rows": 1602659,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "column": "root_id",
      "ref_table": "sample_root",
      "ref_column": "root_id",
      "n_rows": 31781320,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 1602659,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "column": "sample_key",
      "ref_table": "sample",
      "ref_column": "sample_key",
      "n_rows": 31781320,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 1602659,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 31781320,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 1602659,
      "n_null": 200831,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 31781320,
      "n_null": 107862,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 1602659,
      "n_null": 143189,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 31781320,
      "n_null": 9153,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 1602659,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_env",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 31781320,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_bio",
      "column": "taxon_key",
      "ref_table": "taxon",
      "ref_column": "taxon_key",
      "n_rows": 1602659,
      "n_null": 784,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "climatology",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 821402,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "climatology",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 821402,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "climatology",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 821402,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample",
      "column": "station_uuid",
      "ref_table": "sample",
      "ref_column": "source_uuid",
      "n_rows": 1479442,
      "n_null": 443716,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "spatial_attribute",
      "column": "spatial_key",
      "ref_table": "spatial",
      "ref_column": "spatial_key",
      "n_rows": 148461,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_mets_full",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 19926523,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_mets_full",
      "column": "measurement_type",
      "ref_table": "measurement_type",
      "ref_column": "measurement_type",
      "n_rows": 19926523,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_mets_full",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 19926523,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_mets_full",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 19926523,
      "n_null": 16128,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_ctd_full",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 282680638,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_ctd_full",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 282680638,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_root",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 425539,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_root",
      "column": "cruise_key",
      "ref_table": "cruise",
      "ref_column": "cruise_key",
      "n_rows": 425539,
      "n_null": 15120,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_root",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 425539,
      "n_null": 8469,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "sample_spatial",
      "column": "root_id",
      "ref_table": "sample_root",
      "ref_column": "root_id",
      "n_rows": 945262,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "cruise",
      "column": "ship_key",
      "ref_table": "ship",
      "ref_column": "ship_key",
      "n_rows": 845,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "obs_attribute",
      "column": "dataset_key",
      "ref_table": "dataset",
      "ref_column": "dataset_key",
      "n_rows": 476615,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    },
    {
      "table": "grid_crosswalk",
      "column": "grid_key",
      "ref_table": "grid",
      "ref_column": "grid_key",
      "n_rows": 673,
      "n_null": 0,
      "n_orphan": 0,
      "status": "ok"
    }
  ]
}
