{
  "format": "dataset-manifest/1",
  "slug": "hr-sample-database",
  "version": 1,
  "seed": "flagship:hr-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "hr-sample-database",
    "name": "HR sample database",
    "tagline": "Employees, departments, jobs and grades, attendance, payroll and payslips, leave, benefits, reviews and hiring.",
    "description": "One company over five years, 2021 to 2025: employees in twelve departments at six locations, each in a job with a pay grade, reporting to a manager. Every employee clocks in once a day at most, between half past seven and half past ten in the morning, and clocks out seven to ten hours later. Payroll runs monthly, sixty runs, and an employee gets at most one payslip a run: gross pay is the sum of the employee’s monthly salary components, deductions are 22% of it, and net pay is what is left. A contract salary sits inside its job’s pay grade, leave is allocated by type for 2025, a leave request ends after it starts, interviews follow applications and applications follow the opening, and every skill, benefit and training is listed once per person.",
    "domain": "hr",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "bi-dashboards",
      "test-fixtures"
    ],
    "keywords": [
      "hr",
      "employees",
      "payroll",
      "attendance",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:hr-sample-database",
    "tables": {
      "addresses": {
        "description": "Rows for the addresses table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "city": {
            "kind": "place.city"
          },
          "country": {
            "kind": "constant",
            "value": "United States"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "unique": true
          },
          "postal_code": {
            "kind": "place.postcode"
          },
          "state": {
            "kind": "place.regionCode"
          },
          "street": {
            "kind": "location.streetAddress"
          }
        }
      },
      "applications": {
        "description": "Rows for the applications table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "applied_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "candidate_id": {
            "kind": "fk",
            "ref": "candidates.id",
            "skew": "flat"
          },
          "opening_id": {
            "kind": "fk",
            "ref": "job_openings.id",
            "skew": "flat"
          },
          "status": {
            "kind": "enum",
            "values": [
              "rejected",
              "withdrawn",
              "interviewing",
              "hired"
            ],
            "weights": [
              62,
              10,
              18,
              10
            ]
          }
        }
      },
      "attendance": {
        "description": "Rows for the attendance table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "clock_in": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "clock_out": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          }
        }
      },
      "benefits": {
        "description": "Rows for the benefits table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Medical cover for the employee and family",
              "Dental cover",
              "Eye care cover",
              "Employer matches up to 4% of salary",
              "Twice annual salary",
              "Pre-tax transit pass",
              "Monthly gym allowance",
              "Up to $5,250 a year"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Health Insurance",
              "Dental Insurance",
              "Vision Insurance",
              "401(k) Match",
              "Life Insurance",
              "Commuter Benefit",
              "Gym Membership",
              "Tuition Assistance"
            ],
            "unique": true
          },
          "type": {
            "kind": "enum",
            "values": [
              "insurance",
              "perk",
              "retirement"
            ]
          }
        }
      },
      "candidates": {
        "description": "Rows for the candidates table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            },
            "unique": true
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "phone": {
            "kind": "phone.number"
          },
          "resume_url": {
            "kind": "pattern",
            "pattern": "[https://files.example.com/resumes/]xxxxxxxxxxxx[.pdf]"
          }
        }
      },
      "companies": {
        "description": "Rows for the companies table.",
        "rows": 1,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "constant",
            "value": "Northwind Industries"
          },
          "tax_identifier": {
            "kind": "pattern",
            "pattern": "##-#######"
          },
          "website": {
            "kind": "constant",
            "value": "https://northwind.example.com"
          }
        }
      },
      "contacts": {
        "description": "Rows for the contacts table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "unique": true
          },
          "name": {
            "kind": "person.fullName"
          },
          "phone": {
            "kind": "phone.number"
          },
          "relationship": {
            "kind": "enum",
            "values": [
              "spouse",
              "partner",
              "parent",
              "sibling",
              "friend"
            ],
            "weights": [
              40,
              15,
              25,
              12,
              8
            ]
          }
        }
      },
      "contracts": {
        "description": "Rows for the contracts table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "unique": true
          },
          "end_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "nullable": true,
            "nullRate": 0
          },
          "salary": {
            "kind": "decimal",
            "min": 0,
            "max": 231000,
            "scale": 2
          },
          "start_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "type": {
            "kind": "enum",
            "values": [
              "permanent",
              "fixed_term",
              "part_time"
            ],
            "weights": [
              82,
              10,
              8
            ]
          }
        }
      },
      "departments": {
        "description": "Rows for the departments table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "ENG",
              "PRD",
              "SAL",
              "MKT",
              "FIN",
              "HRS",
              "OPS",
              "SUP",
              "LEG",
              "ITS",
              "MFG",
              "QAL"
            ],
            "unique": true
          },
          "location_id": {
            "kind": "fk",
            "ref": "locations.id",
            "skew": "long-tail"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Engineering",
              "Product",
              "Sales",
              "Marketing",
              "Finance",
              "Human Resources",
              "Operations",
              "Customer Support",
              "Legal",
              "IT Services",
              "Manufacturing",
              "Quality"
            ],
            "unique": true
          }
        }
      },
      "dependents": {
        "description": "Rows for the dependents table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "birth_date": {
            "kind": "date",
            "from": "1960-01-01",
            "to": "2025-06-30",
            "distribution": "high"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "name": {
            "kind": "person.firstName"
          },
          "relationship": {
            "kind": "enum",
            "values": [
              "child",
              "spouse",
              "partner"
            ],
            "weights": [
              70,
              22,
              8
            ]
          }
        }
      },
      "educations": {
        "description": "Rows for the educations table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "degree": {
            "kind": "enum",
            "values": [
              "High school diploma",
              "Associate",
              "Bachelor",
              "Master",
              "Doctorate"
            ],
            "weights": [
              12,
              10,
              52,
              22,
              4
            ]
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "field_of_study": {
            "kind": "enum",
            "values": [
              "Computer Science",
              "Business Administration",
              "Accounting",
              "Marketing",
              "Mechanical Engineering",
              "Psychology",
              "Law",
              "Economics",
              "Design",
              "Mathematics"
            ]
          },
          "graduation_date": {
            "kind": "date",
            "from": "1985-05-15",
            "to": "2020-06-30"
          },
          "institution": {
            "kind": "enum",
            "values": [
              "State University",
              "City College",
              "Institute of Technology",
              "Community College",
              "Business School",
              "Polytechnic University",
              "Liberal Arts College"
            ]
          }
        }
      },
      "employee_benefits": {
        "description": "Rows for the employee_benefits table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "benefit_id": {
            "kind": "fk",
            "ref": "benefits.id",
            "skew": "flat"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "enrollment_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "premium_amount": {
            "kind": "decimal",
            "min": 10,
            "max": 600,
            "scale": 2,
            "distribution": "long-tail"
          }
        }
      },
      "employee_salaries": {
        "description": "Rows for the employee_salaries table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 100,
            "max": 6000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "component_id": {
            "kind": "fk",
            "ref": "salary_components.id",
            "skew": "flat"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          }
        }
      },
      "employee_skills": {
        "description": "Rows for the employee_skills table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "skill_id": {
            "kind": "fk",
            "ref": "skills.id",
            "skew": "flat"
          },
          "years_of_experience": {
            "kind": "int",
            "min": 0,
            "max": 25,
            "distribution": "long-tail"
          }
        }
      },
      "employees": {
        "description": "Rows for the employees table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "department_id": {
            "kind": "fk",
            "ref": "departments.id",
            "weights": [
              24,
              6,
              14,
              6,
              5,
              3,
              10,
              12,
              2,
              5,
              9,
              4
            ]
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            },
            "unique": true
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "hire_date": {
            "kind": "date",
            "from": "2005-01-01",
            "to": "2020-12-31",
            "distribution": "high"
          },
          "job_id": {
            "kind": "fk",
            "ref": "jobs.id",
            "skew": "long-tail"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "manager_id": {
            "kind": "fk",
            "ref": "employees.id",
            "nullable": true,
            "nullRate": 0.04
          },
          "phone": {
            "kind": "phone.number"
          },
          "status_id": {
            "kind": "fk",
            "ref": "employment_statuses.id",
            "weights": [
              86,
              3,
              9,
              2
            ]
          }
        }
      },
      "employment_statuses": {
        "description": "Rows for the employment_statuses table.",
        "rows": 4,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Currently employed",
              "On extended leave",
              "No longer employed",
              "Retired"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "active",
              "on_leave",
              "terminated",
              "retired"
            ],
            "unique": true
          }
        }
      },
      "equipment": {
        "description": "Rows for the equipment table.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Laptop",
              "Monitor",
              "Phone",
              "Headset",
              "Badge reader",
              "Tablet"
            ],
            "weights": [
              35,
              25,
              15,
              15,
              5,
              5
            ]
          },
          "serial_number": {
            "kind": "pattern",
            "pattern": "[SN-]AA######",
            "unique": true
          },
          "type": {
            "kind": "enum",
            "values": [
              "computer",
              "peripheral",
              "mobile"
            ]
          }
        }
      },
      "equipment_assignments": {
        "description": "Rows for the equipment_assignments table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "assigned_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "equipment_id": {
            "kind": "fk",
            "ref": "equipment.id",
            "skew": "flat"
          },
          "returned_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "nullable": true,
            "nullRate": 0.5
          }
        }
      },
      "grades": {
        "description": "Rows for the grades table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "G1",
              "G2",
              "G3",
              "G4",
              "G5",
              "G6",
              "G7",
              "G8"
            ],
            "unique": true
          },
          "maximum_salary": {
            "kind": "decimal",
            "min": 1,
            "max": 400000,
            "scale": 2
          },
          "minimum_salary": {
            "kind": "decimal",
            "min": 1,
            "max": 400000,
            "scale": 2
          }
        }
      },
      "interviews": {
        "description": "Rows for the interviews table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "application_id": {
            "kind": "fk",
            "ref": "applications.id",
            "skew": "flat"
          },
          "feedback": {
            "kind": "enum",
            "values": [
              "Strong hire",
              "Hire",
              "No hire",
              "Strong no hire",
              "Needs a second interview"
            ],
            "weights": [
              12,
              30,
              35,
              8,
              15
            ]
          },
          "interviewer_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "long-tail"
          },
          "scheduled_time": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          }
        }
      },
      "job_openings": {
        "description": "Rows for the job_openings table.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "department_id": {
            "kind": "fk",
            "ref": "departments.id",
            "skew": "flat"
          },
          "job_id": {
            "kind": "fk",
            "ref": "jobs.id",
            "skew": "long-tail"
          },
          "posted_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "status": {
            "kind": "constant",
            "value": "closed"
          }
        }
      },
      "jobs": {
        "description": "Rows for the jobs table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Full time",
              "Full time, hybrid",
              "Full time, on site",
              "Full time, remote"
            ]
          },
          "grade_id": {
            "kind": "fk",
            "ref": "grades.id",
            "skew": "long-tail"
          },
          "title": {
            "kind": "enum",
            "values": [
              "Software Engineer",
              "Senior Software Engineer",
              "Staff Engineer",
              "Engineering Manager",
              "Product Manager",
              "Product Designer",
              "Account Executive",
              "Sales Development Representative",
              "Sales Manager",
              "Marketing Specialist",
              "Marketing Manager",
              "Accountant",
              "Financial Analyst",
              "Finance Director",
              "HR Generalist",
              "Recruiter",
              "HR Director",
              "Operations Coordinator",
              "Operations Manager",
              "Support Agent",
              "Support Team Lead",
              "Counsel",
              "IT Technician",
              "Systems Administrator",
              "Machine Operator",
              "Production Supervisor",
              "Quality Inspector",
              "Quality Manager",
              "Chief Executive Officer",
              "Data Analyst"
            ],
            "unique": true
          }
        }
      },
      "leave_allocations": {
        "description": "Rows for the leave_allocations table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "allocated_days": {
            "kind": "int",
            "min": 1,
            "max": 60
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "leave_type_id": {
            "kind": "fk",
            "ref": "leave_types.id",
            "skew": "flat"
          },
          "year": {
            "kind": "constant",
            "value": 2025
          }
        }
      },
      "leave_requests": {
        "description": "Rows for the leave_requests table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "approved_by": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "long-tail"
          },
          "end_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "leave_type_id": {
            "kind": "fk",
            "ref": "leave_types.id",
            "weights": [
              60,
              25,
              4,
              3,
              5,
              3
            ]
          },
          "start_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "status": {
            "kind": "enum",
            "values": [
              "approved",
              "rejected",
              "cancelled"
            ],
            "weights": [
              86,
              8,
              6
            ]
          }
        }
      },
      "leave_types": {
        "description": "Rows for the leave_types table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Annual Leave",
              "Sick Leave",
              "Parental Leave",
              "Bereavement",
              "Unpaid Leave",
              "Jury Duty"
            ],
            "unique": true
          },
          "paid": {
            "kind": "bool",
            "trueRate": 0.8
          }
        }
      },
      "locations": {
        "description": "Rows for the locations table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "city": {
            "kind": "enum",
            "values": [
              "Austin",
              "Boston",
              "Chicago",
              "Columbus",
              "Denver",
              "Seattle"
            ]
          },
          "company_id": {
            "kind": "fk",
            "ref": "companies.id",
            "skew": "long-tail"
          },
          "country": {
            "kind": "constant",
            "value": "United States"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Headquarters",
              "East Office",
              "West Office",
              "South Office",
              "Plant",
              "Remote Hub"
            ],
            "unique": true
          }
        }
      },
      "onboarding_tasks": {
        "description": "Rows for the onboarding_tasks table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "due_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "status": {
            "kind": "constant",
            "value": "done"
          },
          "task_name": {
            "kind": "enum",
            "values": [
              "Sign contract",
              "Set up laptop",
              "Security training",
              "Meet the team",
              "Benefits enrolment",
              "Badge photo"
            ]
          }
        }
      },
      "payrolls": {
        "description": "Rows for the payrolls table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 30
          },
          "payment_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2025-12-31"
          },
          "start_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2025-12-31"
          },
          "status": {
            "kind": "constant",
            "value": "paid"
          }
        }
      },
      "payslips": {
        "description": "Rows for the payslips table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "deductions": {
            "kind": "decimal",
            "min": 0,
            "max": 1062,
            "scale": 2
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "gross_pay": {
            "kind": "decimal",
            "min": 0,
            "max": 100000,
            "scale": 2
          },
          "net_pay": {
            "kind": "decimal",
            "min": 0,
            "max": 3765,
            "scale": 2
          },
          "payroll_id": {
            "kind": "fk",
            "ref": "payrolls.id",
            "skew": "flat"
          }
        }
      },
      "performance_reviews": {
        "description": "Rows for the performance_reviews table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "feedback": {
            "kind": "enum",
            "values": [
              "Exceeded goals",
              "Met expectations",
              "Strong collaborator",
              "Needs to improve delivery",
              "Ready for promotion",
              "Developing well"
            ]
          },
          "rating": {
            "kind": "enum",
            "values": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "weights": [
              3,
              10,
              45,
              32,
              10
            ],
            "type": "integer"
          },
          "review_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "reviewer_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "long-tail"
          }
        }
      },
      "review_goals": {
        "description": "Rows for the review_goals table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Ship the quarterly roadmap",
              "Mentor a new hire",
              "Cut support backlog",
              "Complete a certification",
              "Lead a project",
              "Improve forecast accuracy"
            ]
          },
          "review_id": {
            "kind": "fk",
            "ref": "performance_reviews.id",
            "skew": "flat"
          },
          "status": {
            "kind": "enum",
            "values": [
              "achieved",
              "partly_achieved",
              "missed"
            ],
            "weights": [
              60,
              28,
              12
            ]
          },
          "target_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          }
        }
      },
      "salary_components": {
        "description": "Rows for the salary_components table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Monthly base pay",
              "Monthly housing support",
              "Monthly commuting support",
              "Monthly meals",
              "Monthly phone bill",
              "Night and weekend shifts"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Base Salary",
              "Housing Allowance",
              "Transport Allowance",
              "Meal Allowance",
              "Phone Allowance",
              "Shift Premium"
            ],
            "unique": true
          },
          "type": {
            "kind": "constant",
            "value": "earning"
          }
        }
      },
      "skills": {
        "description": "Rows for the skills table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Technical",
              "Business",
              "Language",
              "Interpersonal",
              "Safety"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "SQL",
              "Python",
              "JavaScript",
              "Java",
              "Excel",
              "Project Management",
              "Negotiation",
              "Public Speaking",
              "Data Analysis",
              "Customer Service",
              "Leadership",
              "Recruiting",
              "Accounting",
              "Contract Law",
              "Network Administration",
              "Lean Manufacturing",
              "Quality Auditing",
              "UX Research",
              "Copywriting",
              "Machine Learning",
              "Cloud Infrastructure",
              "Spanish",
              "Mandarin",
              "Forklift Operation",
              "First Aid",
              "Salesforce",
              "Figma",
              "Tableau",
              "Budgeting",
              "Coaching"
            ],
            "unique": true
          }
        }
      },
      "training_enrollments": {
        "description": "Rows for the training_enrollments table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "completion_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "nullable": true,
            "nullRate": 0.12
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.id",
            "skew": "flat"
          },
          "enrollment_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "status": {
            "kind": "constant",
            "value": "enrolled"
          },
          "training_id": {
            "kind": "fk",
            "ref": "trainings.id",
            "skew": "flat"
          }
        }
      },
      "trainings": {
        "description": "Rows for the trainings table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Online, self-paced",
              "Classroom",
              "Live online",
              "Blended"
            ]
          },
          "duration_hours": {
            "kind": "int",
            "min": 1,
            "max": 40
          },
          "provider": {
            "kind": "enum",
            "values": [
              "ASQ",
              "AWS",
              "CFI",
              "Coursera",
              "Dale Carnegie",
              "Harvard ManageMentor",
              "IAPP",
              "Internal",
              "LinkedIn Learning",
              "OSHA",
              "PMI",
              "Red Cross",
              "Toastmasters"
            ]
          },
          "title": {
            "kind": "enum",
            "values": [
              "Security Awareness",
              "Code of Conduct",
              "Leading Teams",
              "Advanced SQL",
              "Negotiation Skills",
              "First Aid Certification",
              "Forklift Safety",
              "Effective Presentations",
              "Excel for Analysts",
              "GDPR Essentials",
              "Lean Six Sigma Yellow Belt",
              "Cloud Fundamentals",
              "Customer Empathy",
              "Interviewing Well",
              "Financial Modelling",
              "Project Management Basics",
              "Data Privacy",
              "Python for Beginners",
              "Diversity and Inclusion",
              "Time Management"
            ],
            "unique": true
          }
        }
      }
    }
  },
  "counts": {
    "benefits": 8,
    "candidates": 10,
    "companies": 1,
    "employment_statuses": 4,
    "equipment": 400,
    "grades": 8,
    "jobs": 30,
    "leave_types": 6,
    "locations": 6,
    "departments": 12,
    "employees": 10,
    "addresses": 10,
    "attendance": 1000,
    "contacts": 10,
    "contracts": 10,
    "dependents": 10,
    "educations": 10,
    "employee_benefits": 10,
    "equipment_assignments": 10,
    "job_openings": 120,
    "applications": 10,
    "interviews": 10,
    "leave_allocations": 10,
    "leave_requests": 10,
    "onboarding_tasks": 10,
    "payrolls": 60,
    "payslips": 60,
    "performance_reviews": 10,
    "review_goals": 12,
    "salary_components": 6,
    "employee_salaries": 10,
    "skills": 30,
    "employee_skills": 10,
    "trainings": 20,
    "training_enrollments": 10
  },
  "artifacts": [
    {
      "file": "csv/benefits.csv",
      "format": "csv",
      "table": "benefits",
      "key": "datasets/hr-sample-database/v1/csv/benefits.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/benefits.csv",
      "bytes": 437,
      "sha256": "c2271215bb37539155f18d4ed7af29775a22a209ba4523f2c23fb8185eab7cdc",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/candidates.csv",
      "format": "csv",
      "table": "candidates",
      "key": "datasets/hr-sample-database/v1/csv/candidates.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/candidates.csv",
      "bytes": 1145,
      "sha256": "f36de7c3652cd1817a3bd21ce173d220c5361c28df79c2e1fc6eb11356af5e06",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/companies.csv",
      "format": "csv",
      "table": "companies",
      "key": "datasets/hr-sample-database/v1/csv/companies.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/companies.csv",
      "bytes": 97,
      "sha256": "b11df0aee3365e51b8f499f5a7e3961c334acd9ac136f0352ad78155b2e279d8",
      "rows": 1,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/employment_statuses.csv",
      "format": "csv",
      "table": "employment_statuses",
      "key": "datasets/hr-sample-database/v1/csv/employment_statuses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/employment_statuses.csv",
      "bytes": 132,
      "sha256": "aa39742345193aa2eff3794adaf9a37785f4bd1f22e3fc52b319a3c3794ffaea",
      "rows": 4,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/equipment.csv",
      "format": "csv",
      "table": "equipment",
      "key": "datasets/hr-sample-database/v1/csv/equipment.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/equipment.csv",
      "bytes": 13364,
      "sha256": "c32f7c1672d29196b5bcbb376ef1fe7bc11088b4aa8c3a9a73c7a0d1edbb9507",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/grades.csv",
      "format": "csv",
      "table": "grades",
      "key": "datasets/hr-sample-database/v1/csv/grades.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/grades.csv",
      "bytes": 190,
      "sha256": "870116a9674a1fd64995eadf5a54721c5700bdf63da00eee0d5ae415c5be5f1e",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/jobs.csv",
      "format": "csv",
      "table": "jobs",
      "key": "datasets/hr-sample-database/v1/csv/jobs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/jobs.csv",
      "bytes": 1255,
      "sha256": "600ca7b65e85927e22ffd9582297d5c6c933d412b36943d54ef37eedbd65df38",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/leave_types.csv",
      "format": "csv",
      "table": "leave_types",
      "key": "datasets/hr-sample-database/v1/csv/leave_types.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/leave_types.csv",
      "bytes": 137,
      "sha256": "8234fe5898702e573838b694ecd131bd5770a4999954550bf8ca4ca5ee6cc6c4",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/locations.csv",
      "format": "csv",
      "table": "locations",
      "key": "datasets/hr-sample-database/v1/csv/locations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/locations.csv",
      "bytes": 260,
      "sha256": "5984a169b1d62bc8f4b519ca278e05b77056e5c176762b3e8e62819c17c3a864",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/departments.csv",
      "format": "csv",
      "table": "departments",
      "key": "datasets/hr-sample-database/v1/csv/departments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/departments.csv",
      "bytes": 265,
      "sha256": "90ab56fdee06145383fb30c27998acc6ee9c0fc60f8e0951501cc9709b298d6b",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/employees.csv",
      "format": "csv",
      "table": "employees",
      "key": "datasets/hr-sample-database/v1/csv/employees.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/employees.csv",
      "bytes": 887,
      "sha256": "62be7e3d332c3c5ad1050ad7f570507249a1b47f1de2810575a2327452e63f17",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/addresses.csv",
      "format": "csv",
      "table": "addresses",
      "key": "datasets/hr-sample-database/v1/csv/addresses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/addresses.csv",
      "bytes": 631,
      "sha256": "6af8a4e6caca602b3a86eacff7d7443a2cd886eda927f25e1aad4f535ffd6ddf",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/attendance.csv",
      "format": "csv",
      "table": "attendance",
      "key": "datasets/hr-sample-database/v1/csv/attendance.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/attendance.csv",
      "bytes": 58011,
      "sha256": "8d0ae8a731eefabbbf3c91614388f196860e146ba017e536e8c1b01b2fbadf7f",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/contacts.csv",
      "format": "csv",
      "table": "contacts",
      "key": "datasets/hr-sample-database/v1/csv/contacts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/contacts.csv",
      "bytes": 488,
      "sha256": "89a35fc840d3269efe79b5edbafd8de837cfa116e468b631a90f2e38aa26a4d1",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/contracts.csv",
      "format": "csv",
      "table": "contracts",
      "key": "datasets/hr-sample-database/v1/csv/contracts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/contracts.csv",
      "bytes": 447,
      "sha256": "a80b22be652daee89c893510fd8eceaa426cc3e94505913e732ab9c901f06273",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/dependents.csv",
      "format": "csv",
      "table": "dependents",
      "key": "datasets/hr-sample-database/v1/csv/dependents.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/dependents.csv",
      "bytes": 342,
      "sha256": "b7307f851d7873bbc55abf4d167c75494658747259e31a84dd79f1b6946196e1",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/educations.csv",
      "format": "csv",
      "table": "educations",
      "key": "datasets/hr-sample-database/v1/csv/educations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/educations.csv",
      "bytes": 631,
      "sha256": "3d92338a773dbc1d47c32cf5ebac2db359049234613c8ca34c529d4e65cd7292",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/employee_benefits.csv",
      "format": "csv",
      "table": "employee_benefits",
      "key": "datasets/hr-sample-database/v1/csv/employee_benefits.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/employee_benefits.csv",
      "bytes": 309,
      "sha256": "30b8f57af7aca2a39cd0011942179706ffc48873cd70f407354636329b799fad",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/equipment_assignments.csv",
      "format": "csv",
      "table": "equipment_assignments",
      "key": "datasets/hr-sample-database/v1/csv/equipment_assignments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/equipment_assignments.csv",
      "bytes": 273,
      "sha256": "9345b1b50d457492c6ff78159029904e3b02d8a111df726a0099bd537536ff45",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/job_openings.csv",
      "format": "csv",
      "table": "job_openings",
      "key": "datasets/hr-sample-database/v1/csv/job_openings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/job_openings.csv",
      "bytes": 3255,
      "sha256": "debcd1a38b7972591541e6138721c8b6ae18c9231dba1c93cc413dd245782185",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/applications.csv",
      "format": "csv",
      "table": "applications",
      "key": "datasets/hr-sample-database/v1/csv/applications.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/applications.csv",
      "bytes": 341,
      "sha256": "067a390f6b207a3a744218d5bd94a8674aacc0348a4a0f9cdbcd0fd3ac4c2292",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interviews.csv",
      "format": "csv",
      "table": "interviews",
      "key": "datasets/hr-sample-database/v1/csv/interviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/interviews.csv",
      "bytes": 445,
      "sha256": "5e800356b65c9c94c469e65942d4c9f8892b89a561cec81e94e1b82240ae0e84",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/leave_allocations.csv",
      "format": "csv",
      "table": "leave_allocations",
      "key": "datasets/hr-sample-database/v1/csv/leave_allocations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/leave_allocations.csv",
      "bytes": 201,
      "sha256": "d9097eb9d28634a3b786fde49b645d85716d640774b0ceadf1109643ca7bd097",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/leave_requests.csv",
      "format": "csv",
      "table": "leave_requests",
      "key": "datasets/hr-sample-database/v1/csv/leave_requests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/leave_requests.csv",
      "bytes": 474,
      "sha256": "3b1fb8889b194b256d22b2387faaec73a62f42878de2909d33ba45ce134ac6a7",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/onboarding_tasks.csv",
      "format": "csv",
      "table": "onboarding_tasks",
      "key": "datasets/hr-sample-database/v1/csv/onboarding_tasks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/onboarding_tasks.csv",
      "bytes": 395,
      "sha256": "a9fbccdc4f7d499d6af221b41da29e6b9b5bf1aaf970d0fb5becd9d5ed6182d8",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payrolls.csv",
      "format": "csv",
      "table": "payrolls",
      "key": "datasets/hr-sample-database/v1/csv/payrolls.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/payrolls.csv",
      "bytes": 2555,
      "sha256": "20409d3986bc1ffe50317063d82126885a326a1e18ecbbf429488bea2bbf7807",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payslips.csv",
      "format": "csv",
      "table": "payslips",
      "key": "datasets/hr-sample-database/v1/csv/payslips.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/payslips.csv",
      "bytes": 1928,
      "sha256": "36ceeebf63fc1d187e5e944dc79eec78960a72c3ab2ecc9d5018c69092ad9c99",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/performance_reviews.csv",
      "format": "csv",
      "table": "performance_reviews",
      "key": "datasets/hr-sample-database/v1/csv/performance_reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/performance_reviews.csv",
      "bytes": 433,
      "sha256": "6859fb2d1d263383dc5cc171968636586f6cbbcef26562b271f2f6440cab5b53",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/review_goals.csv",
      "format": "csv",
      "table": "review_goals",
      "key": "datasets/hr-sample-database/v1/csv/review_goals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/review_goals.csv",
      "bytes": 643,
      "sha256": "7175b2ad151f3c3508875e8e503458e7edf382353fd6c8a61b969c3361c0e4a0",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/salary_components.csv",
      "format": "csv",
      "table": "salary_components",
      "key": "datasets/hr-sample-database/v1/csv/salary_components.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/salary_components.csv",
      "bytes": 312,
      "sha256": "68842f4a9272d6af05f1a4ada970de52e83a4693b403d5d3a1004d77c910af76",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/employee_salaries.csv",
      "format": "csv",
      "table": "employee_salaries",
      "key": "datasets/hr-sample-database/v1/csv/employee_salaries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/employee_salaries.csv",
      "bytes": 187,
      "sha256": "81b0cf4cae95e1de6410c1427b93b87dfbd2ee4b00cc74010e5d6ef11066ea15",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/skills.csv",
      "format": "csv",
      "table": "skills",
      "key": "datasets/hr-sample-database/v1/csv/skills.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/skills.csv",
      "bytes": 802,
      "sha256": "5325f6381182e52988baab3497ef16963e4976ab00b0d550ca9bb449e6a775d8",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/employee_skills.csv",
      "format": "csv",
      "table": "employee_skills",
      "key": "datasets/hr-sample-database/v1/csv/employee_skills.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/employee_skills.csv",
      "bytes": 147,
      "sha256": "f5dbbd9b4a27f7038490af01c752bd7c86ab50e1c1da74a81e8cb92ed7cf5c1a",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/trainings.csv",
      "format": "csv",
      "table": "trainings",
      "key": "datasets/hr-sample-database/v1/csv/trainings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/trainings.csv",
      "bytes": 994,
      "sha256": "eeaa9dbe681b2119de911c1543577c3787203e2147bf21b1ddf12041bd5cb9e2",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/training_enrollments.csv",
      "format": "csv",
      "table": "training_enrollments",
      "key": "datasets/hr-sample-database/v1/csv/training_enrollments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/csv/training_enrollments.csv",
      "bytes": 419,
      "sha256": "5173176dcaa7dbfd40455bc996a7b9acb8a4da7a336aca9c3e09c5f72fcf4dd1",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "hr-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/hr-sample-database/v1/hr-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/hr-sample-database.json",
      "bytes": 293825,
      "sha256": "3a492d657ce4dd6c3e6c237553f60ec01585c715a5f61ce576a75a8de0d7885a",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/hr-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/sql/postgres.sql",
      "bytes": 142900,
      "sha256": "5a3bae2ead446af8715b46c231a5571f78b0d42bf3540303826351cbfdb65a2b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/hr-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/sql/mysql.sql",
      "bytes": 139497,
      "sha256": "82cc4b1e98197a7ed4b9cd75a4788c3810dff2880865655f0ec1dce7aaae1c91",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/hr-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/sql/mssql.sql",
      "bytes": 146599,
      "sha256": "8e2ca32d5870c3be747436bd41b7ba71a6fb123a2ff53d66cdb3c03fcdbcf064",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/hr-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/sql/sqlite.sql",
      "bytes": 136548,
      "sha256": "dfabdd6a1e8f79b5111284d03e50460f09127cc75249b159fd9fbae67f6dd3a2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/hr-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/prisma/seed.ts",
      "bytes": 250845,
      "sha256": "e58cce812ee2c80c934361ce11ad91bbb1f9c051ca940721b2b9a9309c8d7eab",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/hr-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/django/fixtures.json",
      "bytes": 381295,
      "sha256": "d7b3a9d3e0bce86f1dd6d587b7a7ae64e3e8437b671a4192e5e03fdf05c27533",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 1963,
        "counts": {
          "benefits": 8,
          "candidates": 10,
          "companies": 1,
          "employment_statuses": 4,
          "equipment": 400,
          "grades": 8,
          "jobs": 30,
          "leave_types": 6,
          "locations": 6,
          "departments": 12,
          "employees": 10,
          "addresses": 10,
          "attendance": 1000,
          "contacts": 10,
          "contracts": 10,
          "dependents": 10,
          "educations": 10,
          "employee_benefits": 10,
          "equipment_assignments": 10,
          "job_openings": 120,
          "applications": 10,
          "interviews": 10,
          "leave_allocations": 10,
          "leave_requests": 10,
          "onboarding_tasks": 10,
          "payrolls": 60,
          "payslips": 60,
          "performance_reviews": 10,
          "review_goals": 12,
          "salary_components": 6,
          "employee_salaries": 10,
          "skills": 30,
          "employee_skills": 10,
          "trainings": 20,
          "training_enrollments": 10
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 37118,
            "sha256": "f3c3b257fd0ac54fd55841e87197512d30ff3f5ba82bbc6c5c88e805e1d98c6e",
            "raw": {
              "bytes": 150133,
              "sha256": "112f134f5c6a805952c0d5a51adeadf5256353bf9d7204af4c62b719c4173c65"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 36640,
            "sha256": "75af15ff10acbf4d8dba039158c3aea9f746a5304da777cf3c913b0562037ca9",
            "raw": {
              "bytes": 146730,
              "sha256": "109d48d9650df9e924e7aab0338e319374f65f9b3c5bd6be751cf41f7502f532"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 36125,
            "sha256": "1c4a54978307266b2fede874274c7c5c66d81f3fec268bb5ee9d76ec5b74df67",
            "raw": {
              "bytes": 143781,
              "sha256": "61bd7f6f9c6ad9b25a14f7624e1471f6575adf149d556c5c7475b987dcb1dd66"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/hr-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 35882,
            "sha256": "e485dd5de7eb45771cffd80ccbb8eb49e8551df9dc07f41523cc6fb5125ba944",
            "tables": {
              "addresses": {
                "bytes": 631,
                "sha256": "6af8a4e6caca602b3a86eacff7d7443a2cd886eda927f25e1aad4f535ffd6ddf"
              },
              "applications": {
                "bytes": 341,
                "sha256": "067a390f6b207a3a744218d5bd94a8674aacc0348a4a0f9cdbcd0fd3ac4c2292"
              },
              "attendance": {
                "bytes": 58011,
                "sha256": "8d0ae8a731eefabbbf3c91614388f196860e146ba017e536e8c1b01b2fbadf7f"
              },
              "benefits": {
                "bytes": 437,
                "sha256": "c2271215bb37539155f18d4ed7af29775a22a209ba4523f2c23fb8185eab7cdc"
              },
              "candidates": {
                "bytes": 1145,
                "sha256": "f36de7c3652cd1817a3bd21ce173d220c5361c28df79c2e1fc6eb11356af5e06"
              },
              "companies": {
                "bytes": 97,
                "sha256": "b11df0aee3365e51b8f499f5a7e3961c334acd9ac136f0352ad78155b2e279d8"
              },
              "contacts": {
                "bytes": 488,
                "sha256": "89a35fc840d3269efe79b5edbafd8de837cfa116e468b631a90f2e38aa26a4d1"
              },
              "contracts": {
                "bytes": 447,
                "sha256": "a80b22be652daee89c893510fd8eceaa426cc3e94505913e732ab9c901f06273"
              },
              "departments": {
                "bytes": 265,
                "sha256": "90ab56fdee06145383fb30c27998acc6ee9c0fc60f8e0951501cc9709b298d6b"
              },
              "dependents": {
                "bytes": 342,
                "sha256": "b7307f851d7873bbc55abf4d167c75494658747259e31a84dd79f1b6946196e1"
              },
              "educations": {
                "bytes": 631,
                "sha256": "3d92338a773dbc1d47c32cf5ebac2db359049234613c8ca34c529d4e65cd7292"
              },
              "employee_benefits": {
                "bytes": 309,
                "sha256": "30b8f57af7aca2a39cd0011942179706ffc48873cd70f407354636329b799fad"
              },
              "employee_salaries": {
                "bytes": 187,
                "sha256": "81b0cf4cae95e1de6410c1427b93b87dfbd2ee4b00cc74010e5d6ef11066ea15"
              },
              "employee_skills": {
                "bytes": 147,
                "sha256": "f5dbbd9b4a27f7038490af01c752bd7c86ab50e1c1da74a81e8cb92ed7cf5c1a"
              },
              "employees": {
                "bytes": 887,
                "sha256": "62be7e3d332c3c5ad1050ad7f570507249a1b47f1de2810575a2327452e63f17"
              },
              "employment_statuses": {
                "bytes": 132,
                "sha256": "aa39742345193aa2eff3794adaf9a37785f4bd1f22e3fc52b319a3c3794ffaea"
              },
              "equipment": {
                "bytes": 13364,
                "sha256": "c32f7c1672d29196b5bcbb376ef1fe7bc11088b4aa8c3a9a73c7a0d1edbb9507"
              },
              "equipment_assignments": {
                "bytes": 273,
                "sha256": "9345b1b50d457492c6ff78159029904e3b02d8a111df726a0099bd537536ff45"
              },
              "grades": {
                "bytes": 190,
                "sha256": "870116a9674a1fd64995eadf5a54721c5700bdf63da00eee0d5ae415c5be5f1e"
              },
              "interviews": {
                "bytes": 445,
                "sha256": "5e800356b65c9c94c469e65942d4c9f8892b89a561cec81e94e1b82240ae0e84"
              },
              "job_openings": {
                "bytes": 3255,
                "sha256": "debcd1a38b7972591541e6138721c8b6ae18c9231dba1c93cc413dd245782185"
              },
              "jobs": {
                "bytes": 1255,
                "sha256": "600ca7b65e85927e22ffd9582297d5c6c933d412b36943d54ef37eedbd65df38"
              },
              "leave_allocations": {
                "bytes": 201,
                "sha256": "d9097eb9d28634a3b786fde49b645d85716d640774b0ceadf1109643ca7bd097"
              },
              "leave_requests": {
                "bytes": 474,
                "sha256": "3b1fb8889b194b256d22b2387faaec73a62f42878de2909d33ba45ce134ac6a7"
              },
              "leave_types": {
                "bytes": 137,
                "sha256": "8234fe5898702e573838b694ecd131bd5770a4999954550bf8ca4ca5ee6cc6c4"
              },
              "locations": {
                "bytes": 260,
                "sha256": "5984a169b1d62bc8f4b519ca278e05b77056e5c176762b3e8e62819c17c3a864"
              },
              "onboarding_tasks": {
                "bytes": 395,
                "sha256": "a9fbccdc4f7d499d6af221b41da29e6b9b5bf1aaf970d0fb5becd9d5ed6182d8"
              },
              "payrolls": {
                "bytes": 2555,
                "sha256": "20409d3986bc1ffe50317063d82126885a326a1e18ecbbf429488bea2bbf7807"
              },
              "payslips": {
                "bytes": 1928,
                "sha256": "36ceeebf63fc1d187e5e944dc79eec78960a72c3ab2ecc9d5018c69092ad9c99"
              },
              "performance_reviews": {
                "bytes": 433,
                "sha256": "6859fb2d1d263383dc5cc171968636586f6cbbcef26562b271f2f6440cab5b53"
              },
              "review_goals": {
                "bytes": 643,
                "sha256": "7175b2ad151f3c3508875e8e503458e7edf382353fd6c8a61b969c3361c0e4a0"
              },
              "salary_components": {
                "bytes": 312,
                "sha256": "68842f4a9272d6af05f1a4ada970de52e83a4693b403d5d3a1004d77c910af76"
              },
              "skills": {
                "bytes": 802,
                "sha256": "5325f6381182e52988baab3497ef16963e4976ab00b0d550ca9bb449e6a775d8"
              },
              "training_enrollments": {
                "bytes": 419,
                "sha256": "5173176dcaa7dbfd40455bc996a7b9acb8a4da7a336aca9c3e09c5f72fcf4dd1"
              },
              "trainings": {
                "bytes": 994,
                "sha256": "eeaa9dbe681b2119de911c1543577c3787203e2147bf21b1ddf12041bd5cb9e2"
              }
            },
            "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": "One attendance row per person per day, clocking in 7:30 to 10:30 and out seven to ten hours later",
            "violations": 0
          },
          {
            "name": "Nobody clocks in before they were hired",
            "violations": 0
          },
          {
            "name": "One payslip per person per run; gross is the sum of their salary components, deductions 22% of it, net the rest",
            "violations": 0
          },
          {
            "name": "Every employee has a salary component, and a contract salary sits inside its pay grade",
            "violations": 0
          },
          {
            "name": "Leave is allocated once a type, at the type’s days, and a request ends on or after it starts",
            "violations": 0
          },
          {
            "name": "Applications follow the opening, interviews follow the application",
            "violations": 0
          },
          {
            "name": "Skills, benefits, salary components and trainings are listed once per person, and dated in order",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "benefits": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "companies": {
                "duplicates": 0,
                "columns": {
                  "website": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "employment_statuses": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "equipment": {
                "duplicates": 4,
                "columns": {
                  "name": {
                    "missing": 12,
                    "typos": 9,
                    "outliers": 0
                  },
                  "serial_number": {
                    "missing": 22,
                    "typos": 11,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 11,
                    "typos": 8,
                    "outliers": 0
                  }
                }
              },
              "jobs": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "leave_types": {
                "duplicates": 0,
                "columns": {
                  "paid": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "locations": {
                "duplicates": 0,
                "columns": {
                  "country": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "departments": {
                "duplicates": 0,
                "columns": {
                  "code": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "employees": {
                "duplicates": 0,
                "columns": {
                  "last_name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "addresses": {
                "duplicates": 0,
                "columns": {
                  "city": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "attendance": {
                "duplicates": 8,
                "columns": {
                  "clock_in": {
                    "missing": 31,
                    "typos": 0,
                    "outliers": 0
                  },
                  "clock_out": {
                    "missing": 28,
                    "typos": 0,
                    "outliers": 0
                  },
                  "date": {
                    "missing": 34,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "contacts": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "dependents": {
                "duplicates": 0,
                "columns": {
                  "birth_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "educations": {
                "duplicates": 0,
                "columns": {
                  "graduation_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "institution": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "equipment_assignments": {
                "duplicates": 0,
                "columns": {
                  "assigned_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "job_openings": {
                "duplicates": 1,
                "columns": {
                  "posted_date": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 3,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "applications": {
                "duplicates": 0,
                "columns": {
                  "applied_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "interviews": {
                "duplicates": 0,
                "columns": {
                  "feedback": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "onboarding_tasks": {
                "duplicates": 0,
                "columns": {
                  "due_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "task_name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "payrolls": {
                "duplicates": 0,
                "columns": {
                  "end_date": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "payment_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "payslips": {
                "duplicates": 2,
                "columns": {
                  "deductions": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "gross_pay": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "performance_reviews": {
                "duplicates": 0,
                "columns": {
                  "feedback": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "review_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "review_goals": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "salary_components": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "skills": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 3,
                    "outliers": 0
                  }
                }
              },
              "trainings": {
                "duplicates": 0,
                "columns": {
                  "duration_hours": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  },
                  "provider": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "training_enrollments": {
                "duplicates": 0,
                "columns": {
                  "completion_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "enrollment_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 177,
              "typos": 49,
              "outliers": 1,
              "duplicates": 15
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/hr-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 34512,
              "sha256": "0aacd376232b30c37c598c2318534c9c21945062281716f6c0e02c9440bf2f76",
              "raw": {
                "bytes": 140690,
                "sha256": "f7dc2e83ae572aa2ebc91b5c0866e6557a4ecd2b64130f374994b2f9cbfc40fa"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/hr-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 35766,
              "sha256": "6eef0f05a83a01c37c3115b82fc2a5b3d82b1c47fa3b8cd5a0fd02bf06786828",
              "tables": {
                "addresses": {
                  "bytes": 634,
                  "sha256": "aa049f3081e33f3c1e3e890b501671b5fc96bd482d68c1b1147a2637fbf005aa"
                },
                "applications": {
                  "bytes": 331,
                  "sha256": "c011478cf411aec2d97a8c562bea07a278f34789547f0b7cc7398782a29b8739"
                },
                "attendance": {
                  "bytes": 57003,
                  "sha256": "b3250cb4c6b62539819754c335742b5138aaa13fa6c1e4d327958715923dabbc"
                },
                "benefits": {
                  "bytes": 416,
                  "sha256": "b52dbd3e7f053f7b389df59124a6adc26d6e924f791633968ac0d5b9cd121232"
                },
                "candidates": {
                  "bytes": 1145,
                  "sha256": "f36de7c3652cd1817a3bd21ce173d220c5361c28df79c2e1fc6eb11356af5e06"
                },
                "companies": {
                  "bytes": 100,
                  "sha256": "65c78fe0c81c386dfa1c1a868f803c2dfe32e4401d0fa81e2827b953816067a5"
                },
                "contacts": {
                  "bytes": 488,
                  "sha256": "be034adbdb9e317ddeb64920ce06300a6f6d42c96ededf854524969317648f24"
                },
                "contracts": {
                  "bytes": 447,
                  "sha256": "a80b22be652daee89c893510fd8eceaa426cc3e94505913e732ab9c901f06273"
                },
                "departments": {
                  "bytes": 262,
                  "sha256": "57ed5ad04536e50af2cbd1c01b65ea5f79ad5859b3e62a5d8cf0b911f20896e4"
                },
                "dependents": {
                  "bytes": 332,
                  "sha256": "37323f9b3162cf9fbc9b8258bd9083015087e4b7c6ed39f6f0a4c7ccc69a6fae"
                },
                "educations": {
                  "bytes": 606,
                  "sha256": "f0f38cc06e8a2ba37282c245fa1a74feac483e99693fa021b9f5c3c439c83e3b"
                },
                "employee_benefits": {
                  "bytes": 309,
                  "sha256": "30b8f57af7aca2a39cd0011942179706ffc48873cd70f407354636329b799fad"
                },
                "employee_salaries": {
                  "bytes": 187,
                  "sha256": "81b0cf4cae95e1de6410c1427b93b87dfbd2ee4b00cc74010e5d6ef11066ea15"
                },
                "employee_skills": {
                  "bytes": 147,
                  "sha256": "f5dbbd9b4a27f7038490af01c752bd7c86ab50e1c1da74a81e8cb92ed7cf5c1a"
                },
                "employees": {
                  "bytes": 869,
                  "sha256": "a983990a8a7c3cf46d5f56308ed63d8ba9e9586f9078439cc6f7420ead30220f"
                },
                "employment_statuses": {
                  "bytes": 125,
                  "sha256": "7dec7cb711c02c4162b474e64741d7077b37aaada0bc3b5e8123f91f13461af1"
                },
                "equipment": {
                  "bytes": 13106,
                  "sha256": "b761dba6af10eb98833d69cd5536761fdf65b61e0cf5b5ff0c54acea1c825be6"
                },
                "equipment_assignments": {
                  "bytes": 263,
                  "sha256": "cd5f30bdf2c9bf2ed198bd4db23502b534aee454022d931adac6d3e55da30f17"
                },
                "grades": {
                  "bytes": 190,
                  "sha256": "870116a9674a1fd64995eadf5a54721c5700bdf63da00eee0d5ae415c5be5f1e"
                },
                "interviews": {
                  "bytes": 445,
                  "sha256": "2f7db8de868d867a13f85ac14b8e7d95d8d3518363a5fa6ee157a248010c6a4e"
                },
                "job_openings": {
                  "bytes": 3227,
                  "sha256": "93fe1201cc373140b414d568d3963d867dcd0c3191fa363d3975b4587d219a5a"
                },
                "jobs": {
                  "bytes": 1235,
                  "sha256": "6f8d67c2301ab22ed3e3803bd959fe9450c6bd7e6b331ab0dd8c115442c5aa6e"
                },
                "leave_allocations": {
                  "bytes": 201,
                  "sha256": "d9097eb9d28634a3b786fde49b645d85716d640774b0ceadf1109643ca7bd097"
                },
                "leave_requests": {
                  "bytes": 474,
                  "sha256": "3b1fb8889b194b256d22b2387faaec73a62f42878de2909d33ba45ce134ac6a7"
                },
                "leave_types": {
                  "bytes": 133,
                  "sha256": "9e76329a71b882a2b7cc7b101e0b366711862958285a5a85598c1b556db13937"
                },
                "locations": {
                  "bytes": 266,
                  "sha256": "945b47e7bde695494b542efa5e0ed817ff81cdc698f5277cb6d91da4600b8ced"
                },
                "onboarding_tasks": {
                  "bytes": 388,
                  "sha256": "277588fd476a21eb8d10902bcd117ea96396084377d1b4e6cfa46435f9893bdb"
                },
                "payrolls": {
                  "bytes": 2493,
                  "sha256": "228528ca77842b424530e80b862a98228560b72f73c81d64ad0900bd33811a71"
                },
                "payslips": {
                  "bytes": 1971,
                  "sha256": "ba83651be8009d29fc8c6e514ed6139da3d65567814847749f0a997a4c264f8e"
                },
                "performance_reviews": {
                  "bytes": 426,
                  "sha256": "5a5697ea7eac176878d6211e2e8f288cd8826707584ba0f6e6edae8bbfe295ee"
                },
                "review_goals": {
                  "bytes": 643,
                  "sha256": "85eae08ad26070285b24f4e96127a32746fc894ecc9dc3e5f33285448e5673cb"
                },
                "salary_components": {
                  "bytes": 315,
                  "sha256": "21e2c82b07a65e75015d81a744a571a276ea4e746fc9ebf49b543bf0b22877ba"
                },
                "skills": {
                  "bytes": 797,
                  "sha256": "b98e1e471d4d1c90a6cfb02df61b12449932613afe37043e1a27fc5699e8d4a2"
                },
                "training_enrollments": {
                  "bytes": 391,
                  "sha256": "edfe5c9c4fc8fe6c167e8957e1b71eaaf3e036a5192f54fff75f1e9d02c12dc2"
                },
                "trainings": {
                  "bytes": 964,
                  "sha256": "2195b48816cffaf2c8d54b5aa7f655bf917e2d9aeb7a399d8a653e2e64a94026"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 115911,
        "counts": {
          "benefits": 8,
          "candidates": 400,
          "companies": 1,
          "employment_statuses": 4,
          "equipment": 400,
          "grades": 8,
          "jobs": 30,
          "leave_types": 6,
          "locations": 6,
          "departments": 12,
          "employees": 200,
          "addresses": 200,
          "attendance": 100000,
          "contacts": 200,
          "contracts": 200,
          "dependents": 200,
          "educations": 300,
          "employee_benefits": 600,
          "equipment_assignments": 300,
          "job_openings": 120,
          "applications": 500,
          "interviews": 300,
          "leave_allocations": 600,
          "leave_requests": 1000,
          "onboarding_tasks": 400,
          "payrolls": 60,
          "payslips": 6000,
          "performance_reviews": 600,
          "review_goals": 1200,
          "salary_components": 6,
          "employee_salaries": 600,
          "skills": 30,
          "employee_skills": 800,
          "trainings": 20,
          "training_enrollments": 600
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 2042743,
            "sha256": "eccec96c379e2a3e5770f6674414d39a2e186712bedf373a044c374b21546014",
            "raw": {
              "bytes": 8637239,
              "sha256": "038702081a90eb4f335c9275133affe7672a356ca155b7a9ee4452567b063f13"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 2041827,
            "sha256": "62c75267d5679b75749ad9b51f7d923d5a59e90a1833c1ab6f7c6206adb5e491",
            "raw": {
              "bytes": 8633836,
              "sha256": "a7a5b22a66232011f2ac9d687d01a13769aac3d43612dcdeea16fa9980aaf681"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 2041184,
            "sha256": "88393980be63f856b06beea223e56af590507e87f9bbe873ef3dc4d29c464363",
            "raw": {
              "bytes": 8630887,
              "sha256": "7d73cd0b6394bb0ea13390918e1d2483c5b410fa5c72e0a6533eb584d91917f4"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/hr-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 2015411,
            "sha256": "e8db1bfb06b056cd518126ebb0ebe663b966447dc66c285759b851ddf57ff539",
            "tables": {
              "addresses": {
                "bytes": 11927,
                "sha256": "84c2bde5a4f14083e36e062e32411266f78837023559366e1a04d814fbfcab0b"
              },
              "applications": {
                "bytes": 16079,
                "sha256": "9a4d33e428787c8c8871e8364d3aa23e359a3e277a5467ce9484789a8dba80b2"
              },
              "attendance": {
                "bytes": 6134669,
                "sha256": "99f951a76aff8c2ce3e810d0ea0024f24db915fbcc57cb794cda1d4eff7fb0ad"
              },
              "benefits": {
                "bytes": 437,
                "sha256": "c2271215bb37539155f18d4ed7af29775a22a209ba4523f2c23fb8185eab7cdc"
              },
              "candidates": {
                "bytes": 44796,
                "sha256": "9ce8605b31fc876b064810f1e138b991a1f3b33ef3a801b711d0bc1937d076d0"
              },
              "companies": {
                "bytes": 97,
                "sha256": "add5dcc4e0792342f5c4c58afb2eb0ae07172a6af409f32d0bd51610b1b99084"
              },
              "contacts": {
                "bytes": 9132,
                "sha256": "0ecffc8cca960bedc36dbc7cbff9c81365bd850e28a99c620289a5cc38ff2462"
              },
              "contracts": {
                "bytes": 8161,
                "sha256": "115ee01ba525077b6b9d2bbb7f96129f960c548c706b5e7c530c2fa6cad97e9f"
              },
              "departments": {
                "bytes": 265,
                "sha256": "90ab56fdee06145383fb30c27998acc6ee9c0fc60f8e0951501cc9709b298d6b"
              },
              "dependents": {
                "bytes": 6492,
                "sha256": "fc43879cc0237200b47ea43417a67145fe8d4ad3db89c2a78f8c4269b10eeef0"
              },
              "educations": {
                "bytes": 18274,
                "sha256": "79cef1bc17b9fc85f57fb6d9adae9bb0baa312cbf7758612b27d9c7704122b14"
              },
              "employee_benefits": {
                "bytes": 16798,
                "sha256": "7cad17fd00b37886dbfc91e4fd227ab7dbd68ee248f93667e008041fb060ce11"
              },
              "employee_salaries": {
                "bytes": 10773,
                "sha256": "bd84e50cf859ceaa3d45f14818f583b859ec258b42451340be55b1fac8cb693c"
              },
              "employee_skills": {
                "bytes": 10772,
                "sha256": "e11b0c18a486632c78250996fe4159e6ec2b21f91461c2169ecd013c87a8144e"
              },
              "employees": {
                "bytes": 16309,
                "sha256": "7895aa89522afef7b9c3b4b6af0e0b1d59e4d6e26b46fdde6b15a003e4ff4680"
              },
              "employment_statuses": {
                "bytes": 132,
                "sha256": "aa39742345193aa2eff3794adaf9a37785f4bd1f22e3fc52b319a3c3794ffaea"
              },
              "equipment": {
                "bytes": 13327,
                "sha256": "c3ae3baa0e62fc633561244b7ce38a7bdc3685225d6377715a6521c2964a6a97"
              },
              "equipment_assignments": {
                "bytes": 8243,
                "sha256": "6e72de8f3b3b985c4a246e8f5f8e8f258fcfd7af266691d7f1c67e9a5b3ffa6f"
              },
              "grades": {
                "bytes": 190,
                "sha256": "870116a9674a1fd64995eadf5a54721c5700bdf63da00eee0d5ae415c5be5f1e"
              },
              "interviews": {
                "bytes": 12550,
                "sha256": "03651387b454c73ff0e3dd024a5ed40c486a072c1ce17a56857630e6b0253aec"
              },
              "job_openings": {
                "bytes": 3251,
                "sha256": "d8f2566ff427af43f92a125406b716a6fe251b9cbaecaff3a0d9ecb1ed8e90a8"
              },
              "jobs": {
                "bytes": 1285,
                "sha256": "6c279b7a7d1c93a0a5cebd1e2e5050fd47bac95bd01b25dab198ed33fa407c01"
              },
              "leave_allocations": {
                "bytes": 10903,
                "sha256": "d1550f4bb01c30c1674d4edad37f16215b772aade89d3350955a6fde6f4d6e5d"
              },
              "leave_requests": {
                "bytes": 44576,
                "sha256": "dc367ac7d1d5554f466b20be97d745800d32fd226d316a7772df03fb556557be"
              },
              "leave_types": {
                "bytes": 137,
                "sha256": "8234fe5898702e573838b694ecd131bd5770a4999954550bf8ca4ca5ee6cc6c4"
              },
              "locations": {
                "bytes": 260,
                "sha256": "5984a169b1d62bc8f4b519ca278e05b77056e5c176762b3e8e62819c17c3a864"
              },
              "onboarding_tasks": {
                "bytes": 15832,
                "sha256": "c719d5423343f20ef9e471e766e8c5cfd06ae0b71f1b416fcbf73eba91e25f26"
              },
              "payrolls": {
                "bytes": 2555,
                "sha256": "20409d3986bc1ffe50317063d82126885a326a1e18ecbbf429488bea2bbf7807"
              },
              "payslips": {
                "bytes": 212579,
                "sha256": "7a3b63afcc3c560402a0be3bb0e31064d5c44a2f0ab1be098223a3b85f69d60f"
              },
              "performance_reviews": {
                "bytes": 25971,
                "sha256": "0ff33b8c70c6b2b5a60186e3c679e7839e001924567161544a4daad260a831f6"
              },
              "review_goals": {
                "bytes": 63145,
                "sha256": "a4abea0122934beeeef993af789bb617c204deafb885fcdd1f0aefaea05f50d5"
              },
              "salary_components": {
                "bytes": 312,
                "sha256": "68842f4a9272d6af05f1a4ada970de52e83a4693b403d5d3a1004d77c910af76"
              },
              "skills": {
                "bytes": 793,
                "sha256": "ef08e5e8340d8ceb5f1cdf2031a44a70eb5a40c43307cf5e8305db42622afa8a"
              },
              "training_enrollments": {
                "bytes": 24388,
                "sha256": "03866717a0a48c9a3eba6e168910ef03411793a8db6b95548d748cac3fa933e0"
              },
              "trainings": {
                "bytes": 994,
                "sha256": "59bd6952b5a3ac4d097167a6e7efc35146d3dd5e51bd76f437aa8a3d72eb97bc"
              }
            },
            "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": "One attendance row per person per day, clocking in 7:30 to 10:30 and out seven to ten hours later",
            "violations": 0
          },
          {
            "name": "Nobody clocks in before they were hired",
            "violations": 0
          },
          {
            "name": "One payslip per person per run; gross is the sum of their salary components, deductions 22% of it, net the rest",
            "violations": 0
          },
          {
            "name": "Every employee has a salary component, and a contract salary sits inside its pay grade",
            "violations": 0
          },
          {
            "name": "Leave is allocated once a type, at the type’s days, and a request ends on or after it starts",
            "violations": 0
          },
          {
            "name": "Applications follow the opening, interviews follow the application",
            "violations": 0
          },
          {
            "name": "Skills, benefits, salary components and trainings are listed once per person, and dated in order",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "candidates": {
                "duplicates": 9,
                "columns": {
                  "email": {
                    "missing": 8,
                    "typos": 15,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 15,
                    "typos": 11,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 12,
                    "typos": 14,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 9,
                    "typos": 7,
                    "outliers": 0
                  },
                  "resume_url": {
                    "missing": 8,
                    "typos": 10,
                    "outliers": 0
                  }
                }
              },
              "companies": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "equipment": {
                "duplicates": 7,
                "columns": {
                  "name": {
                    "missing": 14,
                    "typos": 9,
                    "outliers": 0
                  },
                  "serial_number": {
                    "missing": 13,
                    "typos": 17,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 6,
                    "typos": 10,
                    "outliers": 0
                  }
                }
              },
              "grades": {
                "duplicates": 0,
                "columns": {
                  "code": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "minimum_salary": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "jobs": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "locations": {
                "duplicates": 0,
                "columns": {
                  "country": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "employees": {
                "duplicates": 1,
                "columns": {
                  "email": {
                    "missing": 7,
                    "typos": 4,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 8,
                    "typos": 3,
                    "outliers": 0
                  },
                  "hire_date": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 7,
                    "typos": 5,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 6,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "addresses": {
                "duplicates": 1,
                "columns": {
                  "city": {
                    "missing": 3,
                    "typos": 5,
                    "outliers": 0
                  },
                  "country": {
                    "missing": 6,
                    "typos": 5,
                    "outliers": 0
                  },
                  "postal_code": {
                    "missing": 8,
                    "typos": 1,
                    "outliers": 0
                  },
                  "state": {
                    "missing": 9,
                    "typos": 5,
                    "outliers": 0
                  },
                  "street": {
                    "missing": 10,
                    "typos": 9,
                    "outliers": 0
                  }
                }
              },
              "attendance": {
                "duplicates": 963,
                "columns": {
                  "clock_in": {
                    "missing": 2983,
                    "typos": 0,
                    "outliers": 0
                  },
                  "clock_out": {
                    "missing": 2954,
                    "typos": 0,
                    "outliers": 0
                  },
                  "date": {
                    "missing": 3019,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "contacts": {
                "duplicates": 3,
                "columns": {
                  "name": {
                    "missing": 6,
                    "typos": 9,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 11,
                    "typos": 4,
                    "outliers": 0
                  },
                  "relationship": {
                    "missing": 5,
                    "typos": 9,
                    "outliers": 0
                  }
                }
              },
              "contracts": {
                "duplicates": 2,
                "columns": {
                  "end_date": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 0
                  },
                  "salary": {
                    "missing": 5,
                    "typos": 0,
                    "outliers": 5
                  },
                  "start_date": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 2,
                    "typos": 6,
                    "outliers": 0
                  }
                }
              },
              "dependents": {
                "duplicates": 0,
                "columns": {
                  "birth_date": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 8,
                    "typos": 7,
                    "outliers": 0
                  },
                  "relationship": {
                    "missing": 6,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "educations": {
                "duplicates": 5,
                "columns": {
                  "degree": {
                    "missing": 10,
                    "typos": 5,
                    "outliers": 0
                  },
                  "field_of_study": {
                    "missing": 10,
                    "typos": 6,
                    "outliers": 0
                  },
                  "graduation_date": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "institution": {
                    "missing": 8,
                    "typos": 10,
                    "outliers": 0
                  }
                }
              },
              "employee_benefits": {
                "duplicates": 3,
                "columns": {
                  "enrollment_date": {
                    "missing": 21,
                    "typos": 0,
                    "outliers": 0
                  },
                  "premium_amount": {
                    "missing": 23,
                    "typos": 0,
                    "outliers": 4
                  }
                }
              },
              "equipment_assignments": {
                "duplicates": 2,
                "columns": {
                  "assigned_date": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 0
                  },
                  "returned_date": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "job_openings": {
                "duplicates": 2,
                "columns": {
                  "posted_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 8,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "applications": {
                "duplicates": 7,
                "columns": {
                  "applied_date": {
                    "missing": 19,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 13,
                    "typos": 12,
                    "outliers": 0
                  }
                }
              },
              "interviews": {
                "duplicates": 3,
                "columns": {
                  "feedback": {
                    "missing": 8,
                    "typos": 6,
                    "outliers": 0
                  },
                  "scheduled_time": {
                    "missing": 5,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "leave_allocations": {
                "duplicates": 4,
                "columns": {
                  "allocated_days": {
                    "missing": 20,
                    "typos": 0,
                    "outliers": 3
                  },
                  "year": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 1
                  }
                }
              },
              "leave_requests": {
                "duplicates": 9,
                "columns": {
                  "end_date": {
                    "missing": 20,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 20,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 28,
                    "typos": 38,
                    "outliers": 0
                  }
                }
              },
              "onboarding_tasks": {
                "duplicates": 5,
                "columns": {
                  "due_date": {
                    "missing": 11,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 12,
                    "typos": 9,
                    "outliers": 0
                  },
                  "task_name": {
                    "missing": 13,
                    "typos": 13,
                    "outliers": 0
                  }
                }
              },
              "payrolls": {
                "duplicates": 0,
                "columns": {
                  "end_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "payment_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "payslips": {
                "duplicates": 65,
                "columns": {
                  "deductions": {
                    "missing": 166,
                    "typos": 0,
                    "outliers": 22
                  },
                  "gross_pay": {
                    "missing": 162,
                    "typos": 0,
                    "outliers": 33
                  },
                  "net_pay": {
                    "missing": 199,
                    "typos": 0,
                    "outliers": 20
                  }
                }
              },
              "performance_reviews": {
                "duplicates": 6,
                "columns": {
                  "feedback": {
                    "missing": 24,
                    "typos": 18,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 3
                  },
                  "review_date": {
                    "missing": 19,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "review_goals": {
                "duplicates": 7,
                "columns": {
                  "description": {
                    "missing": 33,
                    "typos": 32,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 29,
                    "typos": 22,
                    "outliers": 0
                  },
                  "target_date": {
                    "missing": 34,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "salary_components": {
                "duplicates": 0,
                "columns": {
                  "type": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "employee_salaries": {
                "duplicates": 5,
                "columns": {
                  "amount": {
                    "missing": 11,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "skills": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "employee_skills": {
                "duplicates": 11,
                "columns": {
                  "years_of_experience": {
                    "missing": 40,
                    "typos": 0,
                    "outliers": 4
                  }
                }
              },
              "trainings": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "duration_hours": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "provider": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "training_enrollments": {
                "duplicates": 2,
                "columns": {
                  "completion_date": {
                    "missing": 21,
                    "typos": 0,
                    "outliers": 0
                  },
                  "enrollment_date": {
                    "missing": 17,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 19,
                    "typos": 17,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 10261,
              "typos": 371,
              "outliers": 97,
              "duplicates": 1122
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/hr-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 2038546,
              "sha256": "fcd4a1208a06ad7cc522db5ae52d411d3c3222e68bf374ca917e9fea3d967252",
              "raw": {
                "bytes": 8581417,
                "sha256": "d1c47fb36b7eb3f713eb70122c0bc00cca2dc8f448b8f6c22c14e48c0647fccc"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/hr-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 2004437,
              "sha256": "10ba4de066089672e1157014738a5e7397f913abde23e4f778f2a3a4527710e3",
              "tables": {
                "addresses": {
                  "bytes": 11652,
                  "sha256": "48516ec772fa4ee64d643b491d37ea98ef628c748e073f413ea3b6a94a198c8a"
                },
                "applications": {
                  "bytes": 16004,
                  "sha256": "181b0941cb659cb49f684452e49937453db808200f59d39f4a80993e60aea6df"
                },
                "attendance": {
                  "bytes": 6050594,
                  "sha256": "df87e5fa8f86b6285cb4816a55f97e464410554b27a39df73974dbe2edf9a32c"
                },
                "benefits": {
                  "bytes": 437,
                  "sha256": "c2271215bb37539155f18d4ed7af29775a22a209ba4523f2c23fb8185eab7cdc"
                },
                "candidates": {
                  "bytes": 44961,
                  "sha256": "c75645a5ce710736fa3a96200f88fc462dc11a053866d91bb55edbed0897a210"
                },
                "companies": {
                  "bytes": 77,
                  "sha256": "104c951886b71c86d774a7b863017a2239901ff76cb1121fe8a3595557ac5059"
                },
                "contacts": {
                  "bytes": 9035,
                  "sha256": "44bbfe6417c0636949303bfcf0b9e8fc5e3299e6fd72bcf296a6dc81bdf47322"
                },
                "contracts": {
                  "bytes": 8121,
                  "sha256": "0bc42113a00f56c33a722ca6aeebbe2b96d74c07eafdecf6ce295779378ca964"
                },
                "departments": {
                  "bytes": 265,
                  "sha256": "90ab56fdee06145383fb30c27998acc6ee9c0fc60f8e0951501cc9709b298d6b"
                },
                "dependents": {
                  "bytes": 6358,
                  "sha256": "9f536e5b9736417dca4eb275812e00af946c24ecc1400fa017112f179f9d1edf"
                },
                "educations": {
                  "bytes": 18249,
                  "sha256": "0c5f3db8db895a033bf817b3898cf866a1f38670b7d077baad3b1e391d301f8c"
                },
                "employee_benefits": {
                  "bytes": 16548,
                  "sha256": "33d0c21672cee1d6c0fa6f8db7b73ee3914158636722e7c933aa09e805a22377"
                },
                "employee_salaries": {
                  "bytes": 10795,
                  "sha256": "dce5822927f951232ff68addbac6d01001064f2bd162ade95818b0dae4e91ffe"
                },
                "employee_skills": {
                  "bytes": 10871,
                  "sha256": "c52b7ed4d62b08ff43b60eaeecb7ea81028baa6ef8801847c7fb9293041780e7"
                },
                "employees": {
                  "bytes": 15944,
                  "sha256": "1b09c7581702e69d59263c5620dc3f6573960e9d73c1a1e74876a15b0b5f0736"
                },
                "employment_statuses": {
                  "bytes": 132,
                  "sha256": "aa39742345193aa2eff3794adaf9a37785f4bd1f22e3fc52b319a3c3794ffaea"
                },
                "equipment": {
                  "bytes": 13336,
                  "sha256": "dd801f368b4db55b4efcb95a38a126e79d7fd4f792b8780d14b3d6780c40ed89"
                },
                "equipment_assignments": {
                  "bytes": 8190,
                  "sha256": "f2950bb1b158e19478cdc9e04555f7aaa0f40abef2bd43d0275a5ad5d30bbc52"
                },
                "grades": {
                  "bytes": 185,
                  "sha256": "d4b63b527d790cd0b1c22dfb5914b4890c19565602d4c20881e22ba85a9dea49"
                },
                "interviews": {
                  "bytes": 12489,
                  "sha256": "2969ac7f0ed3ecfa350e7d75f5082f4996783ad49704ab7c44b6390e8531c60f"
                },
                "job_openings": {
                  "bytes": 3240,
                  "sha256": "a5bf12a7c53dca814c717097c7ede4d47e5132988efca7027edc54c482eee76d"
                },
                "jobs": {
                  "bytes": 1256,
                  "sha256": "a1c169b582aede4b7e56eed57bbc8a4455d23ea71e50d2ee57d4b83d10588df3"
                },
                "leave_allocations": {
                  "bytes": 10888,
                  "sha256": "4c30fa65708551453b6928cc4da140a03b30cf9d78e76f381e7ae0f7b46c6ac1"
                },
                "leave_requests": {
                  "bytes": 44415,
                  "sha256": "ffb1f70df2f8e84eeb22d7a518d9d2931e2f12cb1f70a17fead1ee64a9db07b7"
                },
                "leave_types": {
                  "bytes": 137,
                  "sha256": "8234fe5898702e573838b694ecd131bd5770a4999954550bf8ca4ca5ee6cc6c4"
                },
                "locations": {
                  "bytes": 266,
                  "sha256": "0cbdd42f77cc2189fac84736355ed5ee7d52a20fd590642631e67a45d275b259"
                },
                "onboarding_tasks": {
                  "bytes": 15714,
                  "sha256": "369a2d9ae35a3a6a6f546285b03ca796d09913ba33696e00c14f6af02f8c3cf6"
                },
                "payrolls": {
                  "bytes": 2491,
                  "sha256": "8694b911d21033cca381aa59898716d80af4769c65143a51e58ceba88c8140a9"
                },
                "payslips": {
                  "bytes": 211336,
                  "sha256": "8bdde5faf5e811ab9a7d5d77b847416ea1e264e56c212da4a9540168ff4f8af4"
                },
                "performance_reviews": {
                  "bytes": 25665,
                  "sha256": "6bd9b46afe18d6b71b3f2285fcb0152c7c93347225094a7a2dc35d6d805eef47"
                },
                "review_goals": {
                  "bytes": 62254,
                  "sha256": "e630d69d004eaaf499c6f5a5aeb1e42da03ab9002ce2b9cba7c2522670813a55"
                },
                "salary_components": {
                  "bytes": 305,
                  "sha256": "afd4c4011fd34760e6028068401e242aa10e091639a3bf064ade3cbe9f2c7fe5"
                },
                "skills": {
                  "bytes": 774,
                  "sha256": "ffa26b2f68e4cfb05edc34bb62812c8b018dd32559fdce9b9697e35a7dffe3a0"
                },
                "training_enrollments": {
                  "bytes": 23947,
                  "sha256": "f4831226d54726042ca99760d5a8b3a744f1e14b32f5907c79959641a2966303"
                },
                "trainings": {
                  "bytes": 989,
                  "sha256": "6848408a93acb3fd3cb690d72112622db81657416da76e3498137d6ecb47cd36"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 1152711,
        "counts": {
          "benefits": 8,
          "candidates": 4000,
          "companies": 1,
          "employment_statuses": 4,
          "equipment": 400,
          "grades": 8,
          "jobs": 30,
          "leave_types": 6,
          "locations": 6,
          "departments": 12,
          "employees": 2000,
          "addresses": 2000,
          "attendance": 1000000,
          "contacts": 2000,
          "contracts": 2000,
          "dependents": 2000,
          "educations": 3000,
          "employee_benefits": 6000,
          "equipment_assignments": 3000,
          "job_openings": 120,
          "applications": 5000,
          "interviews": 3000,
          "leave_allocations": 6000,
          "leave_requests": 10000,
          "onboarding_tasks": 4000,
          "payrolls": 60,
          "payslips": 60000,
          "performance_reviews": 6000,
          "review_goals": 12000,
          "salary_components": 6,
          "employee_salaries": 6000,
          "skills": 30,
          "employee_skills": 8000,
          "trainings": 20,
          "training_enrollments": 6000
        },
        "notes": [
          "At this size the tables beside attendance were cut to 1/16 of it, so the whole build stays under 3,000,000 rows."
        ],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1m/postgres.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 21467655,
            "sha256": "8eb173bda4f83b021a672de867a79ca4b6fb4e479e7e88d8e8137bdb7d2bacc4",
            "raw": {
              "bytes": 88134251,
              "sha256": "6a67cf7f5e98e6ed7ea4203129eb112d082a42e6a350dca0e48c19f7ca889e71"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 21465254,
            "sha256": "c1b8d66e1b293a7ba27b675687209de1d9dca0c210ca2ee782a2b078f17137b2",
            "raw": {
              "bytes": 88130848,
              "sha256": "362a2ceb50659af591cb912633967fa2ace022ed9f555a6206f549bb00c3f149"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/hr-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 21464501,
            "sha256": "d8e627938045a053c5c0720d565f9f93cad6cc75726077f613854407b6f83214",
            "raw": {
              "bytes": 88127899,
              "sha256": "7d470e3442cf30382eeea0f86604090b65e0bd5dba5d0e9503b1f42edef0296b"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/hr-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hr-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 21304786,
            "sha256": "dd3ba8b6898c40e68b4a9c65b4a98af29e97ea10cc918acaa6b26da8812a186e",
            "tables": {
              "addresses": {
                "bytes": 122722,
                "sha256": "d6b218e5877ac779714f28e2768eddb97fe8845a96f79f2c0902d42e8367277d"
              },
              "applications": {
                "bytes": 170593,
                "sha256": "9419ce10f784bdc8b326c7f6235af2b9c0d5c9d4012fbba8ea7d3ff6ef8257b8"
              },
              "attendance": {
                "bytes": 63335256,
                "sha256": "5d962d9b16891ad15f5f9b5ca9d21d2b259fe7e306dcce2a140e7e3421c98626"
              },
              "benefits": {
                "bytes": 437,
                "sha256": "c2271215bb37539155f18d4ed7af29775a22a209ba4523f2c23fb8185eab7cdc"
              },
              "candidates": {
                "bytes": 451691,
                "sha256": "5d7921d12f237b4af75b86f1567f0db12de133658335690d329314bba8f75baa"
              },
              "companies": {
                "bytes": 97,
                "sha256": "ed021a7e94a77d42fdcd4d22f8830d5499898048a9ac1b88cb7109dc990711ca"
              },
              "contacts": {
                "bytes": 96136,
                "sha256": "d794efb608b00da9da081f4088d81cb17238e7d57168111ef01ecc875e448973"
              },
              "contracts": {
                "bytes": 85387,
                "sha256": "3ba1d9b92a45f56c46663d4b1ef7e968a02491c99596eb6aea8e3991fab3c02a"
              },
              "departments": {
                "bytes": 265,
                "sha256": "90ab56fdee06145383fb30c27998acc6ee9c0fc60f8e0951501cc9709b298d6b"
              },
              "dependents": {
                "bytes": 68268,
                "sha256": "4ba5fe5e35ccb43829151af71556493ffe2b613eed1174bb40dc23552a8a869c"
              },
              "educations": {
                "bytes": 188577,
                "sha256": "f4cc11d1366b2b59cf3096db9c784f13ff14a78e9e299a888ad5be0cccd7bb33"
              },
              "employee_benefits": {
                "bytes": 179319,
                "sha256": "f6f460a4286b7f2eeee3a1df8eb44e9e2ebef63cd68b10af955b3e4e4d959272"
              },
              "employee_salaries": {
                "bytes": 119327,
                "sha256": "e121efc625a4621644f19fc490d19c298591679ab075c83d7dfe3eae9ce1c54d"
              },
              "employee_skills": {
                "bytes": 123125,
                "sha256": "1a0e61ccbfb41c70045d34c4ab78922805a04c1411e4965b12d85b0d3e0a1148"
              },
              "employees": {
                "bytes": 166174,
                "sha256": "738eaf092e98c9883670fd6d414ee12db2247e8ea0f308eabdfd3918c1282878"
              },
              "employment_statuses": {
                "bytes": 132,
                "sha256": "aa39742345193aa2eff3794adaf9a37785f4bd1f22e3fc52b319a3c3794ffaea"
              },
              "equipment": {
                "bytes": 13299,
                "sha256": "6151db59d773e927ed8d98fcbd05588a362b309bd207c06f0a9ad391da273af9"
              },
              "equipment_assignments": {
                "bytes": 87616,
                "sha256": "748fffbe8dcbd4edc5a6363d6b0b6865fbc5b255483b59843f67753cf6f6a798"
              },
              "grades": {
                "bytes": 190,
                "sha256": "870116a9674a1fd64995eadf5a54721c5700bdf63da00eee0d5ae415c5be5f1e"
              },
              "interviews": {
                "bytes": 135405,
                "sha256": "c6b8afb944d5198938d828838492c1a9096cfb72336c5d7703fae65a655be479"
              },
              "job_openings": {
                "bytes": 3250,
                "sha256": "d3143aa3e2b8d173852b1128eaeb1ed2e1bd706ee53b754fed76fc86fc8859fd"
              },
              "jobs": {
                "bytes": 1225,
                "sha256": "63ad27a89f4ebaffb082a9ca3d1df2572580674c829889af69eef3c6d935bdee"
              },
              "leave_allocations": {
                "bytes": 120665,
                "sha256": "d8b12e588b61d3018f3769c0139451c4dbd104b2f0a1721e7cd5bbf2d0924913"
              },
              "leave_requests": {
                "bytes": 474106,
                "sha256": "99ead46cef8229caaec51f0f53a20c9a110539e088ce8e433b8ae034c72b05d5"
              },
              "leave_types": {
                "bytes": 137,
                "sha256": "8234fe5898702e573838b694ecd131bd5770a4999954550bf8ca4ca5ee6cc6c4"
              },
              "locations": {
                "bytes": 260,
                "sha256": "5984a169b1d62bc8f4b519ca278e05b77056e5c176762b3e8e62819c17c3a864"
              },
              "onboarding_tasks": {
                "bytes": 165199,
                "sha256": "4fe44c7316940e145cfbccc494fee7ad6e48aa07bae9d0df61e92a091c407243"
              },
              "payrolls": {
                "bytes": 2555,
                "sha256": "20409d3986bc1ffe50317063d82126885a326a1e18ecbbf429488bea2bbf7807"
              },
              "payslips": {
                "bytes": 2243984,
                "sha256": "22562b8be0844954675bfa63f37df69ce6d87b898c882f773ec327b9ef4aeb0b"
              },
              "performance_reviews": {
                "bytes": 278226,
                "sha256": "6fbb08c3798344b1de07798bd4ccaa45ffa677b1ab96ad733b61b851a5cf6d72"
              },
              "review_goals": {
                "bytes": 652773,
                "sha256": "14756bebf2b1ee6fbafed79887d9f831d7b51b4c0c19dd0a4d71a15e4f3bd601"
              },
              "salary_components": {
                "bytes": 312,
                "sha256": "68842f4a9272d6af05f1a4ada970de52e83a4693b403d5d3a1004d77c910af76"
              },
              "skills": {
                "bytes": 796,
                "sha256": "6770e0c0f02d4a9038aed0440b5590cfb1a8de67d395911db3b38fea8c703562"
              },
              "training_enrollments": {
                "bytes": 254398,
                "sha256": "f3edceef5c3ff271c35b49e1a837ca87cc63db6061f0643973a370065523ff64"
              },
              "trainings": {
                "bytes": 1001,
                "sha256": "f4796831f5d5900401c621f4e59ef48848ec91cb1c35abcedafc78d6d83f31ae"
              }
            },
            "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": "One attendance row per person per day, clocking in 7:30 to 10:30 and out seven to ten hours later",
            "violations": 0
          },
          {
            "name": "Nobody clocks in before they were hired",
            "violations": 0
          },
          {
            "name": "One payslip per person per run; gross is the sum of their salary components, deductions 22% of it, net the rest",
            "violations": 0
          },
          {
            "name": "Every employee has a salary component, and a contract salary sits inside its pay grade",
            "violations": 0
          },
          {
            "name": "Leave is allocated once a type, at the type’s days, and a request ends on or after it starts",
            "violations": 0
          },
          {
            "name": "Applications follow the opening, interviews follow the application",
            "violations": 0
          },
          {
            "name": "Skills, benefits, salary components and trainings are listed once per person, and dated in order",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "One attendance row per person per day, clocking in 7:30 to 10:30 and out seven to ten hours later",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (employee_id, date)) FROM attendance) + (SELECT count(*) FROM attendance WHERE clock_in::date <> date OR clock_in::time < '07:30' OR clock_in::time > '10:30' OR clock_out < clock_in + interval '7 hours' OR clock_out > clock_in + interval '10 hours') AS violations"
      },
      {
        "name": "Nobody clocks in before they were hired",
        "sql": "SELECT count(*) AS violations FROM attendance a JOIN employees e ON e.id = a.employee_id WHERE a.date < e.hire_date"
      },
      {
        "name": "One payslip per person per run; gross is the sum of their salary components, deductions 22% of it, net the rest",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (payroll_id, employee_id)) FROM payslips) + (SELECT count(*) FROM payslips p LEFT JOIN (SELECT employee_id, sum(amount) AS monthly FROM employee_salaries GROUP BY employee_id) s ON s.employee_id = p.employee_id WHERE p.gross_pay <> COALESCE(s.monthly, 0) OR p.deductions <> round(p.gross_pay * 0.22, 2) OR p.net_pay <> p.gross_pay - p.deductions) AS violations"
      },
      {
        "name": "Every employee has a salary component, and a contract salary sits inside its pay grade",
        "sql": "SELECT (SELECT count(*) FROM employees e LEFT JOIN (SELECT DISTINCT employee_id FROM employee_salaries) s ON s.employee_id = e.id WHERE s.employee_id IS NULL) + (SELECT count(*) FROM contracts c JOIN employees e ON e.id = c.employee_id JOIN jobs j ON j.id = e.job_id JOIN grades g ON g.id = j.grade_id WHERE c.salary < g.minimum_salary OR c.salary > g.maximum_salary) AS violations"
      },
      {
        "name": "Leave is allocated once a type, at the type’s days, and a request ends on or after it starts",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (employee_id, leave_type_id)) FROM leave_allocations) + (SELECT count(*) FROM leave_allocations la JOIN leave_types lt ON lt.id = la.leave_type_id WHERE la.allocated_days <> CASE lt.name WHEN 'Annual Leave' THEN 20 WHEN 'Sick Leave' THEN 10 WHEN 'Parental Leave' THEN 60 WHEN 'Bereavement' THEN 5 WHEN 'Unpaid Leave' THEN 30 WHEN 'Jury Duty' THEN 10 END) + (SELECT count(*) FROM leave_requests WHERE end_date < start_date OR end_date > start_date + 14) AS violations"
      },
      {
        "name": "Applications follow the opening, interviews follow the application",
        "sql": "SELECT (SELECT count(*) FROM applications a JOIN job_openings o ON o.id = a.opening_id WHERE a.applied_date < o.posted_date) + (SELECT count(*) FROM interviews i JOIN applications a ON a.id = i.application_id WHERE i.scheduled_time < a.applied_date + interval '3 days') AS violations"
      },
      {
        "name": "Skills, benefits, salary components and trainings are listed once per person, and dated in order",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (employee_id, skill_id)) FROM employee_skills) + (SELECT count(*) - count(DISTINCT (employee_id, benefit_id)) FROM employee_benefits) + (SELECT count(*) - count(DISTINCT (employee_id, component_id)) FROM employee_salaries) + (SELECT count(*) - count(DISTINCT (employee_id, training_id)) FROM training_enrollments) + (SELECT count(*) FROM training_enrollments WHERE completion_date < enrollment_date) + (SELECT count(*) FROM equipment_assignments WHERE returned_date < assigned_date) + (SELECT count(*) FROM contracts WHERE end_date < start_date) AS violations"
      }
    ]
  },
  "publishedAt": 1791370261605,
  "updatedAt": 1791370261605
}
