{
  "files": {
    "dim_species.csv": {
      "table": "dim_species",
      "columns": [
        {
          "name": "species_id",
          "type": "INTEGER"
        },
        {
          "name": "scientific_name",
          "type": "VARCHAR"
        },
        {
          "name": "common_name",
          "type": "VARCHAR"
        },
        {
          "name": "class",
          "type": "VARCHAR"
        },
        {
          "name": "order_name",
          "type": "VARCHAR"
        },
        {
          "name": "family",
          "type": "VARCHAR"
        },
        {
          "name": "genus",
          "type": "VARCHAR"
        }
      ],
      "primaryKey": [
        "species_id"
      ],
      "foreignKeys": [],
      "rows": 76,
      "bytes": 6186,
      "sha256": "0e9f06de4261c9edcbd2b6420dbe2eb1ec48ee25917047f3aefedce39c5e41e7",
      "sources": [
        {
          "name": "critwire",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "critwire (https://critwire.com), CC BY 4.0",
          "url": "https://critwire.com/v1/attribution.json"
        }
      ]
    },
    "dim_country.csv": {
      "table": "dim_country",
      "columns": [
        {
          "name": "country_code",
          "type": "VARCHAR"
        },
        {
          "name": "name",
          "type": "VARCHAR"
        },
        {
          "name": "continent",
          "type": "VARCHAR"
        },
        {
          "name": "region",
          "type": "VARCHAR"
        },
        {
          "name": "subregion",
          "type": "VARCHAR"
        }
      ],
      "primaryKey": [
        "country_code"
      ],
      "foreignKeys": [],
      "rows": 251,
      "bytes": 11227,
      "sha256": "f329f8e1bb9ae99b50581660a0271457f633cd868dfc56fe9664c0a5b1ca601e",
      "sources": [
        {
          "name": "Natural Earth",
          "license": "Public domain",
          "licenseUrl": null,
          "citation": "Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com.",
          "url": "https://www.naturalearthdata.com/"
        }
      ]
    },
    "dim_dataset.csv": {
      "table": "dim_dataset",
      "columns": [
        {
          "name": "dataset_key",
          "type": "VARCHAR"
        },
        {
          "name": "title",
          "type": "VARCHAR"
        },
        {
          "name": "publisher",
          "type": "VARCHAR"
        },
        {
          "name": "doi",
          "type": "VARCHAR"
        },
        {
          "name": "license",
          "type": "VARCHAR"
        }
      ],
      "primaryKey": [
        "dataset_key"
      ],
      "foreignKeys": [],
      "rows": 400,
      "bytes": 72797,
      "sha256": "3bd8c17262391e827c967cf8536606b3397521965e49eb45dfe96c86a54c1fb3",
      "sources": [
        {
          "name": "GBIF occurrence download",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "GBIF.org (23 October 2026) GBIF Occurrence Download https://doi.org/10.15468/dl.fbpk9w",
          "url": "https://doi.org/10.15468/dl.fbpk9w",
          "doi": "10.15468/dl.fbpk9w",
          "datasets": "datasets.csv",
          "derivedDataset": {
            "doi": "10.15468/dd.5sthtk",
            "citation": "Derived dataset GBIF.org (28 October 2026) Filtered export of GBIF occurrence data https://doi.org/10.15468/dd.5sthtk",
            "url": "https://doi.org/10.15468/dd.5sthtk"
          }
        }
      ]
    },
    "dim_year.csv": {
      "table": "dim_year",
      "columns": [
        {
          "name": "year",
          "type": "INTEGER"
        },
        {
          "name": "decade",
          "type": "INTEGER"
        },
        {
          "name": "label",
          "type": "VARCHAR"
        }
      ],
      "primaryKey": [
        "year"
      ],
      "foreignKeys": [],
      "rows": 177,
      "bytes": 2670,
      "sha256": "e207bda20a605a16636e7585f097e29128fbbb4acdc53baf88a7a4c13b14091d",
      "sources": [
        {
          "name": "GBIF occurrence download",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "GBIF.org (23 October 2026) GBIF Occurrence Download https://doi.org/10.15468/dl.fbpk9w",
          "url": "https://doi.org/10.15468/dl.fbpk9w",
          "doi": "10.15468/dl.fbpk9w",
          "datasets": "datasets.csv",
          "derivedDataset": {
            "doi": "10.15468/dd.5sthtk",
            "citation": "Derived dataset GBIF.org (28 October 2026) Filtered export of GBIF occurrence data https://doi.org/10.15468/dd.5sthtk",
            "url": "https://doi.org/10.15468/dd.5sthtk"
          }
        }
      ]
    },
    "fact_records.csv": {
      "table": "fact_records",
      "columns": [
        {
          "name": "record_id",
          "type": "BIGINT"
        },
        {
          "name": "species_id",
          "type": "INTEGER"
        },
        {
          "name": "country_code",
          "type": "VARCHAR"
        },
        {
          "name": "dataset_key",
          "type": "VARCHAR"
        },
        {
          "name": "year",
          "type": "INTEGER"
        },
        {
          "name": "month",
          "type": "INTEGER"
        },
        {
          "name": "basis_of_record",
          "type": "VARCHAR"
        },
        {
          "name": "license",
          "type": "VARCHAR"
        },
        {
          "name": "longitude",
          "type": "DOUBLE"
        },
        {
          "name": "latitude",
          "type": "DOUBLE"
        },
        {
          "name": "coordinate_uncertainty_m",
          "type": "DOUBLE"
        }
      ],
      "primaryKey": [
        "record_id"
      ],
      "foreignKeys": [
        {
          "columns": [
            "species_id"
          ],
          "references": {
            "file": "dim_species.csv",
            "columns": [
              "species_id"
            ]
          }
        },
        {
          "columns": [
            "country_code"
          ],
          "references": {
            "file": "dim_country.csv",
            "columns": [
              "country_code"
            ]
          }
        },
        {
          "columns": [
            "dataset_key"
          ],
          "references": {
            "file": "dim_dataset.csv",
            "columns": [
              "dataset_key"
            ]
          }
        },
        {
          "columns": [
            "year"
          ],
          "references": {
            "file": "dim_year.csv",
            "columns": [
              "year"
            ]
          }
        }
      ],
      "rows": 40395,
      "bytes": 4475330,
      "sha256": "3e325e6f8ab39eec5964a8abb2322d9919553a8a3a5919c12740c655f893b76e",
      "sources": [
        {
          "name": "GBIF occurrence download",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "GBIF.org (23 October 2026) GBIF Occurrence Download https://doi.org/10.15468/dl.fbpk9w",
          "url": "https://doi.org/10.15468/dl.fbpk9w",
          "doi": "10.15468/dl.fbpk9w",
          "datasets": "datasets.csv",
          "derivedDataset": {
            "doi": "10.15468/dd.5sthtk",
            "citation": "Derived dataset GBIF.org (28 October 2026) Filtered export of GBIF occurrence data https://doi.org/10.15468/dd.5sthtk",
            "url": "https://doi.org/10.15468/dd.5sthtk"
          }
        }
      ]
    },
    "fact_species_country.csv": {
      "table": "fact_species_country",
      "columns": [
        {
          "name": "species_id",
          "type": "INTEGER"
        },
        {
          "name": "country_code",
          "type": "VARCHAR"
        }
      ],
      "primaryKey": [
        "species_id",
        "country_code"
      ],
      "foreignKeys": [
        {
          "columns": [
            "species_id"
          ],
          "references": {
            "file": "dim_species.csv",
            "columns": [
              "species_id"
            ]
          }
        },
        {
          "columns": [
            "country_code"
          ],
          "references": {
            "file": "dim_country.csv",
            "columns": [
              "country_code"
            ]
          }
        }
      ],
      "rows": 472,
      "bytes": 2818,
      "sha256": "287732eced6aec08e1a9a3a1eb5e956209bbfe0878258f95a50f776bc1778a45",
      "sources": [
        {
          "name": "critwire",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "critwire (https://critwire.com), CC BY 4.0",
          "url": "https://critwire.com/v1/attribution.json"
        }
      ]
    },
    "dim_habitat_class.csv": {
      "table": "dim_habitat_class",
      "columns": [
        {
          "name": "habitat_code",
          "type": "INTEGER"
        },
        {
          "name": "name",
          "type": "VARCHAR"
        },
        {
          "name": "level1_code",
          "type": "INTEGER"
        },
        {
          "name": "level1_name",
          "type": "VARCHAR"
        }
      ],
      "primaryKey": [
        "habitat_code"
      ],
      "foreignKeys": [],
      "rows": 75,
      "bytes": 4525,
      "sha256": "d9f8f0c34b4d15bd342add03fd6f836c86f8bc18681247093927e16e54a2fc35",
      "sources": [
        {
          "name": "Jung et al. 2020, habitat map v004",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "Jung, M., Dahal, P.R., Butchart, S.H.M., Donald, P.F., De Lamo, X., Lesiv, M., Kapos, V., Rondinini, C., Visconti, P. (2020). A global map of terrestrial habitat types. Scientific Data 7, 256. https://doi.org/10.1038/s41597-020-00599-8. Version 004, https://doi.org/10.5281/zenodo.4058819 (CC BY 4.0).",
          "url": "https://doi.org/10.5281/zenodo.4058819",
          "doi": "10.5281/zenodo.4058819"
        }
      ]
    },
    "fact_country_habitat.csv": {
      "table": "fact_country_habitat",
      "columns": [
        {
          "name": "country_code",
          "type": "VARCHAR"
        },
        {
          "name": "habitat_code",
          "type": "INTEGER"
        },
        {
          "name": "est_area_km2",
          "type": "DECIMAL(12,2)"
        }
      ],
      "primaryKey": [
        "country_code",
        "habitat_code"
      ],
      "foreignKeys": [
        {
          "columns": [
            "country_code"
          ],
          "references": {
            "file": "dim_country.csv",
            "columns": [
              "country_code"
            ]
          }
        },
        {
          "columns": [
            "habitat_code"
          ],
          "references": {
            "file": "dim_habitat_class.csv",
            "columns": [
              "habitat_code"
            ]
          }
        }
      ],
      "rows": 5578,
      "bytes": 78367,
      "sha256": "d6e6a6b399a12bb84099ab159d5d5a7000d2b2040e42645f16c18b848ba0621a",
      "sources": [
        {
          "name": "Jung et al. 2020, habitat map v004",
          "license": "CC BY 4.0",
          "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
          "citation": "Jung, M., Dahal, P.R., Butchart, S.H.M., Donald, P.F., De Lamo, X., Lesiv, M., Kapos, V., Rondinini, C., Visconti, P. (2020). A global map of terrestrial habitat types. Scientific Data 7, 256. https://doi.org/10.1038/s41597-020-00599-8. Version 004, https://doi.org/10.5281/zenodo.4058819 (CC BY 4.0).",
          "url": "https://doi.org/10.5281/zenodo.4058819",
          "doi": "10.5281/zenodo.4058819"
        },
        {
          "name": "Natural Earth",
          "license": "Public domain",
          "licenseUrl": null,
          "citation": "Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com.",
          "url": "https://www.naturalearthdata.com/"
        }
      ]
    }
  }
}
