{
  "format": "dataset-manifest/1",
  "slug": "real-estate-sales-sample-database",
  "version": 3,
  "seed": "flagship:real-estate-sales-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "real-estate-sales-sample-database",
    "name": "Real estate sales sample database",
    "tagline": "Listings, offers, appraisals and closed sales across agents and agencies.",
    "description": "A residential real estate market: properties listed in fourteen states, the offers made on them, the appraisals and inspections before closing, and the sales themselves, each tied to the agent and client who made it. Prices follow the long right tail real markets have -- most homes in the hundreds of thousands, a few in the millions -- and every offer and sale is dated after its property was listed.",
    "domain": "real-estate",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "bi-dashboards",
      "test-fixtures"
    ],
    "keywords": [
      "real estate",
      "property sales",
      "home prices",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:real-estate-sales-sample-database",
    "tables": {
      "agencies": {
        "description": "Rows for the agencies table.",
        "rows": 16,
        "columns": {
          "agency_id": {
            "kind": "pk"
          },
          "address": {
            "kind": "location.streetAddress"
          },
          "agency_name": {
            "kind": "company.name"
          },
          "city": {
            "kind": "place.city"
          },
          "phone": {
            "kind": "place.phone"
          },
          "state": {
            "kind": "place.regionCode"
          },
          "zip_code": {
            "kind": "place.postcode"
          }
        }
      },
      "agent_agencies": {
        "description": "Rows for the agent_agencies table.",
        "rows": 125,
        "columns": {
          "agent_agency_id": {
            "kind": "pk"
          },
          "agency_id": {
            "kind": "fk",
            "ref": "agencies.agency_id",
            "skew": "long-tail"
          },
          "agent_id": {
            "kind": "fk",
            "ref": "agents.agent_id",
            "skew": "long-tail"
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 1500,
            "nullable": true,
            "nullRate": 0.55
          },
          "start_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          }
        }
      },
      "agents": {
        "description": "Rows for the agents table.",
        "rows": 125,
        "columns": {
          "agent_id": {
            "kind": "pk"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            }
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "license_number": {
            "kind": "pattern",
            "pattern": "RE-#######",
            "unique": true
          },
          "phone": {
            "kind": "phone.number"
          }
        }
      },
      "appraisals": {
        "description": "Rows for the appraisals table.",
        "rows": 125,
        "columns": {
          "appraisal_id": {
            "kind": "pk"
          },
          "appraisal_date": {
            "kind": "date",
            "after": "property_id.created_at",
            "withinDays": 120
          },
          "appraised_value": {
            "kind": "decimal",
            "min": 85000,
            "max": 2400000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "appraiser_id": {
            "kind": "fk",
            "ref": "appraisers.appraiser_id",
            "skew": "long-tail"
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.property_id",
            "skew": "long-tail"
          }
        }
      },
      "appraisers": {
        "description": "Rows for the appraisers table.",
        "rows": 16,
        "columns": {
          "appraiser_id": {
            "kind": "pk"
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "license_number": {
            "kind": "pattern",
            "pattern": "[APR]-######",
            "unique": true
          }
        }
      },
      "clients": {
        "description": "Rows for the clients table.",
        "rows": 125,
        "columns": {
          "client_id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2025-12-31"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            }
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "phone": {
            "kind": "phone.number"
          }
        }
      },
      "inspections": {
        "description": "Rows for the inspections table.",
        "rows": 125,
        "columns": {
          "inspection_id": {
            "kind": "pk"
          },
          "inspection_date": {
            "kind": "date",
            "after": "property_id.created_at",
            "withinDays": 90
          },
          "inspector_id": {
            "kind": "fk",
            "ref": "inspectors.inspector_id",
            "skew": "long-tail"
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.property_id",
            "skew": "long-tail"
          },
          "result": {
            "kind": "enum",
            "values": [
              "passed",
              "passed_with_notes",
              "failed"
            ],
            "weights": [
              62,
              31,
              7
            ]
          }
        }
      },
      "inspectors": {
        "description": "Rows for the inspectors table.",
        "rows": 16,
        "columns": {
          "inspector_id": {
            "kind": "pk"
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "license_number": {
            "kind": "pattern",
            "pattern": "INS-######",
            "unique": true
          }
        }
      },
      "neighbourhoods": {
        "description": "Rows for the neighbourhoods table.",
        "rows": 16,
        "columns": {
          "neighbourhood_id": {
            "kind": "pk"
          },
          "city": {
            "kind": "place.city"
          },
          "name": {
            "kind": "title",
            "min": 1,
            "max": 2,
            "pool": [
              "Oak",
              "Maple",
              "Cedar",
              "River",
              "Hill",
              "Park",
              "Lake",
              "Meadow",
              "Ridge",
              "Grove",
              "Harbor",
              "Heights",
              "Village",
              "Springs",
              "Brook",
              "Pines"
            ]
          },
          "state": {
            "kind": "place.regionCode"
          }
        }
      },
      "offers": {
        "description": "Rows for the offers table.",
        "rows": 125,
        "columns": {
          "offer_id": {
            "kind": "pk"
          },
          "client_id": {
            "kind": "fk",
            "ref": "clients.client_id",
            "skew": "long-tail"
          },
          "offer_amount": {
            "kind": "decimal",
            "min": 85000,
            "max": 2400000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "offer_date": {
            "kind": "date",
            "after": "property_id.created_at",
            "withinDays": 180
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.property_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "submitted",
              "countered",
              "accepted",
              "rejected",
              "withdrawn"
            ],
            "weights": [
              18,
              22,
              25,
              27,
              8
            ]
          }
        }
      },
      "payment_methods": {
        "description": "Rows for the payment_methods table.",
        "rows": 6,
        "columns": {
          "payment_method_id": {
            "kind": "pk"
          },
          "method_name": {
            "kind": "enum",
            "values": [
              "conventional_mortgage",
              "cash",
              "fha_loan",
              "va_loan",
              "bridge_loan",
              "seller_financing"
            ],
            "unique": true
          }
        }
      },
      "properties": {
        "description": "Rows for the properties table.",
        "rows": 125,
        "columns": {
          "property_id": {
            "kind": "pk"
          },
          "address": {
            "kind": "location.streetAddress"
          },
          "city": {
            "kind": "place.city"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "business"
          },
          "price": {
            "kind": "decimal",
            "min": 85000,
            "max": 2400000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "property_type_id": {
            "kind": "fk",
            "ref": "property_types.property_type_id",
            "skew": "long-tail"
          },
          "state": {
            "kind": "place.regionCode"
          },
          "zip_code": {
            "kind": "place.postcode"
          }
        }
      },
      "property_neighbourhoods": {
        "description": "Rows for the property_neighbourhoods table.",
        "rows": 125,
        "columns": {
          "property_neighbourhood_id": {
            "kind": "pk"
          },
          "assigned_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2025-12-31"
          },
          "neighbourhood_id": {
            "kind": "fk",
            "ref": "neighbourhoods.neighbourhood_id",
            "skew": "long-tail"
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.property_id",
            "skew": "long-tail"
          }
        }
      },
      "property_types": {
        "description": "Rows for the property_types table.",
        "rows": 8,
        "columns": {
          "property_type_id": {
            "kind": "pk"
          },
          "type_name": {
            "kind": "enum",
            "values": [
              "single_family",
              "condo",
              "townhouse",
              "multi_family",
              "duplex",
              "co_op",
              "manufactured",
              "land"
            ],
            "unique": true
          }
        }
      },
      "repairs": {
        "description": "Rows for the repairs table.",
        "rows": 125,
        "columns": {
          "repair_id": {
            "kind": "pk"
          },
          "cost": {
            "kind": "decimal",
            "min": 120,
            "max": 65000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "description": {
            "kind": "sentence"
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.property_id",
            "skew": "long-tail"
          },
          "repair_date": {
            "kind": "date",
            "after": "property_id.created_at",
            "withinDays": 365
          }
        }
      },
      "transactions": {
        "description": "Rows for the transactions table.",
        "rows": 1000,
        "columns": {
          "transaction_id": {
            "kind": "pk"
          },
          "agent_id": {
            "kind": "fk",
            "ref": "agents.agent_id",
            "skew": "long-tail"
          },
          "client_id": {
            "kind": "fk",
            "ref": "clients.client_id",
            "skew": "long-tail"
          },
          "payment_method_id": {
            "kind": "fk",
            "ref": "payment_methods.payment_method_id",
            "skew": "long-tail"
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.property_id",
            "skew": "long-tail"
          },
          "sale_price": {
            "kind": "decimal",
            "min": 85000,
            "max": 2400000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "transaction_date": {
            "kind": "date",
            "after": "property_id.created_at",
            "withinDays": 240
          }
        }
      }
    }
  },
  "counts": {
    "agencies": 16,
    "agents": 125,
    "agent_agencies": 125,
    "appraisers": 16,
    "clients": 125,
    "inspectors": 16,
    "neighbourhoods": 16,
    "payment_methods": 6,
    "property_types": 8,
    "properties": 125,
    "appraisals": 125,
    "inspections": 125,
    "offers": 125,
    "property_neighbourhoods": 125,
    "repairs": 125,
    "transactions": 1000
  },
  "artifacts": [
    {
      "file": "csv/agencies.csv",
      "format": "csv",
      "table": "agencies",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/agencies.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/agencies.csv",
      "bytes": 1287,
      "sha256": "7cc8019edd4fd9ee9f7f5438799a16ce970783ab51f0e5c072af02ef0f8b3e26",
      "rows": 16,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/agents.csv",
      "format": "csv",
      "table": "agents",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/agents.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/agents.csv",
      "bytes": 9023,
      "sha256": "9be937613df001f929d685dafa5ae9c48c3e9be55c9a68d5e03bae3f96734c65",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/agent_agencies.csv",
      "format": "csv",
      "table": "agent_agencies",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/agent_agencies.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/agent_agencies.csv",
      "bytes": 3263,
      "sha256": "8dffd054ffd664e9b559d848ffe194bf80b834f39cc2beb0a9b454d7da3dc243",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/appraisers.csv",
      "format": "csv",
      "table": "appraisers",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/appraisers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/appraisers.csv",
      "bytes": 518,
      "sha256": "f854376d47dc762cb356971f53ddad12c9377128b6170bd21572726351978761",
      "rows": 16,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/clients.csv",
      "format": "csv",
      "table": "clients",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/clients.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/clients.csv",
      "bytes": 10082,
      "sha256": "87b11c6e13b3e569291448e3358a4bc6b6035f8b51c2546a4894612f86923168",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/inspectors.csv",
      "format": "csv",
      "table": "inspectors",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/inspectors.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/inspectors.csv",
      "bytes": 527,
      "sha256": "3796dd22f0ca696da59adbb0f104ad4eb82066c3c84c52b6f81f0b5fe8232263",
      "rows": 16,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/neighbourhoods.csv",
      "format": "csv",
      "table": "neighbourhoods",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/neighbourhoods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/neighbourhoods.csv",
      "bytes": 420,
      "sha256": "38bc215e452795438ae0c1214f603a851744b3650a53b92d21ebaa216b037294",
      "rows": 16,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payment_methods.csv",
      "format": "csv",
      "table": "payment_methods",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/payment_methods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/payment_methods.csv",
      "bytes": 122,
      "sha256": "6ee24b745ac6934a0a68d0ceccf81065e03a1b91c48f2c0a76b39fe9500a1d40",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/property_types.csv",
      "format": "csv",
      "table": "property_types",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/property_types.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/property_types.csv",
      "bytes": 126,
      "sha256": "82e9bbbeecf17399597e3a7f677c9e08909d1734835ddeee649a0b3d6e261286",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/properties.csv",
      "format": "csv",
      "table": "properties",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/properties.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/properties.csv",
      "bytes": 9300,
      "sha256": "c46ef19e41a182fc9be84de92dfd8dcb8f697c84f94e7308e437c231ff06574c",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/appraisals.csv",
      "format": "csv",
      "table": "appraisals",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/appraisals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/appraisals.csv",
      "bytes": 3884,
      "sha256": "89ee9b7b56246baf36005d09f5df8e34aaf187e468c3d78e3720a9f6984777bc",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/inspections.csv",
      "format": "csv",
      "table": "inspections",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/inspections.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/inspections.csv",
      "bytes": 3833,
      "sha256": "f69ca7dfc0d9b104a174f26132d05245f90bedeaaa1f29563305bc10c6cc2665",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/offers.csv",
      "format": "csv",
      "table": "offers",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/offers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/offers.csv",
      "bytes": 5127,
      "sha256": "af934a776f11bc884433619d445f6e59df6bd92972fa5652bbcdb8b1233a87ce",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/property_neighbourhoods.csv",
      "format": "csv",
      "table": "property_neighbourhoods",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/property_neighbourhoods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/property_neighbourhoods.csv",
      "bytes": 2598,
      "sha256": "d609685bad9b1a5cd5a1b9ffcd53ee41ec2b0596a6175b5b14aa46d844855eb4",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/repairs.csv",
      "format": "csv",
      "table": "repairs",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/repairs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/repairs.csv",
      "bytes": 10470,
      "sha256": "31685aef67a98bb241dd6ebfd88b519574ece53c39ba00d5faaf956cd7a11132",
      "rows": 125,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/real-estate-sales-sample-database/v3/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/csv/transactions.csv",
      "bytes": 36792,
      "sha256": "f75169ddf65770a83ae6b20787563241bc65caf2bb8a2dd76d392a5247cc9edd",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-estate-sales-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/real-estate-sales-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/real-estate-sales-sample-database.json",
      "bytes": 430080,
      "sha256": "075033dc97c69570222d98ea03a1833a7be2b28ac74962ae1d50a3c48ee7d46f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/sql/postgres.sql",
      "bytes": 140909,
      "sha256": "c585831fc15942bfa3f3fa793d4d4ebedfde81905ae1214781431001043abbe3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/sql/mysql.sql",
      "bytes": 139051,
      "sha256": "913a7aff3e0d8abf8038515d4228dee7b379040f827c3f88f9307a711297df7d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/sql/mssql.sql",
      "bytes": 144132,
      "sha256": "c57a8612c462e071197510111654a7fc0c7ae880ae3784981f932e7288c9aff9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/sql/sqlite.sql",
      "bytes": 137756,
      "sha256": "d3d8de40ec597d467be2507f1d2d45c7312b6fd0bad41bd51b471be018e40f77",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/prisma/seed.ts",
      "bytes": 337780,
      "sha256": "73cab2eae30e2b84c6de66b778e528094f044cd1122415abcea3f6a6e1291d79",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-estate-sales-sample-database/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/django/fixtures.json",
      "bytes": 495676,
      "sha256": "ffae4cb4a9f95337799fed0db1033a6bf0d34b65b2bbee52fcba25ca9463537f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 2203,
        "counts": {
          "agencies": 16,
          "agents": 125,
          "agent_agencies": 125,
          "appraisers": 16,
          "clients": 125,
          "inspectors": 16,
          "neighbourhoods": 16,
          "payment_methods": 6,
          "property_types": 8,
          "properties": 125,
          "appraisals": 125,
          "inspections": 125,
          "offers": 125,
          "property_neighbourhoods": 125,
          "repairs": 125,
          "transactions": 1000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1k/postgres.sql.gz",
            "bytes": 44102,
            "sha256": "204bc8e1bfcadc15cbd7e79575e19c96aa20973d219a8548f1659de0079257ce",
            "raw": {
              "bytes": 141897,
              "sha256": "ed384d6efb9eebafe5b06663e4284dfdcc023a2af54a639a0dbb55fdeea60fed"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1k/mysql.sql.gz",
            "bytes": 43662,
            "sha256": "29cf1dc26a7b3a46086d8de2a3245646108fd15cf6884ddb6b6c42ddeec685a3",
            "raw": {
              "bytes": 140039,
              "sha256": "12e404d178e27264a82e4e69aef4bffbc6a187225ce712654a8cd791741b61ff"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1k/sqlite.sql.gz",
            "bytes": 43322,
            "sha256": "8752bc74358f5a35339ada6e0838cb58edac417a291547349787a63992a328b9",
            "raw": {
              "bytes": 138744,
              "sha256": "b91391d0a4063d421cb556a7b004b6219cf314a3a1987aabc3b61663e11633ef"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1k/csv.zip",
            "bytes": 44972,
            "sha256": "3c54a96f924070cdb74dcd1e11c8183d42c2d3bfab88d8f3be8f8f249b771f93",
            "tables": {
              "agencies": {
                "bytes": 1287,
                "sha256": "7cc8019edd4fd9ee9f7f5438799a16ce970783ab51f0e5c072af02ef0f8b3e26"
              },
              "agent_agencies": {
                "bytes": 3263,
                "sha256": "8dffd054ffd664e9b559d848ffe194bf80b834f39cc2beb0a9b454d7da3dc243"
              },
              "agents": {
                "bytes": 9023,
                "sha256": "9be937613df001f929d685dafa5ae9c48c3e9be55c9a68d5e03bae3f96734c65"
              },
              "appraisals": {
                "bytes": 3884,
                "sha256": "89ee9b7b56246baf36005d09f5df8e34aaf187e468c3d78e3720a9f6984777bc"
              },
              "appraisers": {
                "bytes": 518,
                "sha256": "f854376d47dc762cb356971f53ddad12c9377128b6170bd21572726351978761"
              },
              "clients": {
                "bytes": 10082,
                "sha256": "87b11c6e13b3e569291448e3358a4bc6b6035f8b51c2546a4894612f86923168"
              },
              "inspections": {
                "bytes": 3833,
                "sha256": "f69ca7dfc0d9b104a174f26132d05245f90bedeaaa1f29563305bc10c6cc2665"
              },
              "inspectors": {
                "bytes": 527,
                "sha256": "3796dd22f0ca696da59adbb0f104ad4eb82066c3c84c52b6f81f0b5fe8232263"
              },
              "neighbourhoods": {
                "bytes": 420,
                "sha256": "38bc215e452795438ae0c1214f603a851744b3650a53b92d21ebaa216b037294"
              },
              "offers": {
                "bytes": 5127,
                "sha256": "af934a776f11bc884433619d445f6e59df6bd92972fa5652bbcdb8b1233a87ce"
              },
              "payment_methods": {
                "bytes": 122,
                "sha256": "6ee24b745ac6934a0a68d0ceccf81065e03a1b91c48f2c0a76b39fe9500a1d40"
              },
              "properties": {
                "bytes": 9300,
                "sha256": "c46ef19e41a182fc9be84de92dfd8dcb8f697c84f94e7308e437c231ff06574c"
              },
              "property_neighbourhoods": {
                "bytes": 2598,
                "sha256": "d609685bad9b1a5cd5a1b9ffcd53ee41ec2b0596a6175b5b14aa46d844855eb4"
              },
              "property_types": {
                "bytes": 126,
                "sha256": "82e9bbbeecf17399597e3a7f677c9e08909d1734835ddeee649a0b3d6e261286"
              },
              "repairs": {
                "bytes": 10470,
                "sha256": "31685aef67a98bb241dd6ebfd88b519574ece53c39ba00d5faaf956cd7a11132"
              },
              "transactions": {
                "bytes": 36792,
                "sha256": "f75169ddf65770a83ae6b20787563241bc65caf2bb8a2dd76d392a5247cc9edd"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every sale is dated on or after its property was listed",
            "violations": 0
          },
          {
            "name": "Every offer is dated on or after its property was listed",
            "violations": 0
          },
          {
            "name": "An agent's spell at an agency ends after it starts",
            "violations": 0
          },
          {
            "name": "Sale prices are between $85,000 and $2,400,000",
            "violations": 0
          },
          {
            "name": "Each property type and payment method appears once",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "agencies": {
                "duplicates": 0,
                "columns": {
                  "address": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "agents": {
                "duplicates": 0,
                "columns": {
                  "email": {
                    "missing": 4,
                    "typos": 7,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 4,
                    "typos": 4,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 3,
                    "typos": 3,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 3,
                    "typos": 7,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "agent_agencies": {
                "duplicates": 1,
                "columns": {
                  "start_date": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "appraisers": {
                "duplicates": 0,
                "columns": {
                  "first_name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "clients": {
                "duplicates": 2,
                "columns": {
                  "created_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 5,
                    "typos": 3,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 6,
                    "typos": 5,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 3,
                    "typos": 5,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "inspectors": {
                "duplicates": 0,
                "columns": {
                  "first_name": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "neighbourhoods": {
                "duplicates": 0,
                "columns": {
                  "city": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "state": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "properties": {
                "duplicates": 1,
                "columns": {
                  "address": {
                    "missing": 3,
                    "typos": 5,
                    "outliers": 0
                  },
                  "city": {
                    "missing": 1,
                    "typos": 4,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "state": {
                    "missing": 2,
                    "typos": 3,
                    "outliers": 0
                  },
                  "zip_code": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "appraisals": {
                "duplicates": 1,
                "columns": {
                  "appraisal_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "appraised_value": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "inspections": {
                "duplicates": 0,
                "columns": {
                  "inspection_date": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 0
                  },
                  "result": {
                    "missing": 4,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "offers": {
                "duplicates": 2,
                "columns": {
                  "offer_amount": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 4
                  },
                  "offer_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 3,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "property_neighbourhoods": {
                "duplicates": 2,
                "columns": {
                  "assigned_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "repairs": {
                "duplicates": 2,
                "columns": {
                  "cost": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 1
                  },
                  "description": {
                    "missing": 6,
                    "typos": 2,
                    "outliers": 0
                  },
                  "repair_date": {
                    "missing": 5,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "transactions": {
                "duplicates": 12,
                "columns": {
                  "sale_price": {
                    "missing": 24,
                    "typos": 0,
                    "outliers": 3
                  },
                  "transaction_date": {
                    "missing": 31,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 160,
              "typos": 67,
              "outliers": 8,
              "duplicates": 23
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/real-estate-sales-sample-database/v3/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 43812,
              "sha256": "890c0eb37d7a3bcfea32344c1346d098e7f932492f3e2275c59b5885e27eb620",
              "raw": {
                "bytes": 140286,
                "sha256": "a3ef7eb6fe2d2db689ebc0ae036fb48f79281896086eba8ee93dbd7610282bac"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/real-estate-sales-sample-database/v3/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1k/dirty-csv.zip",
              "bytes": 44893,
              "sha256": "5d3c7c8c38e9f63e79d7b5664d17d5efc7561d05a89740023855cb94cdac090e",
              "tables": {
                "agencies": {
                  "bytes": 1263,
                  "sha256": "523da99c9009f386e3b739e0455db9fcf4bff8a212ec1baf08290083a600cd13"
                },
                "agent_agencies": {
                  "bytes": 3224,
                  "sha256": "0dd985299fd7338e5269ee35055b230832bed727c85eab86fc00dcc29c5b46fe"
                },
                "agents": {
                  "bytes": 8840,
                  "sha256": "48d4f84d474ea7809e1f129798833dcbb4399a907094e12fc07eadcba0ba55ac"
                },
                "appraisals": {
                  "bytes": 3856,
                  "sha256": "c2e16fa89e9f033c4978503a072a126d1eaccd5c1be804bfdbdb3a06ab4f4f7f"
                },
                "appraisers": {
                  "bytes": 507,
                  "sha256": "7f1e3d948287cfeacf5d5623461f4fc885feed0f25e6773d3b119affcd6df3ef"
                },
                "clients": {
                  "bytes": 10023,
                  "sha256": "e2c11e53afe2a50e6c67eb19660be50b3dd33917f89db79d2212ef6255d492b9"
                },
                "inspections": {
                  "bytes": 3734,
                  "sha256": "dba77a76fa50f3cd600aa739770912e011178605ec47e3be4b2b20557e4e37ff"
                },
                "inspectors": {
                  "bytes": 514,
                  "sha256": "addddd5ec65b8753ce0a386964a4272a4829c170c4b25f42bdc018dd31caa489"
                },
                "neighbourhoods": {
                  "bytes": 413,
                  "sha256": "730022dda5865d730c047fa1211b5c4cd27b46eaa7ebef2b5b6bef245bf86e18"
                },
                "offers": {
                  "bytes": 5145,
                  "sha256": "cddfcfaf71f89e25bcc0db0173c91a646e1bfff78f4001c27371225b42298f05"
                },
                "payment_methods": {
                  "bytes": 122,
                  "sha256": "6ee24b745ac6934a0a68d0ceccf81065e03a1b91c48f2c0a76b39fe9500a1d40"
                },
                "properties": {
                  "bytes": 9260,
                  "sha256": "1c32bc2ac7ba4eedc12a983b390abb24147387f4f72c7e687c33fffd89bbb735"
                },
                "property_neighbourhoods": {
                  "bytes": 2621,
                  "sha256": "3119fe98c1a0bb85c7fde067e5110d7608624f32beaba98de1a98745e70430f1"
                },
                "property_types": {
                  "bytes": 126,
                  "sha256": "82e9bbbeecf17399597e3a7f677c9e08909d1734835ddeee649a0b3d6e261286"
                },
                "repairs": {
                  "bytes": 10215,
                  "sha256": "b249b2ff0030677d8e59ea31244603748d29a46278788bb1d22be4938d3a6cc9"
                },
                "transactions": {
                  "bytes": 36728,
                  "sha256": "e7a0dd23ad9ca32bea3a85d962f35dccf639604b284786d02088affd669b0455"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 218766,
        "counts": {
          "agencies": 1563,
          "agents": 12500,
          "agent_agencies": 12500,
          "appraisers": 1563,
          "clients": 12500,
          "inspectors": 1563,
          "neighbourhoods": 1563,
          "payment_methods": 6,
          "property_types": 8,
          "properties": 12500,
          "appraisals": 12500,
          "inspections": 12500,
          "offers": 12500,
          "property_neighbourhoods": 12500,
          "repairs": 12500,
          "transactions": 100000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/100k/postgres.sql.gz",
            "bytes": 4302749,
            "sha256": "f6bc072099ed95d8a9f66bc4c9a59bfebc9b47e92d47952807f06e4205d6101c",
            "raw": {
              "bytes": 14339425,
              "sha256": "58e1d220007dec1c7178ab768737f2af96c876d48d265f540b7789dedb1fab4b"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/100k/mysql.sql.gz",
            "bytes": 4301309,
            "sha256": "73b9ef82440c42f870e79a7e30bd7d5dd5ff6ee22fa55ad7e114d5dccd87e7a9",
            "raw": {
              "bytes": 14337567,
              "sha256": "b761f8cee9e1ddceb2b48185b6a38446c434106729182b9dcb5b30f3ef411dba"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/100k/sqlite.sql.gz",
            "bytes": 4300939,
            "sha256": "6e460bd2483450825f32f549604bb4aca017182a9d2790bdb3989cd233f87a49",
            "raw": {
              "bytes": 14336272,
              "sha256": "78d39c28fa6dfa8a986dbe3c256a22d99ea2a90e3b4fdb99665cf5c6e45f2319"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/100k/csv.zip",
            "bytes": 4271666,
            "sha256": "484de6a022a77ea986be8349fe2f6421f95c9953be5755968a7ddacb39f8cf12",
            "tables": {
              "agencies": {
                "bytes": 122569,
                "sha256": "c400030b58af01705682831d8ec575a24512d266354bad013c7443185fad7936"
              },
              "agent_agencies": {
                "bytes": 390074,
                "sha256": "b62e943f93676a77de83b1848880ba4f5b2d0e12dcc1f878446e4164791a44f6"
              },
              "agents": {
                "bytes": 916935,
                "sha256": "42d267abf72ad19902de3f17faa96240b3d4e13f949fd13bfb2b4cf50ad842db"
              },
              "appraisals": {
                "bytes": 449786,
                "sha256": "b547da61e81670ae380f469f2892d3e498e2c0c6533064e0c4f8ada727a9fbf8"
              },
              "appraisers": {
                "bytes": 48703,
                "sha256": "6b88ca303d42a293121e2a7eaf4fff318f0d3d91bc04b5dada72890dd79b64cf"
              },
              "clients": {
                "bytes": 1029168,
                "sha256": "d19578428d24965437c5289e97dbc3ab848b654ab40f6e37f58b00afd23d3a10"
              },
              "inspections": {
                "bytes": 450723,
                "sha256": "32b3ad9cfdd26466ded9913b2b4b356aa52daf403ce1ffd197f73e6937f33efa"
              },
              "inspectors": {
                "bytes": 48795,
                "sha256": "1e1aec70207f0155a61b96d75ef550c7dd4fb2c0504aa64d08d78399ca4f742e"
              },
              "neighbourhoods": {
                "bytes": 41905,
                "sha256": "7260ea93fe8e7817584caef0fbf75db21cda6fda7ff6507f0a27eaeb4d0a9c51"
              },
              "offers": {
                "bytes": 578680,
                "sha256": "055ba5c4fe33eb47d9597ff5cb3e8aeaf6df6e3ff59dd83c90f5e579adadd365"
              },
              "payment_methods": {
                "bytes": 122,
                "sha256": "2b7d2382cb6b229b43f3cc583606fc8e611c198d48bc30f2cb678c8bf5df0ace"
              },
              "properties": {
                "bytes": 947332,
                "sha256": "a0164d8c75d009572ac1c71ae0d4d08c2a8e01576e2984841dcd89dd7430cc48"
              },
              "property_neighbourhoods": {
                "bytes": 321124,
                "sha256": "ce157c66a79ff2c586fcce74abe7762260c2f7f2443e4c9a909c3218bd2d8dba"
              },
              "property_types": {
                "bytes": 126,
                "sha256": "75872f6a78ec2ed905220997d5ada30c41d672d43c7d59fc22df6023345cc840"
              },
              "repairs": {
                "bytes": 1085173,
                "sha256": "ce6057cb082ee8985655d7dd2515dd84281fbda023f575f8e033090dfabd4968"
              },
              "transactions": {
                "bytes": 4430290,
                "sha256": "1c3a2fac79ab967251e7d8f06675bb9869f63773852642fa293d68cff1c04feb"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every sale is dated on or after its property was listed",
            "violations": 0
          },
          {
            "name": "Every offer is dated on or after its property was listed",
            "violations": 0
          },
          {
            "name": "An agent's spell at an agency ends after it starts",
            "violations": 0
          },
          {
            "name": "Sale prices are between $85,000 and $2,400,000",
            "violations": 0
          },
          {
            "name": "Each property type and payment method appears once",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "agencies": {
                "duplicates": 9,
                "columns": {
                  "address": {
                    "missing": 52,
                    "typos": 53,
                    "outliers": 0
                  },
                  "agency_name": {
                    "missing": 47,
                    "typos": 36,
                    "outliers": 0
                  },
                  "city": {
                    "missing": 52,
                    "typos": 36,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 38,
                    "typos": 13,
                    "outliers": 0
                  },
                  "state": {
                    "missing": 63,
                    "typos": 36,
                    "outliers": 0
                  },
                  "zip_code": {
                    "missing": 47,
                    "typos": 8,
                    "outliers": 0
                  }
                }
              },
              "agents": {
                "duplicates": 127,
                "columns": {
                  "email": {
                    "missing": 378,
                    "typos": 371,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 376,
                    "typos": 341,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 362,
                    "typos": 351,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 346,
                    "typos": 398,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 380,
                    "typos": 136,
                    "outliers": 0
                  }
                }
              },
              "agent_agencies": {
                "duplicates": 117,
                "columns": {
                  "end_date": {
                    "missing": 167,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 387,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "appraisers": {
                "duplicates": 9,
                "columns": {
                  "first_name": {
                    "missing": 47,
                    "typos": 41,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 43,
                    "typos": 53,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 43,
                    "typos": 51,
                    "outliers": 0
                  }
                }
              },
              "clients": {
                "duplicates": 115,
                "columns": {
                  "created_at": {
                    "missing": 348,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 364,
                    "typos": 411,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 354,
                    "typos": 380,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 411,
                    "typos": 345,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 327,
                    "typos": 129,
                    "outliers": 0
                  }
                }
              },
              "inspectors": {
                "duplicates": 16,
                "columns": {
                  "first_name": {
                    "missing": 45,
                    "typos": 49,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 44,
                    "typos": 54,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 52,
                    "typos": 46,
                    "outliers": 0
                  }
                }
              },
              "neighbourhoods": {
                "duplicates": 14,
                "columns": {
                  "city": {
                    "missing": 50,
                    "typos": 41,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 51,
                    "typos": 41,
                    "outliers": 0
                  },
                  "state": {
                    "missing": 46,
                    "typos": 45,
                    "outliers": 0
                  }
                }
              },
              "properties": {
                "duplicates": 124,
                "columns": {
                  "address": {
                    "missing": 386,
                    "typos": 398,
                    "outliers": 0
                  },
                  "city": {
                    "missing": 389,
                    "typos": 351,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 347,
                    "typos": 0,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 373,
                    "typos": 0,
                    "outliers": 66
                  },
                  "state": {
                    "missing": 371,
                    "typos": 363,
                    "outliers": 0
                  },
                  "zip_code": {
                    "missing": 359,
                    "typos": 119,
                    "outliers": 0
                  }
                }
              },
              "appraisals": {
                "duplicates": 127,
                "columns": {
                  "appraisal_date": {
                    "missing": 359,
                    "typos": 0,
                    "outliers": 0
                  },
                  "appraised_value": {
                    "missing": 381,
                    "typos": 0,
                    "outliers": 60
                  }
                }
              },
              "inspections": {
                "duplicates": 122,
                "columns": {
                  "inspection_date": {
                    "missing": 415,
                    "typos": 0,
                    "outliers": 0
                  },
                  "result": {
                    "missing": 351,
                    "typos": 366,
                    "outliers": 0
                  }
                }
              },
              "offers": {
                "duplicates": 100,
                "columns": {
                  "offer_amount": {
                    "missing": 372,
                    "typos": 0,
                    "outliers": 70
                  },
                  "offer_date": {
                    "missing": 381,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 357,
                    "typos": 382,
                    "outliers": 0
                  }
                }
              },
              "property_neighbourhoods": {
                "duplicates": 134,
                "columns": {
                  "assigned_date": {
                    "missing": 391,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "repairs": {
                "duplicates": 129,
                "columns": {
                  "cost": {
                    "missing": 383,
                    "typos": 0,
                    "outliers": 69
                  },
                  "description": {
                    "missing": 336,
                    "typos": 379,
                    "outliers": 0
                  },
                  "repair_date": {
                    "missing": 347,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "transactions": {
                "duplicates": 1016,
                "columns": {
                  "sale_price": {
                    "missing": 2877,
                    "typos": 0,
                    "outliers": 480
                  },
                  "transaction_date": {
                    "missing": 2901,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 16996,
              "typos": 5823,
              "outliers": 745,
              "duplicates": 2159
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/real-estate-sales-sample-database/v3/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 4330488,
              "sha256": "11485ba42724bd718acc8368932e38241ff7c72e5696d4a6924dfc24b2d54652",
              "raw": {
                "bytes": 14333248,
                "sha256": "53885484f3088b00088e769b7d44acb3c436ea7bddf4a34a115d5feed5616b58"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/real-estate-sales-sample-database/v3/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/100k/dirty-csv.zip",
              "bytes": 4285793,
              "sha256": "212ca24d71cb1ca9e938471e8a947a240e9fc8e28967d33f0a78caa104fc3d54",
              "tables": {
                "agencies": {
                  "bytes": 120240,
                  "sha256": "69492860f4a88fa37665fbfa1928c4d2ebc0c5ee4ae2a2f18dfe8c4b1cead3d2"
                },
                "agent_agencies": {
                  "bytes": 388215,
                  "sha256": "40e63e976da56e3695f9167da1c60352d06566b8b127af046f36e9c5f34582b3"
                },
                "agents": {
                  "bytes": 904828,
                  "sha256": "69a7f5e4f6b6894e0b295a73a36fb04b3909415b9570c483bbfba5885d128170"
                },
                "appraisals": {
                  "bytes": 447293,
                  "sha256": "63cb8cf36a2c13615d50019d4cc33daaef7f79333b0f05eef8926de98d76a8fb"
                },
                "appraisers": {
                  "bytes": 48121,
                  "sha256": "dfd2ac487a6e3213ac8ec500cec7c07377581827605f82208e50962275295fd8"
                },
                "clients": {
                  "bytes": 1014822,
                  "sha256": "d69d807c65fabdf54b984bfe4567a155848ee98e29d443ac84cf2ff7ac4dc913"
                },
                "inspections": {
                  "bytes": 448254,
                  "sha256": "19f3d356888dfd8ad4b0266c86f7f30dd23ab14a993f4cbb31700bb75e32e0d6"
                },
                "inspectors": {
                  "bytes": 48369,
                  "sha256": "346b9bec8e7d10b7c4e3b4aae170c38a1259c0da634574b2b2a100706ed6c2aa"
                },
                "neighbourhoods": {
                  "bytes": 41488,
                  "sha256": "ddf739d89ba1a44ff8c87d0dc59c0f76e37f03d05ffba79ccb9414fc42737ce9"
                },
                "offers": {
                  "bytes": 573637,
                  "sha256": "27929cf545fe16e0af66e0fd8b56facc6f721344c09f2cd9c836bb6ffb085218"
                },
                "payment_methods": {
                  "bytes": 122,
                  "sha256": "2b7d2382cb6b229b43f3cc583606fc8e611c198d48bc30f2cb678c8bf5df0ace"
                },
                "properties": {
                  "bytes": 935313,
                  "sha256": "a118c3f85b00efd20b3d1bb892480d0e6fe6e146a8d0007ed174dcda948bd5fc"
                },
                "property_neighbourhoods": {
                  "bytes": 320741,
                  "sha256": "b1c13cbd13e794d145e634cb05bca3a59f57f9e166e6ca8d79d009653e2c8690"
                },
                "property_types": {
                  "bytes": 126,
                  "sha256": "75872f6a78ec2ed905220997d5ada30c41d672d43c7d59fc22df6023345cc840"
                },
                "repairs": {
                  "bytes": 1071666,
                  "sha256": "aa4a4496056f033a659a2f2379072e9c59658478b5f38abc3226fb556134404f"
                },
                "transactions": {
                  "bytes": 4420585,
                  "sha256": "f8de95907aac1dcbc2cb639ec36c1b14f398f1712d5c930724796a982440fa1c"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 2187514,
        "counts": {
          "agencies": 15625,
          "agents": 125000,
          "agent_agencies": 125000,
          "appraisers": 15625,
          "clients": 125000,
          "inspectors": 15625,
          "neighbourhoods": 15625,
          "payment_methods": 6,
          "property_types": 8,
          "properties": 125000,
          "appraisals": 125000,
          "inspections": 125000,
          "offers": 125000,
          "property_neighbourhoods": 125000,
          "repairs": 125000,
          "transactions": 1000000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1m/postgres.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1m/postgres.sql.gz",
            "bytes": 45418969,
            "sha256": "170413a4f0250c747578ca4d06548a0c300edffbd6cd9c660a2a9fd4ee07c1c9",
            "raw": {
              "bytes": 149819357,
              "sha256": "d7e7c1b1e09a2d41f2b0508d9d6d1a340707a0627b390c602018d942d1ec2c3a"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1m/mysql.sql.gz",
            "bytes": 45417468,
            "sha256": "9988318a2acabea7db03006a7bb404b93eb20b480f58ea98a4f65d59fa127005",
            "raw": {
              "bytes": 149817499,
              "sha256": "15b2b2464a894847e1e8b1b9580f6f308f2db3670ef59c587ff258c34df64081"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1m/sqlite.sql.gz",
            "bytes": 45417085,
            "sha256": "f2621490408616a2b819a51310a5a2807372bc99005783381b2828df2e65749d",
            "raw": {
              "bytes": 149816204,
              "sha256": "639bcc55d0ffe053f11c3c6b4103b1387d560b5cfff0dfa3e86123727fcb6a3b"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/real-estate-sales-sample-database/v3/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-sales-sample-database/v3/flagship/1m/csv.zip",
            "bytes": 45322822,
            "sha256": "62407bb01396b9432aa3340265b0fbb8575e23f21313b1fc52967db12f9f0302",
            "tables": {
              "agencies": {
                "bytes": 1240321,
                "sha256": "ddb79c54575b48a225d58d778dd16bacc966b43af3f72c92971571531b5a624f"
              },
              "agent_agencies": {
                "bytes": 4266326,
                "sha256": "9a5eeaed2a395a1f66cd0d1b60b19d52331d5119bf86301630b95efd4db99886"
              },
              "agents": {
                "bytes": 9300108,
                "sha256": "2711fdcb42c791aaaaec4a5eeb920381379cd11fcc140d606b7b1a6494b79975"
              },
              "appraisals": {
                "bytes": 4867785,
                "sha256": "cad9816e71a31561769bc63f1ed918f237e02450ec6bd02a0658a381f48f1de6"
              },
              "appraisers": {
                "bytes": 502786,
                "sha256": "b48e0f8f3d963f8726f3892cc333ac5c5d9c73f757883af7680303f75a2dbf60"
              },
              "clients": {
                "bytes": 10419338,
                "sha256": "6cd582a52406b1739f3c2393dac1f67a764ef97bdd8e813e0991d814ccf82a8b"
              },
              "inspections": {
                "bytes": 4880588,
                "sha256": "a05bd79183bd98596d15f0896661e8284ef754770c7f29a85108ac2e433392b3"
              },
              "inspectors": {
                "bytes": 502589,
                "sha256": "0e775b03bacfc390f9243cc38a7ca5101024e77aaaec829e40a370b21ad2ccf0"
              },
              "neighbourhoods": {
                "bytes": 434561,
                "sha256": "964b3c66a5c43afc3ef4146a4525f842ee96f973f3233fd88590179fc97a3672"
              },
              "offers": {
                "bytes": 6159125,
                "sha256": "79ad7dad557d604fc50ce7cdf03c89ea63a967c3105dabcc547bdf5c09bc2511"
              },
              "payment_methods": {
                "bytes": 122,
                "sha256": "a815c3e250138f4570c301392c6d32ee6fa50c753a69d3f13ac82853c695f004"
              },
              "properties": {
                "bytes": 9599677,
                "sha256": "26af2fdbcd5354c6f25eeaed2c6e1dfaf47b9217459fbd74575906cf53ad6bd6"
              },
              "property_neighbourhoods": {
                "bytes": 3581380,
                "sha256": "73ce9f2bb5fa02a9fc8ebb94a8fcad2c0fb678e46192b18d2b9de2d9145ed18d"
              },
              "property_types": {
                "bytes": 126,
                "sha256": "c31ba9a66c8d5b95883b93d673e230b04346516c0035fda09390ce6f846d78b1"
              },
              "repairs": {
                "bytes": 11101695,
                "sha256": "dc22789a34ce7bc6ffe812a2491ee393f63b72ccc83bcb83f7c4cc9ee3bcaf2e"
              },
              "transactions": {
                "bytes": 48270059,
                "sha256": "500c60c547005342bd2d488ea9677ae83f86dd1b9534871455ea46d623d83002"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every sale is dated on or after its property was listed",
            "violations": 0
          },
          {
            "name": "Every offer is dated on or after its property was listed",
            "violations": 0
          },
          {
            "name": "An agent's spell at an agency ends after it starts",
            "violations": 0
          },
          {
            "name": "Sale prices are between $85,000 and $2,400,000",
            "violations": 0
          },
          {
            "name": "Each property type and payment method appears once",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "Every sale is dated on or after its property was listed",
        "sql": "SELECT count(*) AS violations FROM transactions t JOIN properties p ON p.property_id = t.property_id WHERE t.transaction_date < p.created_at::date"
      },
      {
        "name": "Every offer is dated on or after its property was listed",
        "sql": "SELECT count(*) AS violations FROM offers o JOIN properties p ON p.property_id = o.property_id WHERE o.offer_date < p.created_at::date"
      },
      {
        "name": "An agent's spell at an agency ends after it starts",
        "sql": "SELECT count(*) AS violations FROM agent_agencies WHERE end_date < start_date"
      },
      {
        "name": "Sale prices are between $85,000 and $2,400,000",
        "sql": "SELECT count(*) AS violations FROM transactions WHERE sale_price NOT BETWEEN 85000 AND 2400000"
      },
      {
        "name": "Each property type and payment method appears once",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT type_name) FROM property_types) + (SELECT count(*) - count(DISTINCT method_name) FROM payment_methods) AS violations"
      }
    ]
  },
  "publishedAt": 1791241315267,
  "updatedAt": 1791305856082
}
