{
  "format": "dataset-manifest/1",
  "slug": "ecommerce-design-assets",
  "version": 3,
  "seed": "ecommerce-design-assets:1",
  "spec": {
    "format": "dataset/1",
    "slug": "ecommerce-design-assets",
    "name": "Ecommerce Design Assets",
    "tagline": "Design assets, categories, trends, transactions, and user reviews from ecommerce platforms.",
    "description": "Designers create and manage digital assets to enhance user experiences on ecommerce platforms. These assets include various visual components such as color schemes, fonts, character styles, and images that form the interface of online stores. Each design choice influences how products are presented and how users interact with the site, directly impacting sales and customer satisfaction. The operation focuses on the effective curation and utilization of these assets to align with current design trends, ensuring that the ecommerce sites remain appealing and functional.\n\nThe tables in this dataset are interrelated, providing a comprehensive view of the digital asset lifecycle and its impact on ecommerce transactions. The `asset_categories` table lists different types of design assets, while the `assets` table contains specifics about each individual asset, including its attributes and associated category. `design_trends` captures the prevailing styles and trends in the market, which can be linked to both the `assets` and `transactions` tables, revealing how particular trends influence purchasing behavior. The `transactions` table records user purchases, allowing for analysis of which assets are most popular, while the `users` table details customer demographics and behaviors. The `asset_reviews` table provides subjective assessments of the assets, contributing further insights into user preferences and satisfaction levels.\n\nThis dataset answers various questions regarding the efficacy of different design elements in driving sales, how trends evolve over time, and which user demographics prefer certain styles. It serves as a valuable resource for practicing data analysis, as it offers ample opportunities for exploring relationships between design choices and business performance. Keep in mind that this data is synthetic, designed to simulate realistic ecommerce scenarios while preserving user anonymity.",
    "domain": "ecommerce",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "ecommerce",
      "design",
      "assets",
      "transactions",
      "analytics",
      "sql"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "asset_categories": {
        "description": "This table holds the different categories of design assets, such as colors, fonts, and images. Each category can relate to multiple assets.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each asset category."
          },
          "name": {
            "kind": "words",
            "max": 3,
            "description": "The name of the asset category.",
            "pool": [
              "graphics",
              "templates",
              "icons",
              "photos",
              "fonts",
              "illustrations",
              "mockups",
              "banners",
              "videos",
              "stickers",
              "patterns",
              "layouts",
              "color",
              "branding",
              "elements",
              "animations",
              "widgets",
              "infographics",
              "backgrounds",
              "textures",
              "themes"
            ],
            "min": 1
          },
          "description": {
            "kind": "sentence",
            "max": 200,
            "description": "A brief description of the asset category."
          }
        }
      },
      "assets": {
        "description": "This table contains individual design assets related to the categories. Each asset is linked to its category and has details about its usage.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each asset."
          },
          "category_id": {
            "kind": "fk",
            "ref": "asset_categories.id",
            "description": "Foreign key linking to the asset category."
          },
          "name": {
            "kind": "words",
            "max": 3,
            "description": "The name of the asset.",
            "pool": [
              "logo",
              "header",
              "footer",
              "button",
              "card",
              "banner",
              "icon",
              "image",
              "video",
              "template",
              "mockup",
              "font",
              "graphic",
              "illustration",
              "pattern",
              "color",
              "element",
              "widget",
              "infographic",
              "background",
              "texture"
            ],
            "min": 1
          },
          "file_type": {
            "kind": "enum",
            "values": [
              "image",
              "font",
              "plugin",
              "style"
            ],
            "description": "Type of the asset.",
            "weights": [
              7,
              2,
              1,
              1
            ]
          },
          "popularity": {
            "kind": "int",
            "min": 1,
            "max": 1000,
            "description": "Popularity score based on usage.",
            "distribution": "high"
          }
        }
      },
      "design_trends": {
        "description": "This table captures current design trends, linking them to specific assets that align with these trends.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each design trend."
          },
          "trend_name": {
            "kind": "words",
            "max": 3,
            "description": "The name of the design trend.",
            "pool": [
              "minimalism",
              "vintage",
              "flat",
              "neumorphism",
              "dark",
              "bold",
              "colorful",
              "asymmetry",
              "typography",
              "microinteractions",
              "3D",
              "retro",
              "monochrome",
              "organic",
              "abstract",
              "geometric",
              "sustainable",
              "interactive",
              "dynamic",
              "immersive",
              "customization"
            ],
            "min": 1
          },
          "description": {
            "kind": "sentence",
            "max": 200,
            "description": "A brief description of the trend."
          },
          "related_asset_id": {
            "kind": "fk",
            "ref": "assets.id",
            "nullable": true,
            "description": "Foreign key linking to a related asset."
          }
        }
      },
      "transactions": {
        "description": "This table records transactions involving design assets, showing which assets were purchased or used in projects.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Foreign key linking to the user who made the transaction."
          },
          "asset_id": {
            "kind": "fk",
            "ref": "assets.id",
            "description": "Foreign key linking to the asset involved in the transaction."
          },
          "transaction_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date when the transaction occurred.",
            "dayProfile": "waking"
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "description": "Monetary amount of the transaction.",
            "distribution": "long-tail"
          }
        }
      },
      "users": {
        "description": "This table contains information about users who interact with design assets, including their preferences and transaction history.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the user."
          },
          "registration_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date when the user registered.",
            "dayProfile": "business",
            "trend": "growing"
          }
        }
      },
      "asset_reviews": {
        "description": "This table captures user reviews for different design assets, providing feedback and ratings.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each review."
          },
          "asset_id": {
            "kind": "fk",
            "ref": "assets.id",
            "description": "Foreign key linking to the reviewed asset."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Foreign key linking to the user who submitted the review."
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "Rating given to the asset.",
            "distribution": "high"
          },
          "review_text": {
            "kind": "paragraph",
            "max": 500,
            "description": "Text of the user's review."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "monetary",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "What are the most popular design assets based on transaction data?",
      "How do different asset categories compare in terms of user ratings?",
      "Which design trends are currently influencing asset purchases?",
      "What is the average transaction amount for design assets?",
      "How often do users leave reviews for the assets they purchase?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Assets and Categories",
        "sql": "SELECT a.name, ac.name FROM assets a JOIN asset_categories ac ON a.category_id = ac.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Transactions per Asset",
        "sql": "SELECT asset_id, COUNT(*) FROM transactions GROUP BY asset_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Rating per Asset",
        "sql": "SELECT asset_id, AVG(rating) FROM asset_reviews GROUP BY asset_id;",
        "dialect": "postgres"
      },
      {
        "title": "Total Revenue from Transactions",
        "sql": "SELECT SUM(amount) FROM transactions;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Ecommerce Designers",
        "body": "Designers working in the ecommerce industry can use this dataset to analyze the effectiveness of various visual components. By examining trends and user reviews, they can refine their designs to better meet customer preferences."
      },
      {
        "title": "Data Analysts",
        "body": "Data analysts can leverage this dataset to uncover insights about the performance of different design assets. By querying transaction data and user ratings, they can provide recommendations to improve asset offerings."
      },
      {
        "title": "Marketing Teams",
        "body": "Marketing professionals can utilize the information captured in this dataset to target campaigns based on popular design assets and user reviews. This allows for more effective marketing strategies that resonate with users."
      },
      {
        "title": "Educators and Students",
        "body": "In educational settings, this dataset can serve as a practical resource for teaching SQL and data analysis. Students can practice queries while learning about the ecommerce design landscape."
      }
    ]
  },
  "counts": {
    "asset_categories": 20,
    "assets": 200,
    "design_trends": 50,
    "users": 100,
    "asset_reviews": 150,
    "transactions": 300
  },
  "stats": {
    "asset_categories": {
      "rows": 20,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "name": {
          "nulls": 0,
          "distinct": 20
        },
        "description": {
          "nulls": 0,
          "distinct": 20
        }
      }
    },
    "assets": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "category_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "name": {
          "nulls": 0,
          "distinct": 148
        },
        "file_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "font",
          "max": "style"
        },
        "popularity": {
          "nulls": 0,
          "distinct": 170,
          "min": 9,
          "max": 1000
        }
      }
    },
    "design_trends": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "trend_name": {
          "nulls": 0,
          "distinct": 49
        },
        "description": {
          "nulls": 0,
          "distinct": 50
        },
        "related_asset_id": {
          "nulls": 4,
          "distinct": 39,
          "min": 1,
          "max": 194
        }
      }
    },
    "transactions": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 97,
          "min": 1,
          "max": 100
        },
        "asset_id": {
          "nulls": 0,
          "distinct": 158,
          "min": 1,
          "max": 199
        },
        "transaction_date": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-01 11:35:03",
          "max": "2023-12-28 07:03:33"
        },
        "amount": {
          "nulls": 0,
          "distinct": 300,
          "min": 0,
          "max": 9959.25
        }
      }
    },
    "users": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "full_name": {
          "nulls": 0,
          "distinct": 100,
          "min": "Alice Becker",
          "max": "Zoe Silva"
        },
        "email": {
          "nulls": 0,
          "distinct": 100
        },
        "registration_date": {
          "nulls": 0,
          "distinct": 100,
          "min": "2023-01-05 20:27:50",
          "max": "2023-12-29 15:10:25"
        }
      }
    },
    "asset_reviews": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "asset_id": {
          "nulls": 0,
          "distinct": 110,
          "min": 2,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 83,
          "min": 1,
          "max": 100
        },
        "rating": {
          "nulls": 0,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "review_text": {
          "nulls": 0,
          "distinct": 150
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/asset_categories.csv",
      "format": "csv",
      "table": "asset_categories",
      "key": "datasets/ecommerce-design-assets/v3/csv/asset_categories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/csv/asset_categories.csv",
      "bytes": 1545,
      "sha256": "0655a0a9638b6c8b2a172a095b4fd795a254dc9bb554dab1e49b627a552425f7",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/assets.csv",
      "format": "csv",
      "table": "assets",
      "key": "datasets/ecommerce-design-assets/v3/csv/assets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/csv/assets.csv",
      "bytes": 6295,
      "sha256": "8a14270a5f322e632562715c8566dac91f705e6b7eec89bf7c1b94aa94b761d1",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/design_trends.csv",
      "format": "csv",
      "table": "design_trends",
      "key": "datasets/ecommerce-design-assets/v3/csv/design_trends.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/csv/design_trends.csv",
      "bytes": 4118,
      "sha256": "acf4bbb85cb44cba0b5087fc14f7f13b2ca2cb0c7711ab32b971136cb4cdc6d8",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/ecommerce-design-assets/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/csv/users.csv",
      "bytes": 6018,
      "sha256": "dd2d209df15af378587f1c6fab5b8adf4c456ca393b47f1f2774caeb7d1f3e07",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/asset_reviews.csv",
      "format": "csv",
      "table": "asset_reviews",
      "key": "datasets/ecommerce-design-assets/v3/csv/asset_reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/csv/asset_reviews.csv",
      "bytes": 27427,
      "sha256": "c1c45cabc61d75f5da7764f0763406ebc0c2e161b48d50052f0b5b3b52bcf75a",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/ecommerce-design-assets/v3/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/csv/transactions.csv",
      "bytes": 11618,
      "sha256": "f0067bf9ebfd596b5dc4878e372b50fe20c393994a3e80aa452252bf3cdfb55e",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ecommerce-design-assets.json",
      "format": "json",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/ecommerce-design-assets.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/ecommerce-design-assets.json",
      "bytes": 140912,
      "sha256": "a963f601f04428809c13d22cb9f3a64cf8b8aa79e52c90ae37df9fb15e9e3772",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/sql/postgres.sql",
      "bytes": 70725,
      "sha256": "e45281ab70af8ed7852b4ec02c54b1c564d9f8dc030ab072315739c39b5b3472",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/sql/mysql.sql",
      "bytes": 70018,
      "sha256": "3d891565c8d95bbba85bb0a8acc6d43ad9530c828f13e5a8b16525601840d214",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/sql/mssql.sql",
      "bytes": 71743,
      "sha256": "f3fb714eb67d7d4809620477e516efef23d327ee7be86f01d29b427c50ad3c7c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/sql/sqlite.sql",
      "bytes": 69738,
      "sha256": "53e4be17debdf9060663360abe71643b86e62328a78d97557123e938eaca07e6",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/prisma/seed.ts",
      "bytes": 118942,
      "sha256": "fb7aab6b67dc6311b1b7b6b6a74831c0de17f1381ae497bc5378ecf7ee3565e0",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ecommerce-design-assets/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ecommerce-design-assets/v3/django/fixtures.json",
      "bytes": 175862,
      "sha256": "566fe0c2688cceb2599ad655c18d850812359b96d5dcf2cf31fcd36965b8f795",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768620770,
  "updatedAt": 1788783562428
}
