{
  "schemaVersion": 1,
  "fixture": {
    "name": "Pagila Rental Constellation",
    "file": "pagila-rental-constellation.json",
    "mediaType": "application/json",
    "bytes": 14316401,
    "sha256": "83281cc7936bf37a8f9a232ab1f468b4b4fe5664edb6a01d5b176dcb00c7ae4a",
    "schemaScope": {
      "kind": "reduced",
      "tableCount": 6,
      "includedTables": [
        "categories",
        "stores",
        "customers",
        "films",
        "rentals",
        "payments"
      ],
      "description": "Six analytical tables derived from the Pagila Rental Facts fixture; this is not the complete upstream Pagila schema."
    },
    "factCoverage": {
      "rentals": {
        "rowCount": 51805,
        "description": "All rental facts from the Pagila Rental Facts fixture."
      },
      "payments": {
        "rowCount": 51056,
        "description": "All non-empty rental-level aggregate payment facts from the Pagila Rental Facts fixture; this is not the upstream payment-table grain."
      },
      "totalRevenue": "170962.39"
    },
    "tables": {
      "categories": {
        "rowCount": 16
      },
      "stores": {
        "rowCount": 2
      },
      "customers": {
        "rowCount": 997
      },
      "films": {
        "rowCount": 958
      },
      "rentals": {
        "rowCount": 51805
      },
      "payments": {
        "rowCount": 51056
      }
    },
    "relationships": [
      "films.category_name -> categories.category_name",
      "rentals.store_id -> stores.store_id",
      "rentals.customer_id -> customers.customer_id",
      "rentals.film_id -> films.film_id",
      "payments.rental_id -> rentals.rental_id"
    ]
  },
  "source": {
    "file": "pagila-rental-facts.csv",
    "bytes": 11138814,
    "sha256": "0e7a033d85e4e5657e2fefd5e81f68c7c067de92a43e3dae4b96ad75aef4a2ee",
    "provenance": "SOURCE.json",
    "licence": "LICENSE.txt"
  },
  "derivation": {
    "id": "pagila-rental-constellation-v1",
    "generator": "scripts/build-pagila-constellation-fixture.mjs",
    "description": "A deterministic relational projection of the public Pagila rental-facts fixture for ROKKS File Areas constellation demonstrations.",
    "paymentGrain": "One aggregate payment row per rental with a non-zero amount or payment date; payment_id equals rental_id.",
    "serialization": "Compact UTF-8 JSON with one final newline and deterministic table/row ordering.",
    "confidentiality": "Derived exclusively from the public Pagila fixture; no ROKKS vault or customer data is used."
  }
}
