{
  "format": "dataset-manifest/1",
  "slug": "ecommerce-sample-database",
  "version": 1,
  "seed": "flagship:ecommerce-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "ecommerce-sample-database",
    "name": "E-commerce sample database",
    "tagline": "Customers, products, carts, orders, payments, shipments and returns for an online store, with reviews and support.",
    "description": "A US online store over five years: customers sign up, fill carts and wish lists, and place orders that are paid, shipped and sometimes returned. Every order line is priced at its product price; an order subtotal is the sum of its lines, tax is 8% of each line, a coupon takes a fixed amount off but never more than the subtotal, shipping is the chosen method rate, and the total is subtotal less discount plus tax plus shipping -- which is what the payment charged, to the cent. Shipments leave after the order and arrive after they leave, and a return sends a whole line back within a month of the order. An order with no lines is an abandoned checkout and totals its shipping alone.",
    "domain": "ecommerce",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "bi-dashboards",
      "test-fixtures"
    ],
    "keywords": [
      "ecommerce",
      "online store",
      "orders",
      "shopping cart",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:ecommerce-sample-database",
    "tables": {
      "addresses": {
        "description": "Rows for the addresses table.",
        "rows": 90,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "city": {
            "kind": "place.city"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id",
            "skew": "long-tail"
          },
          "extended_address": {
            "kind": "pattern",
            "pattern": "[Apt ]###",
            "nullable": true,
            "nullRate": 0.7
          },
          "is_default_billing": {
            "kind": "bool",
            "trueRate": 0.7
          },
          "is_default_shipping": {
            "kind": "bool",
            "trueRate": 0.7
          },
          "postal_code": {
            "kind": "place.postcode"
          },
          "state_province": {
            "kind": "place.regionCode"
          },
          "street_address": {
            "kind": "location.streetAddress"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "audit_logs": {
        "description": "Rows for the audit_logs table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "action": {
            "kind": "enum",
            "values": [
              "insert",
              "update",
              "delete"
            ],
            "weights": [
              40,
              55,
              5
            ]
          },
          "performed_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "business"
          },
          "record_id": {
            "kind": "int",
            "min": 1,
            "max": 360000
          },
          "table_affected": {
            "kind": "enum",
            "values": [
              "orders",
              "products",
              "users",
              "payments",
              "shipments"
            ],
            "weights": [
              35,
              20,
              15,
              20,
              10
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "brands": {
        "description": "Rows for the brands table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Sold here since launch",
              "Exclusive to this store",
              "Ships from the brand",
              "Made in the USA",
              "Imported"
            ]
          },
          "logo_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/brands/]####[.png]"
          },
          "name": {
            "kind": "company.name"
          }
        }
      },
      "cart_items": {
        "description": "Rows for the cart_items table.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "added_at": {
            "kind": "datetime",
            "after": "cart_id.created_at",
            "withinDays": 10,
            "dayProfile": "waking"
          },
          "cart_id": {
            "kind": "fk",
            "ref": "shopping_carts.id",
            "skew": "long-tail"
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 3
          }
        }
      },
      "categories": {
        "description": "Rows for the categories table.",
        "rows": 22,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Free shipping over $35",
              "Bestsellers",
              "New arrivals weekly",
              "Clearance"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Books",
              "Movies",
              "Music",
              "Games",
              "Electronics",
              "Computers",
              "Home",
              "Garden",
              "Tools",
              "Grocery",
              "Health",
              "Beauty",
              "Toys",
              "Kids",
              "Baby",
              "Clothing",
              "Shoes",
              "Jewelry",
              "Sports",
              "Outdoors",
              "Automotive",
              "Office"
            ],
            "unique": true
          },
          "parent_category_id": {
            "kind": "fk",
            "ref": "categories.id",
            "nullable": true,
            "nullRate": 1
          },
          "slug": {
            "kind": "slug",
            "from": "name",
            "unique": true
          }
        }
      },
      "countries": {
        "description": "Rows for the countries table.",
        "rows": 1,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "constant",
            "value": "US"
          },
          "name": {
            "kind": "constant",
            "value": "United States"
          }
        }
      },
      "discount_coupons": {
        "description": "Rows for the discount_coupons table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "pattern",
            "pattern": "[SAVE]-AA##",
            "unique": true
          },
          "discount_type": {
            "kind": "constant",
            "value": "fixed_amount"
          },
          "discount_value": {
            "kind": "decimal",
            "min": 5,
            "max": 30,
            "scale": 2
          },
          "ends_at": {
            "kind": "datetime",
            "after": "starts_at",
            "withinDays": 60
          },
          "is_active": {
            "kind": "bool",
            "trueRate": 0.4
          },
          "min_purchase_amount": {
            "kind": "constant",
            "value": 0
          },
          "starts_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-10-31"
          }
        }
      },
      "order_items": {
        "description": "Rows for the order_items table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "discount_amount": {
            "kind": "constant",
            "value": 0
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "skew": "flat"
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 3,
            "distribution": "long-tail"
          },
          "tax_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 39,
            "scale": 2
          },
          "unit_price": {
            "kind": "copy",
            "from": "product_id.price"
          }
        }
      },
      "order_returns": {
        "description": "Rows for the order_returns table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "order_item_id": {
            "kind": "fk",
            "ref": "order_items.id",
            "unique": true
          },
          "processed_at": {
            "kind": "datetime",
            "after": "requested_at",
            "withinDays": 10,
            "dayProfile": "business"
          },
          "quantity": {
            "kind": "int",
            "min": 0,
            "max": 3
          },
          "reason_id": {
            "kind": "fk",
            "ref": "return_reasons.id",
            "skew": "long-tail"
          },
          "requested_at": {
            "kind": "datetime",
            "from": "2021-01-15",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "status": {
            "kind": "enum",
            "values": [
              "refunded",
              "approved",
              "requested",
              "rejected"
            ],
            "weights": [
              70,
              10,
              10,
              10
            ]
          }
        }
      },
      "order_statuses": {
        "description": "Rows for the order_statuses table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Waiting on the customer",
              "In the warehouse",
              "With the carrier",
              "Closed"
            ]
          },
          "status_name": {
            "kind": "enum",
            "values": [
              "pending",
              "paid",
              "shipped",
              "delivered",
              "cancelled",
              "refunded"
            ],
            "unique": true
          }
        }
      },
      "orders": {
        "description": "Rows for the orders table.",
        "rows": 360,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "billing_address_id": {
            "kind": "fk",
            "ref": "addresses.id",
            "skew": "long-tail"
          },
          "coupon_id": {
            "kind": "fk",
            "ref": "discount_coupons.id",
            "nullable": true,
            "nullRate": 0.85
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "trend": "growing",
            "dayProfile": "waking"
          },
          "discount_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 30,
            "scale": 2,
            "distribution": "long-tail"
          },
          "order_status_id": {
            "kind": "fk",
            "ref": "order_statuses.id",
            "skew": "long-tail"
          },
          "shipping_address_id": {
            "kind": "fk",
            "ref": "addresses.id",
            "skew": "long-tail"
          },
          "shipping_cost": {
            "kind": "decimal",
            "min": 0,
            "max": 30,
            "scale": 2,
            "distribution": "long-tail"
          },
          "shipping_method_id": {
            "kind": "fk",
            "ref": "shipping_methods.id",
            "skew": "long-tail"
          },
          "subtotal": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2
          },
          "tax_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "total": {
            "kind": "decimal",
            "min": 0,
            "max": 1049,
            "scale": 2,
            "distribution": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "payment_methods": {
        "description": "Rows for the payment_methods table.",
        "rows": 5,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "enum",
            "values": [
              "credit_card",
              "debit_card",
              "digital_wallet",
              "gift_card",
              "bank_transfer"
            ],
            "unique": true
          }
        }
      },
      "payments": {
        "description": "Rows for the payments table.",
        "rows": 350,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 1049,
            "scale": 2,
            "distribution": "long-tail"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "payment_method_id": {
            "kind": "fk",
            "ref": "payment_methods.id",
            "skew": "long-tail"
          },
          "processed_at": {
            "kind": "datetime",
            "after": "order_id.created_at",
            "withinSeconds": 600
          },
          "status": {
            "kind": "enum",
            "values": [
              "completed",
              "failed",
              "refunded"
            ],
            "weights": [
              96,
              2,
              2
            ]
          },
          "transaction_reference": {
            "kind": "pattern",
            "pattern": "[PAY]-############",
            "unique": true
          }
        }
      },
      "product_attribute_values": {
        "description": "Rows for the product_attribute_values table.",
        "rows": 1200,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "attribute_id": {
            "kind": "fk",
            "ref": "product_attributes.id",
            "skew": "long-tail"
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "value": {
            "kind": "color.human"
          }
        }
      },
      "product_attributes": {
        "description": "Rows for the product_attributes table.",
        "rows": 4,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "enum",
            "values": [
              "color",
              "finish",
              "accent_color",
              "trim_color"
            ],
            "unique": true
          },
          "type": {
            "kind": "constant",
            "value": "text"
          }
        }
      },
      "product_images": {
        "description": "Rows for the product_images table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "alt_text": {
            "kind": "enum",
            "values": [
              "Front view",
              "Side view",
              "In use",
              "Packaging",
              "Close-up detail"
            ]
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "sort_order": {
            "kind": "int",
            "min": 1,
            "max": 6
          },
          "url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/p/]########[.jpg]",
            "unique": true
          }
        }
      },
      "product_inventories": {
        "description": "Rows for the product_inventories table.",
        "rows": 1200,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "quantity_on_hand": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "distribution": "long-tail"
          },
          "quantity_reserved": {
            "kind": "int",
            "min": 0,
            "max": 20
          },
          "reorder_level": {
            "kind": "int",
            "min": 5,
            "max": 50
          },
          "warehouse_id": {
            "kind": "fk",
            "ref": "warehouses.id",
            "skew": "long-tail"
          }
        }
      },
      "product_reviews": {
        "description": "Rows for the product_reviews table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "comment": {
            "kind": "enum",
            "values": [
              "Fast delivery and well packed.",
              "Quality is fine for the price.",
              "Sizing runs small.",
              "Stopped working after a month.",
              "Looks just like the photos.",
              "Instructions were unclear.",
              "Bought a second one as a gift.",
              "Returned it for a different colour."
            ],
            "nullable": true,
            "nullRate": 0.25
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high"
          },
          "title": {
            "kind": "enum",
            "values": [
              "Does the job",
              "Better than expected",
              "Not for me",
              "Great value",
              "Would buy again",
              "Arrived damaged",
              "Smaller than it looks",
              "Exactly as described"
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "products": {
        "description": "Rows for the products table.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "brand_id": {
            "kind": "fk",
            "ref": "brands.id",
            "skew": "long-tail"
          },
          "category_id": {
            "kind": "fk",
            "ref": "categories.id",
            "skew": "long-tail"
          },
          "compare_at_price": {
            "kind": "decimal",
            "min": 0,
            "max": 220,
            "scale": 2,
            "nullable": true,
            "nullRate": 0.6
          },
          "created_at": {
            "kind": "datetime",
            "from": "2019-01-01",
            "to": "2025-06-30"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Ships in one business day",
              "Limited stock",
              "Customer favourite",
              "Eligible for free returns",
              "New this season"
            ]
          },
          "is_active": {
            "kind": "bool",
            "trueRate": 0.92
          },
          "name": {
            "kind": "commerce.productName"
          },
          "price": {
            "kind": "decimal",
            "min": 3,
            "max": 160,
            "scale": 2,
            "distribution": "long-tail"
          },
          "sku": {
            "kind": "pattern",
            "pattern": "[SKU]-AAA-####",
            "unique": true
          },
          "slug": {
            "kind": "pattern",
            "pattern": "[p-]xxxxxxxx",
            "unique": true
          }
        }
      },
      "return_reasons": {
        "description": "Rows for the return_reasons table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "reason_text": {
            "type": "varchar(255)",
            "kind": "enum",
            "values": [
              "Arrived damaged",
              "Wrong item sent",
              "Does not fit",
              "Not as described",
              "Changed my mind",
              "Arrived too late"
            ],
            "unique": true
          }
        }
      },
      "shipments": {
        "description": "Rows for the shipments table.",
        "rows": 340,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "delivered_at": {
            "kind": "datetime",
            "after": "shipped_at",
            "withinDays": 6,
            "dayProfile": "business"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "shipped_at": {
            "kind": "datetime",
            "after": "order_id.created_at",
            "withinDays": 3,
            "dayProfile": "business"
          },
          "tracking_number": {
            "kind": "pattern",
            "pattern": "[1Z]################",
            "unique": true
          }
        }
      },
      "shipping_methods": {
        "description": "Rows for the shipping_methods table.",
        "rows": 5,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "base_cost": {
            "kind": "decimal",
            "min": 0,
            "max": 35,
            "scale": 2
          },
          "carrier": {
            "kind": "enum",
            "values": [
              "UPS",
              "FedEx",
              "USPS",
              "DHL",
              "In store"
            ]
          },
          "estimated_days": {
            "kind": "int",
            "min": 1,
            "max": 7
          },
          "name": {
            "kind": "enum",
            "values": [
              "standard",
              "expedited",
              "two_day",
              "overnight",
              "store_pickup"
            ],
            "unique": true
          }
        }
      },
      "shopping_carts": {
        "description": "Rows for the shopping_carts table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "updated_at": {
            "kind": "datetime",
            "after": "created_at",
            "withinDays": 10
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "suppliers": {
        "description": "Rows for the suppliers table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "contact_name": {
            "kind": "person.fullName"
          },
          "email": {
            "kind": "internet.email"
          },
          "name": {
            "kind": "company.name"
          },
          "phone": {
            "kind": "phone.number"
          },
          "website": {
            "kind": "internet.url"
          }
        }
      },
      "support_messages": {
        "description": "Rows for the support_messages table.",
        "rows": 35,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "message": {
            "kind": "enum",
            "values": [
              "Thanks, that worked.",
              "Can you check the tracking number?",
              "I have issued a refund to your card.",
              "Please send a photo of the damage.",
              "Your replacement ships today.",
              "I still have not received it."
            ]
          },
          "sender_type": {
            "kind": "enum",
            "values": [
              "customer",
              "agent"
            ],
            "weights": [
              52,
              48
            ]
          },
          "sent_at": {
            "kind": "datetime",
            "after": "ticket_id.created_at",
            "withinDays": 5
          },
          "ticket_id": {
            "kind": "fk",
            "ref": "support_tickets.id",
            "skew": "long-tail"
          }
        }
      },
      "support_tickets": {
        "description": "Rows for the support_tickets table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "priority": {
            "kind": "enum",
            "values": [
              "low",
              "medium",
              "high"
            ],
            "weights": [
              40,
              45,
              15
            ]
          },
          "status": {
            "kind": "enum",
            "values": [
              "open",
              "pending",
              "resolved",
              "closed"
            ],
            "weights": [
              6,
              6,
              30,
              58
            ]
          },
          "subject": {
            "kind": "enum",
            "values": [
              "Where is my order?",
              "Item arrived damaged",
              "Change my shipping address",
              "Refund not received",
              "Coupon did not apply",
              "Cannot sign in"
            ],
            "weights": [
              35,
              15,
              12,
              15,
              13,
              10
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "tax_rates": {
        "description": "Rows for the tax_rates table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id",
            "skew": "long-tail"
          },
          "rate": {
            "kind": "decimal",
            "min": 0.02,
            "max": 0.1,
            "scale": 4
          },
          "state_province": {
            "kind": "place.regionCode"
          }
        }
      },
      "users": {
        "description": "Rows for the users table.",
        "rows": 70,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2019-01-01",
            "to": "2025-06-30",
            "trend": "growing"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            },
            "unique": true
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "password_hash": {
            "kind": "pattern",
            "pattern": "[$2b$12$]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "phone": {
            "kind": "phone.number"
          },
          "updated_at": {
            "kind": "datetime",
            "after": "created_at",
            "withinDays": 400
          }
        }
      },
      "warehouses": {
        "description": "Rows for the warehouses table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "address": {
            "kind": "location.streetAddress"
          },
          "city": {
            "kind": "place.city"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id",
            "skew": "long-tail"
          },
          "name": {
            "kind": "enum",
            "values": [
              "East Coast DC",
              "West Coast DC",
              "Midwest DC",
              "Southeast DC",
              "Texas DC",
              "Mountain DC"
            ],
            "unique": true
          }
        }
      },
      "wishlist_items": {
        "description": "Rows for the wishlist_items table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "added_at": {
            "kind": "datetime",
            "after": "wishlist_id.created_at",
            "withinDays": 200
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "skew": "long-tail"
          },
          "wishlist_id": {
            "kind": "fk",
            "ref": "wishlists.id",
            "skew": "long-tail"
          }
        }
      },
      "wishlists": {
        "description": "Rows for the wishlists table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Wish list",
              "Birthday",
              "Holiday gifts",
              "Home office",
              "Save for later"
            ],
            "weights": [
              50,
              12,
              18,
              8,
              12
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      }
    }
  },
  "counts": {
    "brands": 40,
    "categories": 22,
    "countries": 1,
    "discount_coupons": 80,
    "order_statuses": 6,
    "payment_methods": 5,
    "product_attributes": 4,
    "products": 400,
    "product_attribute_values": 1200,
    "product_images": 1000,
    "return_reasons": 6,
    "shipping_methods": 5,
    "suppliers": 30,
    "tax_rates": 12,
    "users": 70,
    "addresses": 90,
    "audit_logs": 20,
    "orders": 360,
    "order_items": 1000,
    "order_returns": 20,
    "payments": 350,
    "product_reviews": 60,
    "shipments": 340,
    "shopping_carts": 60,
    "cart_items": 100,
    "support_tickets": 10,
    "support_messages": 35,
    "warehouses": 6,
    "product_inventories": 1200,
    "wishlists": 30,
    "wishlist_items": 60
  },
  "artifacts": [
    {
      "file": "csv/brands.csv",
      "format": "csv",
      "table": "brands",
      "key": "datasets/ecommerce-sample-database/v1/csv/brands.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/brands.csv",
      "bytes": 3323,
      "sha256": "588c2008aff4605a94ed64e4d740f3225c92647528e497deb1037f5b135859cf",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/categories.csv",
      "format": "csv",
      "table": "categories",
      "key": "datasets/ecommerce-sample-database/v1/csv/categories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/categories.csv",
      "bytes": 825,
      "sha256": "e6802e61a09bee2ff658485efa6d89951b8230b4beac1ccf3a10fc8b947195b9",
      "rows": 22,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/countries.csv",
      "format": "csv",
      "table": "countries",
      "key": "datasets/ecommerce-sample-database/v1/csv/countries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/countries.csv",
      "bytes": 34,
      "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4",
      "rows": 1,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/discount_coupons.csv",
      "format": "csv",
      "table": "discount_coupons",
      "key": "datasets/ecommerce-sample-database/v1/csv/discount_coupons.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/discount_coupons.csv",
      "bytes": 6499,
      "sha256": "b28b6d4e3ddebb97330f440ccb15f7bb57cfa1d232e46fc40c5ec0930c92822a",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_statuses.csv",
      "format": "csv",
      "table": "order_statuses",
      "key": "datasets/ecommerce-sample-database/v1/csv/order_statuses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/order_statuses.csv",
      "bytes": 195,
      "sha256": "119cf8d708058878afee473bfdee13b307aa6f602777de06c8b5cf6cacec5e11",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payment_methods.csv",
      "format": "csv",
      "table": "payment_methods",
      "key": "datasets/ecommerce-sample-database/v1/csv/payment_methods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/payment_methods.csv",
      "bytes": 86,
      "sha256": "196054dc4dd782fda912a244c48838cc713953ad81f73db481d40f951a3293f1",
      "rows": 5,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_attributes.csv",
      "format": "csv",
      "table": "product_attributes",
      "key": "datasets/ecommerce-sample-database/v1/csv/product_attributes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/product_attributes.csv",
      "bytes": 83,
      "sha256": "8243e68f05100ff2d80e9bbecdae215f0d50b795b81dabd54fdae77ace2c563b",
      "rows": 4,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/products.csv",
      "format": "csv",
      "table": "products",
      "key": "datasets/ecommerce-sample-database/v1/csv/products.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/products.csv",
      "bytes": 43977,
      "sha256": "6087b1b7435f166e9e401761f7391f0badc478b077d0af3b1ac2d2a3637bf245",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_attribute_values.csv",
      "format": "csv",
      "table": "product_attribute_values",
      "key": "datasets/ecommerce-sample-database/v1/csv/product_attribute_values.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/product_attribute_values.csv",
      "bytes": 20423,
      "sha256": "84a6767719c0ca608c0ccf788a7b48c824483a2e5348037ea9d09945053a5bee",
      "rows": 1200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_images.csv",
      "format": "csv",
      "table": "product_images",
      "key": "datasets/ecommerce-sample-database/v1/csv/product_images.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/product_images.csv",
      "bytes": 60212,
      "sha256": "9c5e25a615f8be2bf3d67f216eb2010d1fff694e1d4a5b4f6336eed211a098dd",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/return_reasons.csv",
      "format": "csv",
      "table": "return_reasons",
      "key": "datasets/ecommerce-sample-database/v1/csv/return_reasons.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/return_reasons.csv",
      "bytes": 129,
      "sha256": "edb42b66de90cbe03b7baadb222ff3504d71a5c587ea7bc873ffedf5724a2abb",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shipping_methods.csv",
      "format": "csv",
      "table": "shipping_methods",
      "key": "datasets/ecommerce-sample-database/v1/csv/shipping_methods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/shipping_methods.csv",
      "bytes": 175,
      "sha256": "af3df585229da30a197377bfa78adaff9a5daca97794d3f35367d927f28a7936",
      "rows": 5,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/suppliers.csv",
      "format": "csv",
      "table": "suppliers",
      "key": "datasets/ecommerce-sample-database/v1/csv/suppliers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/suppliers.csv",
      "bytes": 3342,
      "sha256": "f1b90878a9a3de083591b84958f5ae5103799702dba3295c3ae4d12222f4887d",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tax_rates.csv",
      "format": "csv",
      "table": "tax_rates",
      "key": "datasets/ecommerce-sample-database/v1/csv/tax_rates.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/tax_rates.csv",
      "bytes": 218,
      "sha256": "7f949f18f8b2b84c9a1582e4eb21aa37196e37de9669dcc7710da6868d0f2551",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/ecommerce-sample-database/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/users.csv",
      "bytes": 11430,
      "sha256": "0165465c6a00b7ddbd617216bcbedec619b397b6ba65ae3f7e1363e772d9f7f4",
      "rows": 70,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/addresses.csv",
      "format": "csv",
      "table": "addresses",
      "key": "datasets/ecommerce-sample-database/v1/csv/addresses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/addresses.csv",
      "bytes": 5506,
      "sha256": "4bec58dfa3e54e36fcbf1a0f85f92a70898a673083cebdddf00ac6ae6e6b1b75",
      "rows": 90,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/audit_logs.csv",
      "format": "csv",
      "table": "audit_logs",
      "key": "datasets/ecommerce-sample-database/v1/csv/audit_logs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/audit_logs.csv",
      "bytes": 1010,
      "sha256": "6730b1e25e736b29cb5eb828816faeaa3145a37839a22c026d55192f84918314",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/orders.csv",
      "format": "csv",
      "table": "orders",
      "key": "datasets/ecommerce-sample-database/v1/csv/orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/orders.csv",
      "bytes": 23409,
      "sha256": "6d7bfa63ed8c55cbc9fd6ab7d97b353b9350e0a1541b530fe015ffa684e40602",
      "rows": 360,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_items.csv",
      "format": "csv",
      "table": "order_items",
      "key": "datasets/ecommerce-sample-database/v1/csv/order_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/order_items.csv",
      "bytes": 27204,
      "sha256": "49a5209db222af6e3fd1852b8ed737df3122472a545d1a323d1878c4b9f5a130",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_returns.csv",
      "format": "csv",
      "table": "order_returns",
      "key": "datasets/ecommerce-sample-database/v1/csv/order_returns.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/order_returns.csv",
      "bytes": 1282,
      "sha256": "be966c9212c66c6b669de4eab8396170d8264b223cc15ec47aca63255bafed9e",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payments.csv",
      "format": "csv",
      "table": "payments",
      "key": "datasets/ecommerce-sample-database/v1/csv/payments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/payments.csv",
      "bytes": 22470,
      "sha256": "3164a2f494a3d489d44f21c100bf1a1feca2a03081c3c0b550a4b5a0dcdc169d",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_reviews.csv",
      "format": "csv",
      "table": "product_reviews",
      "key": "datasets/ecommerce-sample-database/v1/csv/product_reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/product_reviews.csv",
      "bytes": 4180,
      "sha256": "069ee80955a1acd90a78c0673636af5653f22c6655b64d4094edd483748f6eb1",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shipments.csv",
      "format": "csv",
      "table": "shipments",
      "key": "datasets/ecommerce-sample-database/v1/csv/shipments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/shipments.csv",
      "bytes": 22961,
      "sha256": "712adc900d096c5fc5a667f2cf6422e6dd271400ecee56b1754dcc7aa896c8e4",
      "rows": 340,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shopping_carts.csv",
      "format": "csv",
      "table": "shopping_carts",
      "key": "datasets/ecommerce-sample-database/v1/csv/shopping_carts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/shopping_carts.csv",
      "bytes": 2821,
      "sha256": "6fc7d413eb0fb663eb0b2e8c2e8dddce5b9f212e323b4778aeece70f936f3695",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cart_items.csv",
      "format": "csv",
      "table": "cart_items",
      "key": "datasets/ecommerce-sample-database/v1/csv/cart_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/cart_items.csv",
      "bytes": 3206,
      "sha256": "8430cc4a475fbad83b8d75765c35990c9a18f11f80cda55f35d12f577eb2ad0a",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_tickets.csv",
      "format": "csv",
      "table": "support_tickets",
      "key": "datasets/ecommerce-sample-database/v1/csv/support_tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/support_tickets.csv",
      "bytes": 623,
      "sha256": "71a3ca5046dae98355399a8278484fb9c0775f98d0c1c2413d81ba23c6c48240",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_messages.csv",
      "format": "csv",
      "table": "support_messages",
      "key": "datasets/ecommerce-sample-database/v1/csv/support_messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/support_messages.csv",
      "bytes": 2304,
      "sha256": "969a0632e028e4c8ed35d8d608396d5eb83e0794f6dd84c224489dc6cb3e73b3",
      "rows": 35,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/warehouses.csv",
      "format": "csv",
      "table": "warehouses",
      "key": "datasets/ecommerce-sample-database/v1/csv/warehouses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/warehouses.csv",
      "bytes": 316,
      "sha256": "11ccc171d6ce9872545987aac6bea8a0ec6c584bdef1799778ad1021e68a3127",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_inventories.csv",
      "format": "csv",
      "table": "product_inventories",
      "key": "datasets/ecommerce-sample-database/v1/csv/product_inventories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/product_inventories.csv",
      "bytes": 23117,
      "sha256": "17e15c1aa777ff0354f0aa98e5f7cbdddbe7a99739e96fef9121cf27de0586e1",
      "rows": 1200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/wishlists.csv",
      "format": "csv",
      "table": "wishlists",
      "key": "datasets/ecommerce-sample-database/v1/csv/wishlists.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/wishlists.csv",
      "bytes": 1156,
      "sha256": "2cb1a9e120bf965b9961cc549be0017617ad61883ffe3e70fae10d6fddccbb8c",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/wishlist_items.csv",
      "format": "csv",
      "table": "wishlist_items",
      "key": "datasets/ecommerce-sample-database/v1/csv/wishlist_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/csv/wishlist_items.csv",
      "bytes": 1805,
      "sha256": "022d10540b70110eb8f3baeea4e46b0aaf0321568453c618a536708a51bdb86b",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ecommerce-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/ecommerce-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/ecommerce-sample-database.json",
      "bytes": 1232417,
      "sha256": "67acd3071569d7361c9b9768376ca1d96413e789036d56f3d6d3c47d80b3feef",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/sql/postgres.sql",
      "bytes": 412777,
      "sha256": "780ac2ede724949f15954c6514efb63e7d9e7e38a825ba030ac2c5e0104bc9fd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/sql/mysql.sql",
      "bytes": 407616,
      "sha256": "af09470c698f44671a6f15c1ba9d6a9477e443d7c666c7be562349b5bb96c7e6",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/sql/mssql.sql",
      "bytes": 419111,
      "sha256": "0d15019a4622c6ec8d8f8360445b487650d7f511f509e0e259d98982f11153b3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/sql/sqlite.sql",
      "bytes": 405037,
      "sha256": "969ca2e5f121a46dfa3951b0ce5a2a9e266bf785a16e8238fb6f12f6c9fecf24",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/prisma/seed.ts",
      "bytes": 957519,
      "sha256": "79332a6728b876bb56649a6ca6767bc4bbf7e1a456973536bead333537b39615",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ecommerce-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/django/fixtures.json",
      "bytes": 1527014,
      "sha256": "47e103827cea0984d7f50f81d042122ec7785535b9250dfeea294b4f47e10cfa",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 6622,
        "counts": {
          "brands": 40,
          "categories": 22,
          "countries": 1,
          "discount_coupons": 80,
          "order_statuses": 6,
          "payment_methods": 5,
          "product_attributes": 4,
          "products": 400,
          "product_attribute_values": 1200,
          "product_images": 1000,
          "return_reasons": 6,
          "shipping_methods": 5,
          "suppliers": 30,
          "tax_rates": 12,
          "users": 70,
          "addresses": 90,
          "audit_logs": 20,
          "orders": 360,
          "order_items": 1000,
          "order_returns": 20,
          "payments": 350,
          "product_reviews": 60,
          "shipments": 340,
          "shopping_carts": 60,
          "cart_items": 100,
          "support_tickets": 10,
          "support_messages": 35,
          "warehouses": 6,
          "product_inventories": 1200,
          "wishlists": 30,
          "wishlist_items": 60
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 112077,
            "sha256": "40b9785fe473a21ba797688b75fb269afee546da053bc4bde6eeb32192284a2a",
            "raw": {
              "bytes": 417708,
              "sha256": "d95405d4953c78b7ddd79179646335bf78326ee7c67a7ec5e2873c54e473149f"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 111196,
            "sha256": "06ecc039e205e147a29c1bfbd5d063b29276898a5cf5d34ca0658de70c16cfa4",
            "raw": {
              "bytes": 412547,
              "sha256": "9bc0ac378d3dee5699aa7b2c173ef6877b21ef144adfd4d1353330ea7a84f138"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 110623,
            "sha256": "29741da2f8206c14e134d27d9d09ce07cbb677f612151c32f12e1bb76e8d5a37",
            "raw": {
              "bytes": 409968,
              "sha256": "9068f7d6f1f4bb0a3e2053271ce6b7b50e546a3ea02f8491410ff1ed55aa339a"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 112434,
            "sha256": "e682335d646896f31914cf9da5d24d70ca897fa409eb1f87719d6228c9bc1ec0",
            "tables": {
              "addresses": {
                "bytes": 5506,
                "sha256": "4bec58dfa3e54e36fcbf1a0f85f92a70898a673083cebdddf00ac6ae6e6b1b75"
              },
              "audit_logs": {
                "bytes": 1010,
                "sha256": "6730b1e25e736b29cb5eb828816faeaa3145a37839a22c026d55192f84918314"
              },
              "brands": {
                "bytes": 3323,
                "sha256": "588c2008aff4605a94ed64e4d740f3225c92647528e497deb1037f5b135859cf"
              },
              "cart_items": {
                "bytes": 3206,
                "sha256": "8430cc4a475fbad83b8d75765c35990c9a18f11f80cda55f35d12f577eb2ad0a"
              },
              "categories": {
                "bytes": 825,
                "sha256": "e6802e61a09bee2ff658485efa6d89951b8230b4beac1ccf3a10fc8b947195b9"
              },
              "countries": {
                "bytes": 34,
                "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
              },
              "discount_coupons": {
                "bytes": 6499,
                "sha256": "b28b6d4e3ddebb97330f440ccb15f7bb57cfa1d232e46fc40c5ec0930c92822a"
              },
              "order_items": {
                "bytes": 27204,
                "sha256": "49a5209db222af6e3fd1852b8ed737df3122472a545d1a323d1878c4b9f5a130"
              },
              "order_returns": {
                "bytes": 1282,
                "sha256": "be966c9212c66c6b669de4eab8396170d8264b223cc15ec47aca63255bafed9e"
              },
              "order_statuses": {
                "bytes": 195,
                "sha256": "119cf8d708058878afee473bfdee13b307aa6f602777de06c8b5cf6cacec5e11"
              },
              "orders": {
                "bytes": 23409,
                "sha256": "6d7bfa63ed8c55cbc9fd6ab7d97b353b9350e0a1541b530fe015ffa684e40602"
              },
              "payment_methods": {
                "bytes": 86,
                "sha256": "196054dc4dd782fda912a244c48838cc713953ad81f73db481d40f951a3293f1"
              },
              "payments": {
                "bytes": 22470,
                "sha256": "3164a2f494a3d489d44f21c100bf1a1feca2a03081c3c0b550a4b5a0dcdc169d"
              },
              "product_attribute_values": {
                "bytes": 20423,
                "sha256": "84a6767719c0ca608c0ccf788a7b48c824483a2e5348037ea9d09945053a5bee"
              },
              "product_attributes": {
                "bytes": 83,
                "sha256": "8243e68f05100ff2d80e9bbecdae215f0d50b795b81dabd54fdae77ace2c563b"
              },
              "product_images": {
                "bytes": 60212,
                "sha256": "9c5e25a615f8be2bf3d67f216eb2010d1fff694e1d4a5b4f6336eed211a098dd"
              },
              "product_inventories": {
                "bytes": 23117,
                "sha256": "17e15c1aa777ff0354f0aa98e5f7cbdddbe7a99739e96fef9121cf27de0586e1"
              },
              "product_reviews": {
                "bytes": 4180,
                "sha256": "069ee80955a1acd90a78c0673636af5653f22c6655b64d4094edd483748f6eb1"
              },
              "products": {
                "bytes": 43977,
                "sha256": "6087b1b7435f166e9e401761f7391f0badc478b077d0af3b1ac2d2a3637bf245"
              },
              "return_reasons": {
                "bytes": 129,
                "sha256": "edb42b66de90cbe03b7baadb222ff3504d71a5c587ea7bc873ffedf5724a2abb"
              },
              "shipments": {
                "bytes": 22961,
                "sha256": "712adc900d096c5fc5a667f2cf6422e6dd271400ecee56b1754dcc7aa896c8e4"
              },
              "shipping_methods": {
                "bytes": 175,
                "sha256": "af3df585229da30a197377bfa78adaff9a5daca97794d3f35367d927f28a7936"
              },
              "shopping_carts": {
                "bytes": 2821,
                "sha256": "6fc7d413eb0fb663eb0b2e8c2e8dddce5b9f212e323b4778aeece70f936f3695"
              },
              "suppliers": {
                "bytes": 3342,
                "sha256": "f1b90878a9a3de083591b84958f5ae5103799702dba3295c3ae4d12222f4887d"
              },
              "support_messages": {
                "bytes": 2304,
                "sha256": "969a0632e028e4c8ed35d8d608396d5eb83e0794f6dd84c224489dc6cb3e73b3"
              },
              "support_tickets": {
                "bytes": 623,
                "sha256": "71a3ca5046dae98355399a8278484fb9c0775f98d0c1c2413d81ba23c6c48240"
              },
              "tax_rates": {
                "bytes": 218,
                "sha256": "7f949f18f8b2b84c9a1582e4eb21aa37196e37de9669dcc7710da6868d0f2551"
              },
              "users": {
                "bytes": 11430,
                "sha256": "0165465c6a00b7ddbd617216bcbedec619b397b6ba65ae3f7e1363e772d9f7f4"
              },
              "warehouses": {
                "bytes": 316,
                "sha256": "11ccc171d6ce9872545987aac6bea8a0ec6c584bdef1799778ad1021e68a3127"
              },
              "wishlist_items": {
                "bytes": 1805,
                "sha256": "022d10540b70110eb8f3baeea4e46b0aaf0321568453c618a536708a51bdb86b"
              },
              "wishlists": {
                "bytes": 1156,
                "sha256": "2cb1a9e120bf965b9961cc549be0017617ad61883ffe3e70fae10d6fddccbb8c"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every order line is priced at its product price",
            "violations": 0
          },
          {
            "name": "Every subtotal is the sum of its lines, and every tax the sum of 8% of each line",
            "violations": 0
          },
          {
            "name": "A coupon takes its value off, never more than the subtotal",
            "violations": 0
          },
          {
            "name": "Shipping is the method rate, and the total adds up",
            "violations": 0
          },
          {
            "name": "Every payment is its order total",
            "violations": 0
          },
          {
            "name": "A shipment leaves after its order and arrives after it leaves",
            "violations": 0
          },
          {
            "name": "A return sends back the whole line, after the order and before it is processed",
            "violations": 0
          },
          {
            "name": "A compare-at price is never below the price, and stock is never over-reserved",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "brands": {
                "duplicates": 1,
                "columns": {
                  "description": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  },
                  "logo_url": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "categories": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "discount_coupons": {
                "duplicates": 2,
                "columns": {
                  "code": {
                    "missing": 2,
                    "typos": 3,
                    "outliers": 0
                  },
                  "discount_type": {
                    "missing": 3,
                    "typos": 3,
                    "outliers": 0
                  },
                  "discount_value": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 1
                  },
                  "ends_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "is_active": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "min_purchase_amount": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "starts_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "product_attributes": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "products": {
                "duplicates": 4,
                "columns": {
                  "compare_at_price": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 1
                  },
                  "created_at": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 0
                  },
                  "description": {
                    "missing": 12,
                    "typos": 10,
                    "outliers": 0
                  },
                  "is_active": {
                    "missing": 13,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 10,
                    "typos": 13,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 9,
                    "typos": 0,
                    "outliers": 3
                  },
                  "sku": {
                    "missing": 7,
                    "typos": 10,
                    "outliers": 0
                  },
                  "slug": {
                    "missing": 12,
                    "typos": 10,
                    "outliers": 0
                  }
                }
              },
              "product_attribute_values": {
                "duplicates": 11,
                "columns": {
                  "value": {
                    "missing": 37,
                    "typos": 36,
                    "outliers": 0
                  }
                }
              },
              "product_images": {
                "duplicates": 12,
                "columns": {
                  "alt_text": {
                    "missing": 30,
                    "typos": 32,
                    "outliers": 0
                  },
                  "sort_order": {
                    "missing": 26,
                    "typos": 0,
                    "outliers": 3
                  },
                  "url": {
                    "missing": 35,
                    "typos": 34,
                    "outliers": 0
                  }
                }
              },
              "shipping_methods": {
                "duplicates": 0,
                "columns": {
                  "carrier": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "suppliers": {
                "duplicates": 0,
                "columns": {
                  "email": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "tax_rates": {
                "duplicates": 0,
                "columns": {
                  "state_province": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "users": {
                "duplicates": 2,
                "columns": {
                  "created_at": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 3,
                    "typos": 2,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 1,
                    "typos": 5,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "addresses": {
                "duplicates": 0,
                "columns": {
                  "city": {
                    "missing": 1,
                    "typos": 6,
                    "outliers": 0
                  },
                  "extended_address": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  },
                  "is_default_billing": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "is_default_shipping": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "postal_code": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "state_province": {
                    "missing": 4,
                    "typos": 3,
                    "outliers": 0
                  },
                  "street_address": {
                    "missing": 4,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "audit_logs": {
                "duplicates": 0,
                "columns": {
                  "action": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "record_id": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "orders": {
                "duplicates": 0,
                "columns": {
                  "created_at": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 0
                  },
                  "discount_amount": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 0
                  },
                  "shipping_cost": {
                    "missing": 5,
                    "typos": 0,
                    "outliers": 2
                  },
                  "subtotal": {
                    "missing": 8,
                    "typos": 0,
                    "outliers": 0
                  },
                  "tax_amount": {
                    "missing": 12,
                    "typos": 0,
                    "outliers": 2
                  },
                  "total": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 4
                  }
                }
              },
              "order_items": {
                "duplicates": 13,
                "columns": {
                  "discount_amount": {
                    "missing": 37,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 32,
                    "typos": 0,
                    "outliers": 11
                  },
                  "tax_amount": {
                    "missing": 25,
                    "typos": 0,
                    "outliers": 4
                  },
                  "unit_price": {
                    "missing": 37,
                    "typos": 0,
                    "outliers": 5
                  }
                }
              },
              "order_returns": {
                "duplicates": 0,
                "columns": {
                  "processed_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "requested_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "payments": {
                "duplicates": 5,
                "columns": {
                  "amount": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 2
                  },
                  "processed_at": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 12,
                    "typos": 9,
                    "outliers": 0
                  },
                  "transaction_reference": {
                    "missing": 8,
                    "typos": 9,
                    "outliers": 0
                  }
                }
              },
              "product_reviews": {
                "duplicates": 3,
                "columns": {
                  "comment": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  },
                  "title": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "shipments": {
                "duplicates": 3,
                "columns": {
                  "delivered_at": {
                    "missing": 12,
                    "typos": 0,
                    "outliers": 0
                  },
                  "shipped_at": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "tracking_number": {
                    "missing": 11,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "shopping_carts": {
                "duplicates": 1,
                "columns": {
                  "created_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "updated_at": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "cart_items": {
                "duplicates": 3,
                "columns": {
                  "added_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "support_tickets": {
                "duplicates": 0,
                "columns": {
                  "status": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  },
                  "subject": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "support_messages": {
                "duplicates": 0,
                "columns": {
                  "message": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "sender_type": {
                    "missing": 3,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "warehouses": {
                "duplicates": 0,
                "columns": {
                  "address": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "product_inventories": {
                "duplicates": 13,
                "columns": {
                  "quantity_on_hand": {
                    "missing": 36,
                    "typos": 0,
                    "outliers": 8
                  },
                  "quantity_reserved": {
                    "missing": 27,
                    "typos": 0,
                    "outliers": 5
                  },
                  "reorder_level": {
                    "missing": 29,
                    "typos": 0,
                    "outliers": 6
                  }
                }
              },
              "wishlists": {
                "duplicates": 0,
                "columns": {
                  "created_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "wishlist_items": {
                "duplicates": 0,
                "columns": {
                  "added_at": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 642,
              "typos": 225,
              "outliers": 58,
              "duplicates": 73
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/ecommerce-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 111796,
              "sha256": "05283ba34c4027cf1d829b4343fed5e91468e10c4f92c832ad954146ed474d25",
              "raw": {
                "bytes": 412803,
                "sha256": "e3a650f61ce8cd8909ea53b603da313d66ae767263af960e7aaac1fae251e385"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/ecommerce-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 113282,
              "sha256": "6d988b41a5738ef3861853e7e45f6de0e71fd6c12f25eb8d9fdf7f0da81e3f94",
              "tables": {
                "addresses": {
                  "bytes": 5382,
                  "sha256": "308285b882d38ba1560b34b7ced748f9fdfe27ce648c902c7afc2dd90880b57a"
                },
                "audit_logs": {
                  "bytes": 1001,
                  "sha256": "23d3131c34fe2a768048869bdc55b6f0f9b71cb807ea2e70c9b3d9b214876d01"
                },
                "brands": {
                  "bytes": 3361,
                  "sha256": "d9a57e7dd130538a2e53c086375a5758f53c8ab665348cb3d98ba0b8f538947b"
                },
                "cart_items": {
                  "bytes": 3265,
                  "sha256": "ec43d9c5d529a66cf50d4688f0c8d18e698c49ffc383c946864b85c20a13e04c"
                },
                "categories": {
                  "bytes": 800,
                  "sha256": "63c8ddfe9d3ebc67f5a518725f672f4c4301e98d3bcfaea04a438b8001a8595a"
                },
                "countries": {
                  "bytes": 34,
                  "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
                },
                "discount_coupons": {
                  "bytes": 6517,
                  "sha256": "41ba69c5a0c7fb26ddbdbd07a0c2184e1aecfd26ca9502a1d356e6268358d4fa"
                },
                "order_items": {
                  "bytes": 27227,
                  "sha256": "759fe3bd5ef4cecfd3ebba489657a0cd609d478c00c4aa6a98389d13a30a8f91"
                },
                "order_returns": {
                  "bytes": 1242,
                  "sha256": "399e5c510157900736961e20f3cfa499be93e9d1bd3c3e61468246e037a9d838"
                },
                "order_statuses": {
                  "bytes": 195,
                  "sha256": "119cf8d708058878afee473bfdee13b307aa6f602777de06c8b5cf6cacec5e11"
                },
                "orders": {
                  "bytes": 23007,
                  "sha256": "c497e558e54971c629341daf30b7974e98889d75c263b0a4853a59ac686a29db"
                },
                "payment_methods": {
                  "bytes": 86,
                  "sha256": "196054dc4dd782fda912a244c48838cc713953ad81f73db481d40f951a3293f1"
                },
                "payments": {
                  "bytes": 22405,
                  "sha256": "ce0a77614d4ec7b56f02c98a8b497d6726bc721fdb016b68a123b7200098d321"
                },
                "product_attribute_values": {
                  "bytes": 20441,
                  "sha256": "09ce92df7e3825a27eaaff9d689805a76c864d0c84def3033e50f1f9e382ba17"
                },
                "product_attributes": {
                  "bytes": 82,
                  "sha256": "cfdc8e6b0c17e0bc3849f9470fdf066d2bcc6917f6258b2f18eaf6bda7a64b22"
                },
                "product_images": {
                  "bytes": 59406,
                  "sha256": "1754a16898cf3834413febb262461707a552af4fd79030e408f8a354da7a4b4c"
                },
                "product_inventories": {
                  "bytes": 23213,
                  "sha256": "bb697a224af6b4818440312bfc4a1947c8261c4967b3dcf3fee16d03fc185c7a"
                },
                "product_reviews": {
                  "bytes": 4319,
                  "sha256": "79199770446638a342815e5ec36f4cc0eab80d38b6ce225f3aacb0648e11775a"
                },
                "products": {
                  "bytes": 43503,
                  "sha256": "2bbf7beeb0085bb41b876c4ff8a5c6b764dab08f33b709b1ae359b1d7b9cd0a5"
                },
                "return_reasons": {
                  "bytes": 129,
                  "sha256": "edb42b66de90cbe03b7baadb222ff3504d71a5c587ea7bc873ffedf5724a2abb"
                },
                "shipments": {
                  "bytes": 22668,
                  "sha256": "38569f01a4a61321c3a5d5672f2f0123b9a81b256de25a932df0fdf84363ba7a"
                },
                "shipping_methods": {
                  "bytes": 171,
                  "sha256": "2f22c353709f7b4e389682349277a01a4eebfd5da69ff1dc024f8e88c1464c0c"
                },
                "shopping_carts": {
                  "bytes": 2773,
                  "sha256": "c39d698b55a7b2db793f98cab3d9d2c4b2f3a8e46e5d171cfa34306adb89024c"
                },
                "suppliers": {
                  "bytes": 3291,
                  "sha256": "7fafa3bcca5f3273b70be483e4fbea212f173eb904c8d02aa982f0186cbc6ad7"
                },
                "support_messages": {
                  "bytes": 2295,
                  "sha256": "ad5423e0de999b00a34279f70537c0d801f5fcafbe1d353cc26bbba12d37580c"
                },
                "support_tickets": {
                  "bytes": 600,
                  "sha256": "237e639265baa4579e356b530d562be6e521e4dda65cc5f0c3336d44150238f4"
                },
                "tax_rates": {
                  "bytes": 218,
                  "sha256": "8d1c95e6e90e41fbef640b4c600191a033599b489aaf210c8e673e483df33ffa"
                },
                "users": {
                  "bytes": 11509,
                  "sha256": "e6b7ffd74baeff7294d0d51c0858ad8ee7487e66abff13b4e138d06847f4a35f"
                },
                "warehouses": {
                  "bytes": 306,
                  "sha256": "889f74d117889c366615aae11c0fe695a809f93e17c2b55e027207c9fd5f910a"
                },
                "wishlist_items": {
                  "bytes": 1729,
                  "sha256": "94d1c65cea8483a87e5dc320c6a666a145f7d49a145b434f9a118b3185724dc7"
                },
                "wishlists": {
                  "bytes": 1121,
                  "sha256": "7480f3f3a7c259d22c84f8553694d6783aa0abcff55600af59d9917429c6f4e7"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 264517,
        "counts": {
          "brands": 40,
          "categories": 22,
          "countries": 1,
          "discount_coupons": 80,
          "order_statuses": 6,
          "payment_methods": 5,
          "product_attributes": 4,
          "products": 400,
          "product_attribute_values": 1200,
          "product_images": 1000,
          "return_reasons": 6,
          "shipping_methods": 5,
          "suppliers": 30,
          "tax_rates": 12,
          "users": 7000,
          "addresses": 9000,
          "audit_logs": 2000,
          "orders": 36000,
          "order_items": 100000,
          "order_returns": 2000,
          "payments": 35000,
          "product_reviews": 6000,
          "shipments": 34000,
          "shopping_carts": 6000,
          "cart_items": 10000,
          "support_tickets": 1000,
          "support_messages": 3500,
          "warehouses": 6,
          "product_inventories": 1200,
          "wishlists": 3000,
          "wishlist_items": 6000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 5277041,
            "sha256": "d441f4a2aa0299dfada624781fae788bead9a7e512223d5b465ca62d0da276f8",
            "raw": {
              "bytes": 18787700,
              "sha256": "a5447ff7bf7bad43cb7a94162189720c3c94e57df32e6fc5f4444525a45e6e69"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 5271316,
            "sha256": "353e0254bd33377c47bcc7618d69c6272be93fd19859edb2f6f93761b3ef1303",
            "raw": {
              "bytes": 18723724,
              "sha256": "1dec9cd3b6ee233509ce4af74f07f20fc6fe9ecf76a34eb14c8016a88b075dfe"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 5270593,
            "sha256": "4f74c58aefd5a09c678d28173e2c216324ded07e5437d191dfa8d91fbdd736c7",
            "raw": {
              "bytes": 18721145,
              "sha256": "3037404ce0c8483c8df92cd0e54b205c3f4a4c8265edb8d553cb71695e4cf2df"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/ecommerce-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 5333160,
            "sha256": "80f72ef697e51d602c12563e7b6ff2811ae3b42f045996c410258bd8b048e73c",
            "tables": {
              "addresses": {
                "bytes": 570450,
                "sha256": "e45193354f629af7560538e4d5c2cc3ed64a7fcb1b2ddb2c0de4ffff8795c7a6"
              },
              "audit_logs": {
                "bytes": 103217,
                "sha256": "2f8df46d25acf1de47500df243e68d240c6dfb7e189fab3da2cc5583e6d718af"
              },
              "brands": {
                "bytes": 3283,
                "sha256": "bbf50b97d1aa72c44cd3bbace1151b5eeae63eb2c6e0f9d9c45106e6227d8f76"
              },
              "cart_items": {
                "bytes": 356792,
                "sha256": "34dc7e76af6ac2b7cdd32ccabfb384fa295ea38d745d30ad68c5821c4427d3d2"
              },
              "categories": {
                "bytes": 808,
                "sha256": "13e737c409e99336348d94fe3c3af05f606304b08df91a60991e93ac95df1a82"
              },
              "countries": {
                "bytes": 34,
                "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
              },
              "discount_coupons": {
                "bytes": 6508,
                "sha256": "ebe2e477fd38f7055cb906030207cc89d44f6091c23810a7d64a110e5fee0593"
              },
              "order_items": {
                "bytes": 3117535,
                "sha256": "338ff547b86b1d8aae08b543485c58216576de780a13f7ac462ff3fc8819fafb"
              },
              "order_returns": {
                "bytes": 128918,
                "sha256": "a1d7e9476562584c0712c17ebfab8fa3c835ea7c957c9183d6de75380650aafc"
              },
              "order_statuses": {
                "bytes": 175,
                "sha256": "6aa3287f38d2989619ed268b30c5b4153281ee1ceb0ece6fbbeb392c7637630a"
              },
              "orders": {
                "bytes": 2573384,
                "sha256": "424e17d54a20dd426ad893bf36fe9e82c86237f6c90ab4ad0282eab9b359ab8e"
              },
              "payment_methods": {
                "bytes": 86,
                "sha256": "56278e7453083be4018d760be1404a37d0cbd14e61622d0f42b94720ea6fc61c"
              },
              "payments": {
                "bytes": 2376569,
                "sha256": "e87525763835bfb822f549b476d924e5740bf73a75e157769de4a4b0104f9ee5"
              },
              "product_attribute_values": {
                "bytes": 20401,
                "sha256": "eabdfbd21f3111721b38fdfce42dec44aa27448dfc07cba42db747036da06397"
              },
              "product_attributes": {
                "bytes": 83,
                "sha256": "8bb61752b65ff0bc6ddaccfc05709e62f07f13af05f4400619fa5ccf39eff2a3"
              },
              "product_images": {
                "bytes": 60111,
                "sha256": "cdd4e45704c982f4dc96186bb2a1be9dadff0f6ff7c26b8ea9dea1869a6ffc1d"
              },
              "product_inventories": {
                "bytes": 23135,
                "sha256": "e3d37afa9afe766d66414b99b7e4e5056defc3f49f620775945d957ca8d1dde8"
              },
              "product_reviews": {
                "bytes": 445819,
                "sha256": "7156ef78d3fd469b604cb732291c89ffe44205211eaf176870ed23da3bb6d8e9"
              },
              "products": {
                "bytes": 43834,
                "sha256": "de914baec083ec39f4fc4e639a02382228e8d3268e74e3d48b2247ac99c762fc"
              },
              "return_reasons": {
                "bytes": 129,
                "sha256": "060204c31a56275751d90d0d827da33b5c958bf2024002a77f02280dad99cca1"
              },
              "shipments": {
                "bytes": 2426433,
                "sha256": "6aa8a43adba6c4a362bfba37fa3c3e9097082e64308b8453ed5a42d428fc283c"
              },
              "shipping_methods": {
                "bytes": 173,
                "sha256": "48ef6aa33281bd6ab6932fb698481765d08a2375025900c823a11283cf3cc72a"
              },
              "shopping_carts": {
                "bytes": 301759,
                "sha256": "45420cd56c1d9e91038d6b2fa2b65b0b26498dcf5ca5d828e838057ad858cbed"
              },
              "suppliers": {
                "bytes": 3339,
                "sha256": "a71c368c868ef99651241262c03e88ba330669438314ef97c03ad453d4663e86"
              },
              "support_messages": {
                "bytes": 240319,
                "sha256": "218fd333442fd3461de3b2bdbb142c752b55391120c66a9d5b716c41e1d50d8a"
              },
              "support_tickets": {
                "bytes": 62694,
                "sha256": "8a769ed4b042ec55c0acdf1ce80e28db21daeb7f3bb69365f3bb5ac7b360ddd5"
              },
              "tax_rates": {
                "bytes": 218,
                "sha256": "97b5e6a822d50ef873699923e3f9f48e9038b7a7137b1887c06ebc6f6abecffe"
              },
              "users": {
                "bytes": 1142202,
                "sha256": "7d8f94fe02b01962db3f8cd5e0ae36baa1b69ea11cd4d40a0966f4e0bd2d37a6"
              },
              "warehouses": {
                "bytes": 294,
                "sha256": "8ddd975ce4ead1216c6174a7b29792fa988c7b594aa90794b6b0b6910fc2eb3a"
              },
              "wishlist_items": {
                "bytes": 200289,
                "sha256": "cb71940091c78e8f4b987388e484f0afe3a7428508fbded3b3015310477f66b0"
              },
              "wishlists": {
                "bytes": 124432,
                "sha256": "3fa908da311b87aa7fa7ef255be182027218aea411be6936549f320b45ff10e0"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every order line is priced at its product price",
            "violations": 0
          },
          {
            "name": "Every subtotal is the sum of its lines, and every tax the sum of 8% of each line",
            "violations": 0
          },
          {
            "name": "A coupon takes its value off, never more than the subtotal",
            "violations": 0
          },
          {
            "name": "Shipping is the method rate, and the total adds up",
            "violations": 0
          },
          {
            "name": "Every payment is its order total",
            "violations": 0
          },
          {
            "name": "A shipment leaves after its order and arrives after it leaves",
            "violations": 0
          },
          {
            "name": "A return sends back the whole line, after the order and before it is processed",
            "violations": 0
          },
          {
            "name": "A compare-at price is never below the price, and stock is never over-reserved",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "brands": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 3,
                    "outliers": 0
                  },
                  "logo_url": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "categories": {
                "duplicates": 1,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "slug": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "discount_coupons": {
                "duplicates": 0,
                "columns": {
                  "code": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  },
                  "discount_type": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "discount_value": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "ends_at": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "is_active": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "min_purchase_amount": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "starts_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "order_statuses": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status_name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "product_attributes": {
                "duplicates": 0,
                "columns": {
                  "type": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "products": {
                "duplicates": 3,
                "columns": {
                  "compare_at_price": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  },
                  "created_at": {
                    "missing": 9,
                    "typos": 0,
                    "outliers": 0
                  },
                  "description": {
                    "missing": 15,
                    "typos": 8,
                    "outliers": 0
                  },
                  "is_active": {
                    "missing": 11,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 10,
                    "typos": 5,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 1
                  },
                  "sku": {
                    "missing": 9,
                    "typos": 17,
                    "outliers": 0
                  },
                  "slug": {
                    "missing": 17,
                    "typos": 13,
                    "outliers": 0
                  }
                }
              },
              "product_attribute_values": {
                "duplicates": 10,
                "columns": {
                  "value": {
                    "missing": 32,
                    "typos": 31,
                    "outliers": 0
                  }
                }
              },
              "product_images": {
                "duplicates": 8,
                "columns": {
                  "alt_text": {
                    "missing": 21,
                    "typos": 24,
                    "outliers": 0
                  },
                  "sort_order": {
                    "missing": 26,
                    "typos": 0,
                    "outliers": 8
                  },
                  "url": {
                    "missing": 28,
                    "typos": 23,
                    "outliers": 0
                  }
                }
              },
              "shipping_methods": {
                "duplicates": 0,
                "columns": {
                  "base_cost": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "carrier": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "suppliers": {
                "duplicates": 1,
                "columns": {
                  "email": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "website": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "users": {
                "duplicates": 69,
                "columns": {
                  "created_at": {
                    "missing": 224,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 199,
                    "typos": 204,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 227,
                    "typos": 220,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 210,
                    "typos": 215,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 205,
                    "typos": 197,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 185,
                    "typos": 66,
                    "outliers": 0
                  },
                  "updated_at": {
                    "missing": 206,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "addresses": {
                "duplicates": 81,
                "columns": {
                  "city": {
                    "missing": 258,
                    "typos": 243,
                    "outliers": 0
                  },
                  "extended_address": {
                    "missing": 81,
                    "typos": 83,
                    "outliers": 0
                  },
                  "is_default_billing": {
                    "missing": 274,
                    "typos": 0,
                    "outliers": 0
                  },
                  "is_default_shipping": {
                    "missing": 252,
                    "typos": 0,
                    "outliers": 0
                  },
                  "postal_code": {
                    "missing": 272,
                    "typos": 81,
                    "outliers": 0
                  },
                  "state_province": {
                    "missing": 272,
                    "typos": 267,
                    "outliers": 0
                  },
                  "street_address": {
                    "missing": 265,
                    "typos": 254,
                    "outliers": 0
                  }
                }
              },
              "audit_logs": {
                "duplicates": 17,
                "columns": {
                  "action": {
                    "missing": 62,
                    "typos": 54,
                    "outliers": 0
                  },
                  "performed_at": {
                    "missing": 58,
                    "typos": 0,
                    "outliers": 0
                  },
                  "record_id": {
                    "missing": 72,
                    "typos": 0,
                    "outliers": 16
                  },
                  "table_affected": {
                    "missing": 59,
                    "typos": 59,
                    "outliers": 0
                  }
                }
              },
              "orders": {
                "duplicates": 382,
                "columns": {
                  "created_at": {
                    "missing": 1098,
                    "typos": 0,
                    "outliers": 0
                  },
                  "discount_amount": {
                    "missing": 1095,
                    "typos": 0,
                    "outliers": 29
                  },
                  "shipping_cost": {
                    "missing": 1066,
                    "typos": 0,
                    "outliers": 187
                  },
                  "subtotal": {
                    "missing": 1101,
                    "typos": 0,
                    "outliers": 187
                  },
                  "tax_amount": {
                    "missing": 1089,
                    "typos": 0,
                    "outliers": 188
                  },
                  "total": {
                    "missing": 1020,
                    "typos": 0,
                    "outliers": 191
                  }
                }
              },
              "order_items": {
                "duplicates": 1047,
                "columns": {
                  "discount_amount": {
                    "missing": 3070,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 2919,
                    "typos": 0,
                    "outliers": 509
                  },
                  "tax_amount": {
                    "missing": 3055,
                    "typos": 0,
                    "outliers": 519
                  },
                  "unit_price": {
                    "missing": 2951,
                    "typos": 0,
                    "outliers": 511
                  }
                }
              },
              "order_returns": {
                "duplicates": 24,
                "columns": {
                  "processed_at": {
                    "missing": 61,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 70,
                    "typos": 0,
                    "outliers": 9
                  },
                  "requested_at": {
                    "missing": 46,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 73,
                    "typos": 58,
                    "outliers": 0
                  }
                }
              },
              "payments": {
                "duplicates": 359,
                "columns": {
                  "amount": {
                    "missing": 1021,
                    "typos": 0,
                    "outliers": 182
                  },
                  "processed_at": {
                    "missing": 1079,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1098,
                    "typos": 1056,
                    "outliers": 0
                  },
                  "transaction_reference": {
                    "missing": 1045,
                    "typos": 1036,
                    "outliers": 0
                  }
                }
              },
              "product_reviews": {
                "duplicates": 84,
                "columns": {
                  "comment": {
                    "missing": 147,
                    "typos": 126,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 183,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 184,
                    "typos": 0,
                    "outliers": 30
                  },
                  "title": {
                    "missing": 168,
                    "typos": 152,
                    "outliers": 0
                  }
                }
              },
              "shipments": {
                "duplicates": 373,
                "columns": {
                  "delivered_at": {
                    "missing": 1056,
                    "typos": 0,
                    "outliers": 0
                  },
                  "shipped_at": {
                    "missing": 999,
                    "typos": 0,
                    "outliers": 0
                  },
                  "tracking_number": {
                    "missing": 1011,
                    "typos": 694,
                    "outliers": 0
                  }
                }
              },
              "shopping_carts": {
                "duplicates": 50,
                "columns": {
                  "created_at": {
                    "missing": 191,
                    "typos": 0,
                    "outliers": 0
                  },
                  "updated_at": {
                    "missing": 181,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "cart_items": {
                "duplicates": 101,
                "columns": {
                  "added_at": {
                    "missing": 291,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 310,
                    "typos": 0,
                    "outliers": 48
                  }
                }
              },
              "support_tickets": {
                "duplicates": 7,
                "columns": {
                  "created_at": {
                    "missing": 27,
                    "typos": 0,
                    "outliers": 0
                  },
                  "priority": {
                    "missing": 33,
                    "typos": 41,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 32,
                    "typos": 23,
                    "outliers": 0
                  },
                  "subject": {
                    "missing": 40,
                    "typos": 31,
                    "outliers": 0
                  }
                }
              },
              "support_messages": {
                "duplicates": 36,
                "columns": {
                  "message": {
                    "missing": 89,
                    "typos": 99,
                    "outliers": 0
                  },
                  "sender_type": {
                    "missing": 118,
                    "typos": 110,
                    "outliers": 0
                  },
                  "sent_at": {
                    "missing": 111,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "warehouses": {
                "duplicates": 0,
                "columns": {
                  "city": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "product_inventories": {
                "duplicates": 16,
                "columns": {
                  "quantity_on_hand": {
                    "missing": 38,
                    "typos": 0,
                    "outliers": 5
                  },
                  "quantity_reserved": {
                    "missing": 38,
                    "typos": 0,
                    "outliers": 6
                  },
                  "reorder_level": {
                    "missing": 43,
                    "typos": 0,
                    "outliers": 3
                  }
                }
              },
              "wishlists": {
                "duplicates": 38,
                "columns": {
                  "created_at": {
                    "missing": 107,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 104,
                    "typos": 89,
                    "outliers": 0
                  }
                }
              },
              "wishlist_items": {
                "duplicates": 59,
                "columns": {
                  "added_at": {
                    "missing": 169,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 32230,
              "typos": 5595,
              "outliers": 2630,
              "duplicates": 2766
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/ecommerce-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 5335798,
              "sha256": "fbcbdce51dbf341b7d615274202fa8821c8f1af5923c4f3a934cfcc102ab346c",
              "raw": {
                "bytes": 18811841,
                "sha256": "f8d90e3e8e198eb3dac3c5492cf17d54da81e1da33d9b9e4ba54595e2389c3b2"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/ecommerce-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 5363602,
              "sha256": "db795d2d4beaa8642ff326b45928b255b4dd42913c8924d20452cb4972d6855c",
              "tables": {
                "addresses": {
                  "bytes": 564839,
                  "sha256": "fd84788b3ae12ea2d72b64f780bf40eabe20285eef75f2e837f3e81a4cec6119"
                },
                "audit_logs": {
                  "bytes": 101982,
                  "sha256": "4859c1ec2d622ad89aebcac6734ecfd650911027afe1730927a8552ad1a8e67f"
                },
                "brands": {
                  "bytes": 3228,
                  "sha256": "7e312c48954f7c625aa6e41ca15df1f1925213947940a836050cc6ccba1a065f"
                },
                "cart_items": {
                  "bytes": 354629,
                  "sha256": "4bfe1c4d1606a5c90cd1c9f6cf23ab5b5bb208555f4e81805517d9a2e718b775"
                },
                "categories": {
                  "bytes": 841,
                  "sha256": "e1f309f797bd8966f10df914692a9f968f36c544d00e64b880d761d8e0306cf5"
                },
                "countries": {
                  "bytes": 34,
                  "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
                },
                "discount_coupons": {
                  "bytes": 6373,
                  "sha256": "f81eed4e287a5dc6d2f6574525b89f171564cdf499506363d064fd7f2b62ce5d"
                },
                "order_items": {
                  "bytes": 3118400,
                  "sha256": "5d8f79f1e6bf05690cffb7e9e7cd55cbbfb33d9924b0ab039fdf634788d44662"
                },
                "order_returns": {
                  "bytes": 127868,
                  "sha256": "48f6d46377fbe8989cd3250a5fa94934f3e3cb6a4153d9db13f575f9e4d12eb1"
                },
                "order_statuses": {
                  "bytes": 162,
                  "sha256": "2ca658fce4d0126d3dd1c50c3346693433628b27bdc4a3945942f86155a3d6b5"
                },
                "orders": {
                  "bytes": 2557273,
                  "sha256": "6793b48a7d39316f619f028abb784a9764925860ad704cea6ee63a99b29d337c"
                },
                "payment_methods": {
                  "bytes": 86,
                  "sha256": "56278e7453083be4018d760be1404a37d0cbd14e61622d0f42b94720ea6fc61c"
                },
                "payments": {
                  "bytes": 2350507,
                  "sha256": "f7799dca0feb9540b0570b5831f585ee870644a254bf21cd13657c8b96bc6053"
                },
                "product_attribute_values": {
                  "bytes": 20415,
                  "sha256": "6aafd075173a68ceca087b3dbc2d755d62e03fcd315b3259e16efd0405ff1c2c"
                },
                "product_attributes": {
                  "bytes": 79,
                  "sha256": "ed5a8e0531f26d44385f74c778e5a0296ac11ced4b3feffb2ce6ae78203b5ac6"
                },
                "product_images": {
                  "bytes": 59399,
                  "sha256": "0705999f8ac24a32ce4c24f082468b770eea2074d4bf7cf5d27295a51453a15d"
                },
                "product_inventories": {
                  "bytes": 23230,
                  "sha256": "b44088e48bc59ec2d465a705d0e389229f5e8e9e7a54077a97eb476ec7c9c141"
                },
                "product_reviews": {
                  "bytes": 441810,
                  "sha256": "c99850f89d16595e645a34f3e8ee2c223c134967cb23267e645e0acb82667d92"
                },
                "products": {
                  "bytes": 43134,
                  "sha256": "83f0945f82cf71cc61991e65ea633c1cc8eb9f5f079324bb9f58359b539fbac7"
                },
                "return_reasons": {
                  "bytes": 129,
                  "sha256": "060204c31a56275751d90d0d827da33b5c958bf2024002a77f02280dad99cca1"
                },
                "shipments": {
                  "bytes": 2396186,
                  "sha256": "77b9762a1762e08bc037baac58d52e4622d54b51fcce70df45a69259826b45ec"
                },
                "shipping_methods": {
                  "bytes": 168,
                  "sha256": "232ead78a090ddedddceaa147e09e00a787d29edf0f678c35ea7f3ba41795fc9"
                },
                "shopping_carts": {
                  "bytes": 297168,
                  "sha256": "844f16cab06cc35836ae0fdbdc0f90357bc7d834bac7e3e292960f61fbdde71a"
                },
                "suppliers": {
                  "bytes": 3349,
                  "sha256": "ea63cfbf7e2861f5fb1c35f518d8a541cfa9beb8f3511fa207a7c175ef508734"
                },
                "support_messages": {
                  "bytes": 237398,
                  "sha256": "99e33dc84960ed559f4e15eb2c3720e975dd05e9a3333be26ba3350c83d70933"
                },
                "support_tickets": {
                  "bytes": 61624,
                  "sha256": "183ad16a168a0ca2a65253d0753dccf879118e03123a62247602663e91ddd952"
                },
                "tax_rates": {
                  "bytes": 218,
                  "sha256": "97b5e6a822d50ef873699923e3f9f48e9038b7a7137b1887c06ebc6f6abecffe"
                },
                "users": {
                  "bytes": 1123140,
                  "sha256": "3bff6712bc0511965eef4b6d73f8fd491d87b3f7a49d45afdcfbe6b88657c5d1"
                },
                "warehouses": {
                  "bytes": 287,
                  "sha256": "6fc82d43e82ac2e9c2efe6b811110e845192757524a0965ec49a2c1d6143ff3b"
                },
                "wishlist_items": {
                  "bytes": 199019,
                  "sha256": "1805874ccbcc6b1fae0d2e7052c2aa8256d50dc65c74216c057272f0109ab79c"
                },
                "wishlists": {
                  "bytes": 122951,
                  "sha256": "47ce1f31245350d5aa553f832c43ff6464666507a32fb4da1f29cd5934207513"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 2609017,
        "counts": {
          "brands": 40,
          "categories": 22,
          "countries": 1,
          "discount_coupons": 80,
          "order_statuses": 6,
          "payment_methods": 5,
          "product_attributes": 4,
          "products": 400,
          "product_attribute_values": 1200,
          "product_images": 1000,
          "return_reasons": 6,
          "shipping_methods": 5,
          "suppliers": 30,
          "tax_rates": 12,
          "users": 70000,
          "addresses": 90000,
          "audit_logs": 20000,
          "orders": 360000,
          "order_items": 1000000,
          "order_returns": 20000,
          "payments": 350000,
          "product_reviews": 60000,
          "shipments": 340000,
          "shopping_carts": 60000,
          "cart_items": 100000,
          "support_tickets": 10000,
          "support_messages": 35000,
          "warehouses": 6,
          "product_inventories": 1200,
          "wishlists": 30000,
          "wishlist_items": 60000
        },
        "notes": [
          "At this size the tables beside order_items 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/ecommerce-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 54081132,
            "sha256": "a53ef60234e5861513e91fd637400a1f6842aac03936c72dd4a6323442dea19a",
            "raw": {
              "bytes": 191273878,
              "sha256": "9f236b5bf27adaf0412ed7fd54bc3a8f24fbd913a2aff4715af8d1a20c7c0737"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 54043990,
            "sha256": "e765fca231a63dd7a45e067c7d3461777b031054f2674946384310ce67cbf506",
            "raw": {
              "bytes": 190675354,
              "sha256": "a12c255bb7b90ff16cdd59ac310f3c28bd638d68260bdaf9ad71e951433a49ce"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 54043579,
            "sha256": "a24d02f9e2fac0bc9d22cde2edade280eec56be1d35aa18ca734018b5571282e",
            "raw": {
              "bytes": 190672775,
              "sha256": "a5537c2ec60ebc82f27fca88cca2137527fd283bfddfde40179be391134f2e61"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/ecommerce-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 55062997,
            "sha256": "d9a3036074ab289afb993316262586ba97e957034a5193614e03ee91da01e185",
            "tables": {
              "addresses": {
                "bytes": 5890088,
                "sha256": "6c95c30d232166b09b30cfc83868fde3f09bf7d6af6d59919e9a785cccf3ee6a"
              },
              "audit_logs": {
                "bytes": 1070822,
                "sha256": "6e4bc57262867076743216e572778487764b87abdd5034818a63d2f8dd915d18"
              },
              "brands": {
                "bytes": 3379,
                "sha256": "df4363fce97cb48a99500ed3f94fd69194ada588816b3797031fa475dc678792"
              },
              "cart_items": {
                "bytes": 3765303,
                "sha256": "eea7ebee106b06c4889b7603f6577afd14fe5552e47d1ac1e2493a89186c6811"
              },
              "categories": {
                "bytes": 850,
                "sha256": "e83bb5f96e56f263bca740e87a0348c2b7c5df539f0d2ebbb0c1d139c1f4dd48"
              },
              "countries": {
                "bytes": 34,
                "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
              },
              "discount_coupons": {
                "bytes": 6509,
                "sha256": "8521431f65cba1ccc8e418fa7fdeec1ca98fb02377e8e74b5038e0d2cc447a6a"
              },
              "order_items": {
                "bytes": 32957357,
                "sha256": "43fb6606c8ff341bb9b442231c68cd7a1dbc9ee6449595ff98d55ae0eb4e7257"
              },
              "order_returns": {
                "bytes": 1328772,
                "sha256": "c200be2b8af00fd3ba2a87afe0e21ceb2a6f14cb26f86b99cbcbc7456774dbd8"
              },
              "order_statuses": {
                "bytes": 185,
                "sha256": "8ef7e7a2e47c6c0463a4e28834095d40396075f2bb6570adebfc804711c82c1a"
              },
              "orders": {
                "bytes": 27137458,
                "sha256": "20f1368187edfa60777cdf487e0b63c82923fd3b22bb362f9ae429ef87de6950"
              },
              "payment_methods": {
                "bytes": 86,
                "sha256": "c8864516c6b59da4619c72d8a0f948e92a31d58e9abc32c9db7e6ad87a6e72ed"
              },
              "payments": {
                "bytes": 24452017,
                "sha256": "03b0e59e97c02fcda76b1cb03a66a46f540e9bcbf8f080b6300e1a25f8688797"
              },
              "product_attribute_values": {
                "bytes": 20293,
                "sha256": "1b1ebbeba1b7d702754ca39f7bfc09a28e64ca51ef793cab51354cdf9619e480"
              },
              "product_attributes": {
                "bytes": 83,
                "sha256": "8243e68f05100ff2d80e9bbecdae215f0d50b795b81dabd54fdae77ace2c563b"
              },
              "product_images": {
                "bytes": 60149,
                "sha256": "c24deb24b6182cbff29965a577f72960d55d1a088698a5515b9acafb53950528"
              },
              "product_inventories": {
                "bytes": 23150,
                "sha256": "15370e5ebe619ec6b8cacf4842dcf0b648eb94e2f43e0c7280176e511792f476"
              },
              "product_reviews": {
                "bytes": 4572657,
                "sha256": "fb684dda8ef652adc41062b15024a8b4e384bf93b8946ebedcfaf29e315ffe5a"
              },
              "products": {
                "bytes": 44151,
                "sha256": "15b1949a70699defe43a84ead86a8c29fd481395c8af87929d79c92840d7ab79"
              },
              "return_reasons": {
                "bytes": 129,
                "sha256": "414f1ba9d2e59e30f683b2cc8917b1b944bda61e611d57c929016ee77189d166"
              },
              "shipments": {
                "bytes": 24943901,
                "sha256": "3887ead2712af121dbba181ef80b4c6174c1cfd4a63142d9fca257a0481ec0fb"
              },
              "shipping_methods": {
                "bytes": 179,
                "sha256": "b650f79480d3ee8adcd61598130d25526f5b7b41642e6ada58048b4ab9bb3e83"
              },
              "shopping_carts": {
                "bytes": 3136096,
                "sha256": "1149b9364c0091b700343229653f92f0d0c70f1a1557f41bbeefb66d7f04ad24"
              },
              "suppliers": {
                "bytes": 3358,
                "sha256": "8890dedbbb2606bf34e057c8e0d638124f7c6e2f7192590e3e29d2e29d3a609c"
              },
              "support_messages": {
                "bytes": 2465272,
                "sha256": "14e43d118ac34be034d7a30801c0d78d2d83467aa16dee4e93e2c8eed49701bb"
              },
              "support_tickets": {
                "bytes": 646939,
                "sha256": "59f6c6fe3d2d6c3849d2f7a97351ab5b87b2c315467421643395edf447ebdd0f"
              },
              "tax_rates": {
                "bytes": 218,
                "sha256": "66255b7fd0b8202d8de344798744d869bf3d56faa2880aee143e448005cd188b"
              },
              "users": {
                "bytes": 11485101,
                "sha256": "78bb4c598874d71da86053d23cb9b2a0f4b93f7fa322165bbb01cab99e28c8dd"
              },
              "warehouses": {
                "bytes": 311,
                "sha256": "659602158e93f03a613e7d12e43af1c420d207a603b1b0ac76c75aad1cce27dd"
              },
              "wishlist_items": {
                "bytes": 2120262,
                "sha256": "297a0c3eb20e1a35b91283c7706cacb63c28a3651abc6ff2239ca26ea20e1fce"
              },
              "wishlists": {
                "bytes": 1303408,
                "sha256": "6760027f4faedbff40bea47bcb34c08a212c6df2d1f7175f5e2d713301e0b7f2"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every order line is priced at its product price",
            "violations": 0
          },
          {
            "name": "Every subtotal is the sum of its lines, and every tax the sum of 8% of each line",
            "violations": 0
          },
          {
            "name": "A coupon takes its value off, never more than the subtotal",
            "violations": 0
          },
          {
            "name": "Shipping is the method rate, and the total adds up",
            "violations": 0
          },
          {
            "name": "Every payment is its order total",
            "violations": 0
          },
          {
            "name": "A shipment leaves after its order and arrives after it leaves",
            "violations": 0
          },
          {
            "name": "A return sends back the whole line, after the order and before it is processed",
            "violations": 0
          },
          {
            "name": "A compare-at price is never below the price, and stock is never over-reserved",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "Every order line is priced at its product price",
        "sql": "SELECT count(*) AS violations FROM order_items oi JOIN products p ON p.id = oi.product_id WHERE oi.unit_price <> p.price"
      },
      {
        "name": "Every subtotal is the sum of its lines, and every tax the sum of 8% of each line",
        "sql": "SELECT count(*) AS violations FROM orders o LEFT JOIN (SELECT order_id, sum(round(quantity * unit_price, 2)) AS gross, sum(tax_amount) AS tax, sum(CASE WHEN tax_amount <> round(round(quantity * unit_price, 2) * 0.08, 2) THEN 1 ELSE 0 END) AS bad FROM order_items GROUP BY order_id) l ON l.order_id = o.id WHERE o.subtotal <> COALESCE(l.gross, 0) OR o.tax_amount <> COALESCE(l.tax, 0) OR COALESCE(l.bad, 0) > 0"
      },
      {
        "name": "A coupon takes its value off, never more than the subtotal",
        "sql": "SELECT count(*) AS violations FROM orders o LEFT JOIN discount_coupons d ON d.id = o.coupon_id WHERE o.discount_amount <> LEAST(COALESCE(d.discount_value, 0), o.subtotal)"
      },
      {
        "name": "Shipping is the method rate, and the total adds up",
        "sql": "SELECT count(*) AS violations FROM orders o JOIN shipping_methods sm ON sm.id = o.shipping_method_id WHERE o.shipping_cost <> sm.base_cost OR o.total <> o.subtotal - o.discount_amount + o.tax_amount + o.shipping_cost"
      },
      {
        "name": "Every payment is its order total",
        "sql": "SELECT count(*) AS violations FROM payments p JOIN orders o ON o.id = p.order_id WHERE p.amount <> o.total"
      },
      {
        "name": "A shipment leaves after its order and arrives after it leaves",
        "sql": "SELECT count(*) AS violations FROM shipments s JOIN orders o ON o.id = s.order_id WHERE s.shipped_at < o.created_at OR s.delivered_at < s.shipped_at"
      },
      {
        "name": "A return sends back the whole line, after the order and before it is processed",
        "sql": "SELECT count(*) AS violations FROM order_returns r JOIN order_items oi ON oi.id = r.order_item_id JOIN orders o ON o.id = oi.order_id WHERE r.quantity <> oi.quantity OR r.requested_at < o.created_at OR r.processed_at < r.requested_at"
      },
      {
        "name": "A compare-at price is never below the price, and stock is never over-reserved",
        "sql": "SELECT (SELECT count(*) FROM products WHERE compare_at_price < price) + (SELECT count(*) FROM product_inventories WHERE quantity_reserved > quantity_on_hand) AS violations"
      }
    ]
  },
  "publishedAt": 1791319316238,
  "updatedAt": 1791319316238
}
