{
  "format": "dataset-manifest/1",
  "slug": "fashion-design-software",
  "version": 1,
  "seed": "fashion-design-software:1",
  "spec": {
    "format": "dataset/1",
    "slug": "fashion-design-software",
    "name": "Fashion Logistics Insights",
    "tagline": "Tables of materials, garment orders, shipments, promotional events, and returns from the fashion logistics sector.",
    "description": "Fashion designers manage complex operations to ensure the timely delivery of materials and the efficient processing of garment orders. They oversee everything from fabric procurement to the logistics of shipping finished products. Each day, teams monitor material inventory alongside garment types, ensuring they keep pace with market trends and customer demands. Key activities often align with promotional events, where timely shipments are crucial for capturing seasonal interest and maximizing sales opportunities. Designers must also be mindful of returns, which, while relatively low, can spike during off-peak seasons, impacting overall sales strategy.\n\nThe dataset includes several related tables that encapsulate different aspects of this logistical operation. The `materials` table contains records of various fabrics and components, detailing their specifications and current stock levels. Each material is linked to specific `garment_orders`, which represent customer requests for finished clothing items. These orders also relate to the `shipments` table, tracking deliveries and the logistics involved in getting products from the warehouse to retailers or directly to customers.\n\nAdditionally, the `promotional_events` table provides insights into marketing strategies employed during peak seasons, revealing patterns in material orders and shipment timing. Finally, the `returns` table captures information about garments that are sent back, offering data to analyze customer satisfaction and product quality. By exploring these relationships, practitioners can gain valuable insights into the fashion logistics landscape, answering questions about inventory management, seasonal trends, and the effectiveness of promotional activities.\n\nThis dataset is synthetic, modeled to simulate the kinds of data a logistics operation in the fashion industry would produce, allowing users to practice and develop their analytical skills.",
    "domain": "logistics",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "fashion",
      "logistics",
      "materials",
      "shipments",
      "inventory",
      "promotions",
      "events",
      "data analysis"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "materials": {
        "description": "This table contains information about various fabric types used in fashion design. Each row represents a unique fabric with attributes including type and current inventory levels.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each fabric."
          },
          "fabric_type": {
            "kind": "enum",
            "values": [
              "Cotton",
              "Silk",
              "Linen",
              "Wool",
              "Polyester"
            ],
            "description": "Type of fabric used."
          },
          "inventory_level": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Current inventory level of the fabric.",
            "nullable": true,
            "when": {
              "column": "fabric_type",
              "in": [
                "Cotton",
                "Silk",
                "Linen",
                "Wool",
                "Polyester"
              ]
            }
          }
        }
      },
      "garment_orders": {
        "description": "This table tracks orders for garments made from various fabrics. Each order includes details about the garment type, quantity, and associated materials.",
        "rows": 350,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each garment order."
          },
          "garment_type": {
            "kind": "enum",
            "values": [
              "Dress",
              "Shirt",
              "Pants",
              "Skirt",
              "Jacket"
            ],
            "description": "Type of garment ordered."
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Number of garments ordered."
          },
          "material_id": {
            "kind": "fk",
            "ref": "materials.id",
            "description": "Reference to the material used for the garment."
          }
        }
      },
      "shipments": {
        "description": "This table records the shipments of materials to fashion designers. Each shipment includes details like the shipment date, status, and associated garment orders.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each shipment."
          },
          "shipment_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date when the shipment was made.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "Shipped",
                "Delivered"
              ]
            },
            "dayProfile": "business"
          },
          "status": {
            "kind": "enum",
            "values": [
              "Pending",
              "Shipped",
              "Delivered"
            ],
            "description": "Current status of the shipment."
          },
          "garment_order_id": {
            "kind": "fk",
            "ref": "garment_orders.id",
            "description": "Reference to the garment order associated with the shipment."
          }
        }
      },
      "promotional_events": {
        "description": "This table outlines promotional events tied to garment launches. Each event includes the date, type, and linked garment orders.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each promotional event."
          },
          "event_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date of the promotional event.",
            "nullable": true,
            "when": {
              "column": "event_type",
              "in": [
                "Launch",
                "Sale",
                "Exhibition"
              ]
            },
            "dayProfile": "waking",
            "trend": "seasonal"
          },
          "event_type": {
            "kind": "enum",
            "values": [
              "Launch",
              "Sale",
              "Exhibition"
            ],
            "description": "Type of promotional event."
          },
          "garment_order_id": {
            "kind": "fk",
            "ref": "garment_orders.id",
            "description": "Reference to the garment order associated with the promotional event."
          }
        }
      },
      "returns": {
        "description": "This table captures information about garment returns. Each return entry links to the original garment order and includes the return reason.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each return."
          },
          "return_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date the return was processed.",
            "nullable": true,
            "when": {
              "column": "reason",
              "in": [
                "Defective",
                "Wrong Size",
                "Changed Mind"
              ]
            },
            "dayProfile": "business"
          },
          "reason": {
            "kind": "enum",
            "values": [
              "Defective",
              "Wrong Size",
              "Changed Mind"
            ],
            "description": "Reason for the return."
          },
          "garment_order_id": {
            "kind": "fk",
            "ref": "garment_orders.id",
            "description": "Reference to the garment order that was returned."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "nullable",
      "high-cardinality",
      "timestamped"
    ],
    "analysisQuestions": [
      "How do material orders vary before major promotional events?",
      "What are the most common reasons for garment returns?",
      "Which fabric types have the highest inventory turnover?",
      "What is the average time from shipment to delivery for different garment types?",
      "How does the quantity of garment orders change during promotional events?"
    ],
    "suggestedQueries": [
      {
        "title": "List all garment orders with associated materials",
        "sql": "SELECT g.id, g.garment_type, g.quantity, m.fabric_type FROM garment_orders g JOIN materials m ON g.material_id = m.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count shipments by status",
        "sql": "SELECT status, COUNT(*) FROM shipments GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Average quantity of garments ordered per fabric type",
        "sql": "SELECT m.fabric_type, AVG(g.quantity) FROM garment_orders g JOIN materials m ON g.material_id = m.id GROUP BY m.fabric_type;",
        "dialect": "postgres"
      },
      {
        "title": "Returns by reason over time",
        "sql": "SELECT r.reason, COUNT(*) FROM returns r JOIN garment_orders g ON r.garment_order_id = g.id GROUP BY r.reason, r.return_date ORDER BY r.return_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Fashion Designers Analyzing Trends",
        "body": "Fashion designers can utilize this dataset to analyze trends in material usage before major promotional events. By identifying which fabrics are in high demand, designers can better align their inventory with upcoming collections, ensuring they have the necessary materials on hand for production."
      },
      {
        "title": "Logistics Managers Optimizing Shipments",
        "body": "Logistics managers can use this dataset to track the status of shipments and optimize delivery schedules. By understanding the average time from shipment to delivery, they can improve efficiency and ensure that materials arrive on time for fashion launches."
      },
      {
        "title": "Data Analysts Exploring Returns",
        "body": "Data analysts can leverage this dataset to explore patterns in garment returns. By analyzing the reasons for returns, they can provide insights to design teams on potential improvements in product quality and sizing, helping to reduce future returns."
      },
      {
        "title": "Marketing Teams Planning Promotions",
        "body": "Marketing teams can access this dataset to plan promotional events effectively. By correlating garment orders with promotional events, they can strategize marketing campaigns that align with inventory levels, maximizing sales during key periods."
      }
    ]
  },
  "counts": {
    "materials": 200,
    "garment_orders": 350,
    "promotional_events": 100,
    "returns": 50,
    "shipments": 150
  },
  "stats": {
    "materials": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "fabric_type": {
          "nulls": 0,
          "distinct": 5,
          "min": "Cotton",
          "max": "Wool"
        },
        "inventory_level": {
          "nulls": 0,
          "distinct": 184,
          "min": 5,
          "max": 997
        }
      }
    },
    "garment_orders": {
      "rows": 350,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 350,
          "min": 1,
          "max": 350
        },
        "garment_type": {
          "nulls": 0,
          "distinct": 5,
          "min": "Dress",
          "max": "Skirt"
        },
        "quantity": {
          "nulls": 0,
          "distinct": 97,
          "min": 1,
          "max": 99
        },
        "material_id": {
          "nulls": 0,
          "distinct": 165,
          "min": 1,
          "max": 200
        }
      }
    },
    "shipments": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "shipment_date": {
          "nulls": 55,
          "distinct": 95,
          "min": "2023-01-03 15:05:29",
          "max": "2023-12-29 08:59:39"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Delivered",
          "max": "Shipped"
        },
        "garment_order_id": {
          "nulls": 0,
          "distinct": 119,
          "min": 1,
          "max": 350
        }
      }
    },
    "promotional_events": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "event_date": {
          "nulls": 0,
          "distinct": 100,
          "min": "2023-01-04 17:48:57",
          "max": "2023-12-31 17:27:02"
        },
        "event_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Exhibition",
          "max": "Sale"
        },
        "garment_order_id": {
          "nulls": 0,
          "distinct": 85,
          "min": 1,
          "max": 350
        }
      }
    },
    "returns": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "return_date": {
          "nulls": 0,
          "distinct": 50,
          "min": "2023-01-01 10:21:54",
          "max": "2023-12-16 12:48:03"
        },
        "reason": {
          "nulls": 0,
          "distinct": 3,
          "min": "Changed Mind",
          "max": "Wrong Size"
        },
        "garment_order_id": {
          "nulls": 0,
          "distinct": 48,
          "min": 2,
          "max": 347
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/materials.csv",
      "format": "csv",
      "table": "materials",
      "key": "datasets/fashion-design-software/v1/csv/materials.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/csv/materials.csv",
      "bytes": 3002,
      "sha256": "ceccae788b6d14d0da5083bcc1f68f8b49086186763d790c964d533c05a56198",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/garment_orders.csv",
      "format": "csv",
      "table": "garment_orders",
      "key": "datasets/fashion-design-software/v1/csv/garment_orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/csv/garment_orders.csv",
      "bytes": 6089,
      "sha256": "599b05117ad4fda103ec1803936aea96b2232493a16e1e87649ca8f4b1e5fb2e",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/promotional_events.csv",
      "format": "csv",
      "table": "promotional_events",
      "key": "datasets/fashion-design-software/v1/csv/promotional_events.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/csv/promotional_events.csv",
      "bytes": 3547,
      "sha256": "9babf77ba24576558d1418ae8749ffb768b08dcf4cb75c235ab7bba51309a949",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/returns.csv",
      "format": "csv",
      "table": "returns",
      "key": "datasets/fashion-design-software/v1/csv/returns.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/csv/returns.csv",
      "bytes": 1978,
      "sha256": "7ccf35bd9bc07533354730b44eb78cdf11ebbcbc29ce9366aa17a013fb181844",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shipments.csv",
      "format": "csv",
      "table": "shipments",
      "key": "datasets/fashion-design-software/v1/csv/shipments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/csv/shipments.csv",
      "bytes": 4498,
      "sha256": "aa7cd496a2f850925c5473e776ef3f19567ce0f16fdf9d0c0491fcf57cfd31e8",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "fashion-design-software.json",
      "format": "json",
      "table": null,
      "key": "datasets/fashion-design-software/v1/fashion-design-software.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/fashion-design-software.json",
      "bytes": 94249,
      "sha256": "a4e67bbe4cec70118392746bb5a3d8f68a7ed76e7b271323cf1470bf9045c9e0",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/fashion-design-software/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/sql/postgres.sql",
      "bytes": 31638,
      "sha256": "b62d5f289ce7c44d8c75af83193d9323afd70ec3be906b6353267e4a1eed99bb",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/fashion-design-software/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/sql/mysql.sql",
      "bytes": 31046,
      "sha256": "d488dbe99bbf632c26030f513cdc4e1016f2f2d8b6412ea8907f74cae5a93195",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/fashion-design-software/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/sql/mssql.sql",
      "bytes": 32488,
      "sha256": "17660c2340f0af9b8567bfd924837299a20355f4ab79d0f4378f0c59e8b7555e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/fashion-design-software/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/sql/sqlite.sql",
      "bytes": 30817,
      "sha256": "848415aa908ab4e801d1a023e05f0578a4d8f4d5a94aba6e175c89f76495dc5e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/fashion-design-software/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/prisma/seed.ts",
      "bytes": 75679,
      "sha256": "b3a3232e320155ca77e7a73fcc6dd011f44d58213e0d86226d68bc4e20b1baba",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/fashion-design-software/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fashion-design-software/v1/django/fixtures.json",
      "bytes": 132777,
      "sha256": "415f37a3601aee7fbdda38c89b3c671cceaf312254f423314cb1d133fea1f61b",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768488661,
  "updatedAt": 1788768488661
}
