{
  "format": "dataset-manifest/1",
  "slug": "digital-content-licensing-database",
  "version": 2,
  "seed": "digital-content-licensing-database:1",
  "spec": {
    "format": "dataset/1",
    "slug": "digital-content-licensing-database",
    "name": "Digital Content Licensing Metrics",
    "tagline": "Metrics on subscriptions, royalties, content items, users, and disputes in digital content licensing for fintech.",
    "description": "Users engage with digital content by subscribing to various offerings, allowing them access to a wealth of financial resources and insights. Each subscription corresponds to a user, linking them to specific content items through a managed rights system. As users interact with the content, royalties are generated, reflecting their consumption patterns and the value derived from the digital materials provided. This generates a robust flow of transactional data that illustrates not only the financial aspects of content licensing but also user engagement and satisfaction. Disputes may arise over content rights or service quality, leading to records that capture these incidents and their resolutions, highlighting areas where customer experiences could be improved.\n\nThe dataset consists of five main tables: subscriptions, royalties, content, users, and disputes. A single row in the subscriptions table details a user's active subscription, including the start date and associated content. The royalties table captures earnings linked to specific content items, indicating how much revenue is generated per user interaction. The content table provides descriptions, types, and licensing information for each piece of digital material. Meanwhile, the users table holds crucial information about each subscriber, such as their demographics and preferences. The disputes table records any conflicts that arise concerning content usage or licensing, detailing the nature of each dispute and its resolution status. This intricate web of relationships allows for insightful joins, where, for instance, a user's subscription can be linked to the royalties generated by the content they consume, or disputes can be traced back to specific content or subscriptions.\n\nDevelopers can utilize this synthetic data to practice various analytical skills, including revenue forecasting, user engagement analysis, and dispute resolution tracking. You can answer questions like: What content generates the most royalties? How do disputes correlate with user satisfaction ratings? What trends can be observed in subscription renewals? By exploring these dimensions, developers can enhance their data manipulation skills and gain deeper insights into the fintech landscape.",
    "domain": "fintech",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "digital content",
      "licensing",
      "subscriptions",
      "royalties",
      "disputes",
      "fintech",
      "metrics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "subscriptions": {
        "description": "This table tracks user subscriptions to digital content, linking to the users and the content they subscribe to. Each row represents an active subscription with details on the subscription start date and status.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the subscription."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user subscribing to the content."
          },
          "content_id": {
            "kind": "fk",
            "ref": "content.id",
            "description": "Reference to the licensed content."
          },
          "start_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Date the subscription started.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "active",
                "paused"
              ]
            },
            "trend": "growing"
          },
          "status": {
            "kind": "enum",
            "values": [
              "active",
              "cancelled",
              "paused"
            ],
            "description": "Current status of the subscription."
          }
        }
      },
      "royalties": {
        "description": "This table records the royalties generated from content consumption, linking to subscriptions and content items. Each row reflects the royalty accrued during a specific period for a particular subscription.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the royalty record."
          },
          "subscription_id": {
            "kind": "fk",
            "ref": "subscriptions.id",
            "description": "Reference to the subscription generating the royalty."
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 1000,
            "scale": 2,
            "description": "Royalty amount accrued.",
            "distribution": "long-tail"
          },
          "period_start": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Start date of the royalty period.",
            "trend": "seasonal"
          },
          "period_end": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "End date of the royalty period.",
            "trend": "seasonal"
          }
        }
      },
      "content": {
        "description": "This table lists the digital content items available for licensing, including their titles and descriptions. Each row represents a unique content item.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the content item."
          },
          "title": {
            "kind": "fullName",
            "description": "Title of the digital content."
          },
          "description": {
            "kind": "paragraph",
            "min": 10,
            "max": 500,
            "description": "A brief description of the content.",
            "nullable": true
          },
          "license_type": {
            "kind": "enum",
            "values": [
              "exclusive",
              "non-exclusive"
            ],
            "description": "Type of license for the content."
          }
        }
      },
      "users": {
        "description": "This table contains user information, including their names and contact details. Each row represents a unique user who subscribes to content.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "Full name of the user.",
            "nullable": true
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the user.",
            "nullable": true
          },
          "sign_up_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Date the user signed up.",
            "trend": "growing"
          }
        }
      },
      "disputes": {
        "description": "This table tracks disputes related to subscriptions, linking to the relevant subscription and providing details about the resolution process. Each row represents an individual dispute case.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the dispute."
          },
          "subscription_id": {
            "kind": "fk",
            "ref": "subscriptions.id",
            "description": "Reference to the subscription associated with the dispute."
          },
          "issue": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "Description of the dispute issue."
          },
          "resolution_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Date when the dispute was resolved.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "resolved",
                "escalated"
              ]
            },
            "trend": "growing"
          },
          "status": {
            "kind": "enum",
            "values": [
              "open",
              "resolved",
              "escalated"
            ],
            "description": "Current status of the dispute."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "monetary"
    ],
    "analysisQuestions": [
      "What is the average royalty generated per subscription?",
      "How do subscription statuses affect user satisfaction?",
      "What common issues arise in disputes, and how quickly are they resolved?",
      "Which content items generate the most revenue from royalties?",
      "What trends can be observed in sign-up dates over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Subscriptions with Users",
        "sql": "SELECT u.full_name, s.start_date FROM users u JOIN subscriptions s ON u.id = s.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Royalty Amounts by Content",
        "sql": "SELECT c.title, SUM(r.amount) FROM content c JOIN royalties r ON c.id = r.subscription_id GROUP BY c.title;",
        "dialect": "postgres"
      },
      {
        "title": "Count Active Subscriptions by Status",
        "sql": "SELECT status, COUNT(*) FROM subscriptions GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Dispute Resolution Time Analysis",
        "sql": "SELECT AVG(DATE_PART('day', resolution_date - s.start_date)) AS avg_resolution_time FROM disputes d JOIN subscriptions s ON d.subscription_id = s.id WHERE d.status = 'resolved';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Subscription Management",
        "body": "A fintech product manager can leverage this dataset to assess the performance of various subscription plans, identifying which plans attract the most users and generate the highest revenue through royalties. By analyzing the subscription start dates and statuses, they can also uncover trends that can influence future marketing strategies."
      },
      {
        "title": "Royalty Analysis",
        "body": "Content creators and licensors can use the royalty data to evaluate how their works are performing in the market. By examining the amounts generated during specific periods, they can adjust pricing strategies and negotiate better licensing agreements based on actual consumption metrics."
      },
      {
        "title": "Dispute Resolution Improvement",
        "body": "Customer support teams can analyze disputes to identify common issues faced by users. By understanding the nature of disputes and their resolution timelines, they can implement changes to reduce the incidence of disputes and enhance overall user satisfaction."
      },
      {
        "title": "User Engagement Metrics",
        "body": "Data analysts in a fintech company can use this dataset to assess user engagement levels by correlating user sign-up dates with subscription activity. This analysis can provide insights into peak engagement periods, allowing for targeted marketing and promotional campaigns."
      }
    ]
  },
  "counts": {
    "content": 100,
    "users": 150,
    "subscriptions": 200,
    "disputes": 50,
    "royalties": 200
  },
  "stats": {
    "subscriptions": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 112,
          "min": 1,
          "max": 150
        },
        "content_id": {
          "nulls": 0,
          "distinct": 83,
          "min": 2,
          "max": 100
        },
        "start_date": {
          "nulls": 65,
          "distinct": 119,
          "min": "2023-01-23",
          "max": "2024-12-31"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "active",
          "max": "paused"
        }
      }
    },
    "royalties": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "subscription_id": {
          "nulls": 0,
          "distinct": 129,
          "min": 1,
          "max": 200
        },
        "amount": {
          "nulls": 0,
          "distinct": 198,
          "min": 0.01,
          "max": 990.74
        },
        "period_start": {
          "nulls": 0,
          "distinct": 178,
          "min": "2023-01-01",
          "max": "2024-12-29"
        },
        "period_end": {
          "nulls": 0,
          "distinct": 179,
          "min": "2023-01-05",
          "max": "2024-12-30"
        }
      }
    },
    "content": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "title": {
          "nulls": 0,
          "distinct": 100,
          "min": "Alice Meyer",
          "max": "Zoe Ruiz"
        },
        "description": {
          "nulls": 12,
          "distinct": 88
        },
        "license_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "exclusive",
          "max": "non-exclusive"
        }
      }
    },
    "users": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "full_name": {
          "nulls": 19,
          "distinct": 131,
          "min": "Alice Gomez",
          "max": "Zoe Bennett"
        },
        "email": {
          "nulls": 28,
          "distinct": 122
        },
        "sign_up_date": {
          "nulls": 0,
          "distinct": 134,
          "min": "2023-01-05",
          "max": "2024-12-29"
        }
      }
    },
    "disputes": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "subscription_id": {
          "nulls": 0,
          "distinct": 44,
          "min": 4,
          "max": 198
        },
        "issue": {
          "nulls": 0,
          "distinct": 50
        },
        "resolution_date": {
          "nulls": 12,
          "distinct": 38,
          "min": "2023-02-03",
          "max": "2024-12-29"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "escalated",
          "max": "resolved"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/content.csv",
      "format": "csv",
      "table": "content",
      "key": "datasets/digital-content-licensing-database/v2/csv/content.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/csv/content.csv",
      "bytes": 17573,
      "sha256": "d1125f668cbee8b030bd347838f77fe9403b0795bfe322104f8aea65b7e31c51",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/digital-content-licensing-database/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/csv/users.csv",
      "bytes": 6941,
      "sha256": "527eb7c30aab520d88142e89217bd579b7d424926c2a5331c05f7e9a0f78e3e5",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/subscriptions.csv",
      "format": "csv",
      "table": "subscriptions",
      "key": "datasets/digital-content-licensing-database/v2/csv/subscriptions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/csv/subscriptions.csv",
      "bytes": 5314,
      "sha256": "e6998bd322fc9e22e30eaad5b246cbe12888e99edf48e640b54dbbdb14b5e88c",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/disputes.csv",
      "format": "csv",
      "table": "disputes",
      "key": "datasets/digital-content-licensing-database/v2/csv/disputes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/csv/disputes.csv",
      "bytes": 4138,
      "sha256": "bd4fa454e3a704338c7cfbbeeac14c494be4620bf303386dda02bef9b95c9cab",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/royalties.csv",
      "format": "csv",
      "table": "royalties",
      "key": "datasets/digital-content-licensing-database/v2/csv/royalties.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/csv/royalties.csv",
      "bytes": 7363,
      "sha256": "6a5d6e10bb57f14a9c397eb281db3842c1090a877e660d08898c56eaaebba618",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "digital-content-licensing-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/digital-content-licensing-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/digital-content-licensing-database.json",
      "bytes": 113580,
      "sha256": "e384895953192e11949dfe123d78dd9917dcae7d49e7b4124d2184c26ada154c",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/sql/postgres.sql",
      "bytes": 54251,
      "sha256": "95b8809eb3757eaeb9fa4c53f60f304c9a750918b628c937ec07eddc2f1eac3f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/sql/mysql.sql",
      "bytes": 53700,
      "sha256": "5d96be1382a68a88b78db3942a50b5fc48c0c3a34d893a8fe609a675f8664d57",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/sql/mssql.sql",
      "bytes": 55597,
      "sha256": "f667071d8f88c25619c2546942936d8c7f869634b6585e197fc964d96293e6b0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/sql/sqlite.sql",
      "bytes": 53486,
      "sha256": "d4d3b547b94831272ef980b8e0cffe9a5eb4046428d85f51ce4bc9f40f7dac29",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/prisma/seed.ts",
      "bytes": 91748,
      "sha256": "58b8c2e9a045a650a88c18444cb99f32b45a426070edd7bd9fad501e32944c3e",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/digital-content-licensing-database/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/digital-content-licensing-database/v2/django/fixtures.json",
      "bytes": 143295,
      "sha256": "244477d3403872dfb4d52893f05d2bb2862ecc7808fdedb22639b4ef33cfb29e",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768575718,
  "updatedAt": 1788778336853
}
