{
 "$schema": "https://datapackage.org/profiles/2.0/datapackage.json",
 "name": "the-physical-record",
 "title": "The Physical Record: the Gulf war's damage, flow, reporting and trading",
 "homepage": "https://wowverybadthingarehappeningnow.com/#dataroom",
 "version": "1.0.0",
 "resources": [
  {
   "name": "sites",
   "path": "sites.csv",
   "title": "Sites",
   "description": "Every Gulf energy site the record measures, with the box its fire heat is counted in.",
   "sources": [
    {
     "title": "Gulf Oil and Gas Damage Ledger v1.5; scripts/ledger_pass1.py site boxes"
    }
   ],
   "schema": {
    "primaryKey": [
     "site_id"
    ],
    "fields": [
     {
      "name": "site_id",
      "type": "string",
      "description": "Stable id, used in every table",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "name",
      "type": "string",
      "description": "Name for display",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "country",
      "type": "string",
      "description": "Country",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "kind",
      "type": "string",
      "description": "Kind of site"
     },
     {
      "name": "function",
      "type": "string",
      "description": "What the site does for the flow"
     },
     {
      "name": "prewar_throughput",
      "type": "number",
      "description": "Throughput before the war"
     },
     {
      "name": "prewar_unit",
      "type": "string",
      "description": "Unit of prewar_throughput"
     },
     {
      "name": "lat",
      "type": "number",
      "description": "Latitude, degrees north",
      "constraints": {
       "required": true,
       "minimum": 10,
       "maximum": 35
      }
     },
     {
      "name": "lon",
      "type": "number",
      "description": "Longitude, degrees east",
      "constraints": {
       "required": true,
       "minimum": 30,
       "maximum": 65
      }
     },
     {
      "name": "box_west",
      "type": "number",
      "description": "Heat box, west edge, degrees east"
     },
     {
      "name": "box_south",
      "type": "number",
      "description": "Heat box, south edge, degrees north"
     },
     {
      "name": "box_east",
      "type": "number",
      "description": "Heat box, east edge, degrees east"
     },
     {
      "name": "box_north",
      "type": "number",
      "description": "Heat box, north edge, degrees north"
     },
     {
      "name": "parade_rank",
      "type": "integer",
      "description": "Order in the parade of damage: what the site does for the flow, largest first",
      "constraints": {
       "minimum": 1,
       "unique": true
      }
     },
     {
      "name": "reading",
      "type": "string",
      "description": "The physical reading, from the Damage Ledger"
     },
     {
      "name": "record_text",
      "type": "string",
      "description": "What the record shows at the site, from the Damage Ledger"
     },
     {
      "name": "cannot_see",
      "type": "string",
      "description": "What the instruments cannot see at the site"
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "terminals",
   "path": "terminals.csv",
   "title": "Terminals",
   "description": "Terminals and anchorages where radar counts ships, with the box counted.",
   "sources": [
    {
     "title": "Damage Ledger scripts/gfw_berths.py boxes"
    }
   ],
   "schema": {
    "primaryKey": [
     "terminal_id"
    ],
    "foreignKeys": [
     {
      "fields": [
       "site_id"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "terminal_id",
      "type": "string",
      "description": "Stable id",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "name",
      "type": "string",
      "description": "Name for display",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "country",
      "type": "string",
      "description": "Country",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "site_id",
      "type": "string",
      "description": "The site the terminal belongs to, where it has one"
     },
     {
      "name": "box_west",
      "type": "number",
      "description": "West edge, degrees east",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "box_south",
      "type": "number",
      "description": "South edge, degrees north",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "box_east",
      "type": "number",
      "description": "East edge, degrees east",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "box_north",
      "type": "number",
      "description": "North edge, degrees north",
      "constraints": {
       "required": true
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "routes",
   "path": "routes.csv",
   "title": "Routes out of the Gulf",
   "description": "Each route crude and gas leave the Gulf by: what it carried before the war and what the evidence shows now.",
   "sources": [
    {
     "title": "Gulf Oil and Gas Damage Ledger v1.5, What leaves the Gulf now"
    }
   ],
   "schema": {
    "primaryKey": [
     "route_id"
    ],
    "foreignKeys": [
     {
      "fields": [
       "from_site"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     },
     {
      "fields": [
       "to_site"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "route_id",
      "type": "string",
      "description": "Stable id",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "name",
      "type": "string",
      "description": "Name for display",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "kind",
      "type": "string",
      "description": "pipeline, sea_lane or terminal",
      "constraints": {
       "required": true,
       "enum": [
        "pipeline",
        "sea_lane",
        "terminal"
       ]
      }
     },
     {
      "name": "from_site",
      "type": "string",
      "description": "Site the route starts at"
     },
     {
      "name": "to_site",
      "type": "string",
      "description": "Site the route ends at"
     },
     {
      "name": "prewar_mbd",
      "type": "number",
      "description": "Flow before the war, million barrels a day",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "prewar_basis",
      "type": "string",
      "description": "What the prewar figure is"
     },
     {
      "name": "now_low_mbd",
      "type": "number",
      "description": "Flow now, low end, million barrels a day",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "now_high_mbd",
      "type": "number",
      "description": "Flow now, high end, million barrels a day",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "counted_in_total",
      "type": "boolean",
      "description": "Whether the route counts toward the 3-7 mb/d of Gulf crude reaching the world",
      "trueValues": [
       "True",
       "true"
      ],
      "falseValues": [
       "False",
       "false"
      ]
     },
     {
      "name": "evidence",
      "type": "string",
      "description": "The evidence for the figure now",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "reading",
      "type": "string",
      "description": "The physical reading",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "source_url",
      "type": "string",
      "description": "The main source"
     },
     {
      "name": "path",
      "type": "string",
      "description": "The route as drawn on the map, schematically: longitude and latitude pairs separated by semicolons"
     },
     {
      "name": "cut_on",
      "type": "date",
      "description": "The day the route was cut, where the record dates it"
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "sources",
   "path": "sources.csv",
   "title": "Sources",
   "description": "Every source the record reads: what it measures, what it cannot see, and how it is pulled.",
   "sources": [
    {
     "title": "The Physical Record: Design Theory v2, section 3"
    }
   ],
   "schema": {
    "primaryKey": [
     "source_id"
    ],
    "fields": [
     {
      "name": "source_id",
      "type": "string",
      "description": "Stable id",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "publisher",
      "type": "string",
      "description": "Publisher",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "title",
      "type": "string",
      "description": "What is used",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "url",
      "type": "string",
      "description": "Where it is published",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "measures",
      "type": "string",
      "description": "What it measures",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "cannot_see",
      "type": "string",
      "description": "What it cannot see"
     },
     {
      "name": "cadence",
      "type": "string",
      "description": "How often it publishes"
     },
     {
      "name": "pulled_how",
      "type": "string",
      "description": "How the record gets it"
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "site_heat_daily",
   "path": "site_heat_daily.csv",
   "title": "Fire heat by site, day and pass",
   "description": "VIIRS fire radiative power inside each site's box, summed per local day and pass, three satellites. Off-flare heat excludes 375 m cells lit on at least 15% of baseline nights.",
   "sources": [
    {
     "title": "NASA FIRMS VIIRS active fires",
     "path": "https://firms.modaps.eosdis.nasa.gov/"
    }
   ],
   "x_date_field": "date",
   "x_fresh_days": 3,
   "schema": {
    "primaryKey": [
     "date",
     "site_id",
     "pass"
    ],
    "foreignKeys": [
     {
      "fields": [
       "site_id"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "Local date of the pass",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "site_id",
      "type": "string",
      "description": "Site",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "pass",
      "type": "string",
      "description": "day or night",
      "constraints": {
       "required": true,
       "enum": [
        "day",
        "night"
       ]
      }
     },
     {
      "name": "frp_mw",
      "type": "number",
      "description": "Fire radiative power, all detections, MW",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "detections",
      "type": "integer",
      "description": "Detections",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "offflare_frp_mw",
      "type": "number",
      "description": "Fire radiative power away from the routine flare cells, MW",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "offflare_detections",
      "type": "integer",
      "description": "Detections away from the flare cells",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "saturated_pixels",
      "type": "integer",
      "description": "Detections with bright_ti4 at or above 367 K, the sensor's saturation",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "site_baseline",
   "path": "site_baseline.csv",
   "title": "Each site's peacetime heat",
   "description": "Each site's daily fire heat from 1 January 2025 to 28 January 2026, the record every war day is judged against.",
   "sources": [
    {
     "title": "site_heat_daily"
    }
   ],
   "schema": {
    "primaryKey": [
     "site_id",
     "pass"
    ],
    "foreignKeys": [
     {
      "fields": [
       "site_id"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "site_id",
      "type": "string",
      "description": "Site",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "pass",
      "type": "string",
      "description": "day or night",
      "constraints": {
       "required": true,
       "enum": [
        "day",
        "night"
       ]
      }
     },
     {
      "name": "flare_cells",
      "type": "integer",
      "description": "375 m cells lit on at least 15% of baseline nights",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "median_frp_mw",
      "type": "number",
      "description": "Median daily heat, MW",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "p99_frp_mw",
      "type": "number",
      "description": "99th percentile of daily heat, MW",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "max_frp_mw",
      "type": "number",
      "description": "Highest daily heat, MW",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "baseline_from",
      "type": "date",
      "description": "First day of the baseline",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "baseline_to",
      "type": "date",
      "description": "Last day of the baseline",
      "constraints": {
       "required": true
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "ships_monthly",
   "path": "ships_monthly.csv",
   "title": "Ships at each terminal, by month",
   "description": "Sentinel-1 radar vessel detections inside each terminal's box, AIS on or off, against the August-December 2025 normal.",
   "sources": [
    {
     "title": "Global Fishing Watch, public-global-sar-presence",
     "path": "https://globalfishingwatch.org/our-apis/"
    }
   ],
   "x_date_field": "month",
   "x_fresh_days": 40,
   "schema": {
    "primaryKey": [
     "month",
     "terminal_id"
    ],
    "foreignKeys": [
     {
      "fields": [
       "terminal_id"
      ],
      "reference": {
       "resource": "terminals",
       "fields": [
        "terminal_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "month",
      "type": "yearmonth",
      "description": "Month",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "terminal_id",
      "type": "string",
      "description": "Terminal",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "ships_all",
      "type": "integer",
      "description": "Ship detections",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "ships_tanker",
      "type": "integer",
      "description": "Detections matched to a tanker",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "ships_other",
      "type": "integer",
      "description": "Detections matched to another vessel type",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "ships_unmatched",
      "type": "integer",
      "description": "Detections matched to no AIS identity",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "days_counted",
      "type": "integer",
      "description": "Days of the month counted",
      "constraints": {
       "required": true,
       "minimum": 1,
       "maximum": 31
      }
     },
     {
      "name": "ships_per_day",
      "type": "number",
      "description": "Detections per day",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "share_of_normal_pct",
      "type": "number",
      "description": "Ships per day as a percentage of the August-December 2025 average",
      "constraints": {
       "minimum": 0
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "prices_daily",
   "path": "prices_daily.csv",
   "title": "Dated Brent, front-month futures and the 10-year yield",
   "description": "One row per day on which any of the three has a value, from 2007.",
   "sources": [
    {
     "title": "EIA RBRTE",
     "path": "https://www.eia.gov/dnav/pet/hist/RBRTED.htm"
    },
    {
     "title": "ICE Brent Crude Futures settlements",
     "path": "https://www.ice.com/products/219/Brent-Crude-Futures"
    },
    {
     "title": "Yahoo Finance BZ=F, where ICE files do not cover a date"
    },
    {
     "title": "FRED DGS10",
     "path": "https://fred.stlouisfed.org/series/DGS10"
    }
   ],
   "x_date_field": "date",
   "x_fresh_days": 5,
   "schema": {
    "primaryKey": [
     "date"
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "Trading day",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "dated_brent_usd_bbl",
      "type": "number",
      "description": "Dated Brent, US dollars a barrel",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "front_future_usd_bbl",
      "type": "number",
      "description": "Front-month Brent futures settlement, US dollars a barrel",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "front_contract",
      "type": "string",
      "description": "The front contract month, where ICE files give it"
     },
     {
      "name": "future_source",
      "type": "string",
      "description": "ice_settlement or yahoo_bz=f",
      "constraints": {
       "enum": [
        "ice_settlement",
        "yahoo_bz=f"
       ]
      }
     },
     {
      "name": "ust10y_pct",
      "type": "number",
      "description": "10-year Treasury yield, percent",
      "constraints": {
       "minimum": 0,
       "maximum": 25
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "contracts_vs_delivered",
   "path": "contracts_vs_delivered.csv",
   "title": "Each contract against the oil it priced",
   "description": "Each ICE Brent contract month's last settlement against the average Dated Brent over its delivery month.",
   "sources": [
    {
     "title": "ICE settlement history"
    },
    {
     "title": "prices_daily"
    }
   ],
   "schema": {
    "primaryKey": [
     "contract"
    ],
    "fields": [
     {
      "name": "contract",
      "type": "string",
      "description": "Contract month, as ICE writes it",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "delivery_month",
      "type": "yearmonth",
      "description": "Month the oil is delivered",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "last_trade_date",
      "type": "date",
      "description": "Last trading day: ICE's last settlement once expired, otherwise the calendar estimate",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "expired",
      "type": "boolean",
      "description": "Whether ICE has stopped settling the contract",
      "trueValues": [
       "True",
       "true"
      ],
      "falseValues": [
       "False",
       "false"
      ]
     },
     {
      "name": "last_settle_date",
      "type": "date",
      "description": "Date of the latest settlement",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "last_settle_usd_bbl",
      "type": "number",
      "description": "Latest settlement, US dollars a barrel",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "delivered_avg_usd_bbl",
      "type": "number",
      "description": "Average Dated Brent over the delivery month, every day EIA published",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "delivered_days",
      "type": "integer",
      "description": "Days of Dated Brent in the average",
      "constraints": {
       "required": true,
       "minimum": 0,
       "maximum": 23
      }
     },
     {
      "name": "delivery_month_complete",
      "type": "boolean",
      "description": "Whether the delivery month has ended",
      "trueValues": [
       "True",
       "true"
      ],
      "falseValues": [
       "False",
       "false"
      ]
     },
     {
      "name": "error_usd_bbl",
      "type": "number",
      "description": "Delivered average minus last settlement, US dollars a barrel; expired contracts only"
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "cot_weekly",
   "path": "cot_weekly.csv",
   "title": "ICE Brent positions by trader group",
   "description": "ICE Futures Europe Commitments of Traders, ICE Brent Crude Futures, Tuesday positions, 2011 onward.",
   "sources": [
    {
     "title": "ICE Commitments of Traders",
     "path": "https://www.ice.com/publicdocs/futures/COTHist2026.csv"
    }
   ],
   "x_date_field": "date",
   "x_fresh_days": 11,
   "x_groups_sum_to_zero": "net_contracts",
   "schema": {
    "primaryKey": [
     "date",
     "group"
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "Report date (Tuesday positions)",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "group",
      "type": "string",
      "description": "Trader group",
      "constraints": {
       "required": true,
       "enum": [
        "producer_merchant",
        "swap_dealer",
        "managed_money",
        "other_reportable",
        "non_reportable"
       ]
      }
     },
     {
      "name": "long_contracts",
      "type": "integer",
      "description": "Long positions, contracts of 1,000 barrels",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "short_contracts",
      "type": "integer",
      "description": "Short positions, contracts",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "spread_contracts",
      "type": "integer",
      "description": "Spread positions, contracts; not reported for producers or small traders",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "net_contracts",
      "type": "integer",
      "description": "Long minus short, contracts",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "traders_long",
      "type": "integer",
      "description": "Traders holding longs",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "traders_short",
      "type": "integer",
      "description": "Traders holding shorts",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "open_interest_contracts",
      "type": "integer",
      "description": "Open interest, all groups",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "cot_pnl_weekly",
   "path": "cot_pnl_weekly.csv",
   "title": "Each trader group's futures profit and loss, week by week",
   "description": "Net position on a report date times the change in the front-month settlement to the next report date, times 1,000 barrels.",
   "sources": [
    {
     "title": "cot_weekly"
    },
    {
     "title": "prices_daily"
    }
   ],
   "x_date_field": "date",
   "x_fresh_days": 18,
   "schema": {
    "primaryKey": [
     "date",
     "group"
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "Report date the position is held from",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "next_report_date",
      "type": "date",
      "description": "Next report date",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "group",
      "type": "string",
      "description": "Trader group",
      "constraints": {
       "required": true,
       "enum": [
        "producer_merchant",
        "swap_dealer",
        "managed_money",
        "other_reportable",
        "non_reportable"
       ]
      }
     },
     {
      "name": "net_contracts",
      "type": "integer",
      "description": "Net position, contracts",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "futures_usd_bbl",
      "type": "number",
      "description": "Front-month settlement on the report date, US dollars a barrel",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "futures_next_usd_bbl",
      "type": "number",
      "description": "Front-month settlement on the next report date",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "futures_change_usd_bbl",
      "type": "number",
      "description": "Change between the two, US dollars a barrel",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "pnl_usd",
      "type": "integer",
      "description": "Profit or loss over the week, US dollars",
      "constraints": {
       "required": true
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "futures_eod",
   "path": "futures_eod.csv",
   "title": "ICE Brent futures by contract month, daily",
   "description": "ICE end-of-day report 10: settlement, volume, open interest and EFP volume for every contract month.",
   "sources": [
    {
     "title": "ICE Futures Europe report 10",
     "path": "https://www.ice.com/report/10"
    }
   ],
   "x_date_field": "date",
   "x_fresh_days": 7,
   "schema": {
    "primaryKey": [
     "date",
     "contract"
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "Report date",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "contract",
      "type": "string",
      "description": "Contract month, as ICE writes it",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "settle_usd_bbl",
      "type": "number",
      "description": "Settlement, US dollars a barrel",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "change_usd_bbl",
      "type": "number",
      "description": "Change on the day, US dollars a barrel"
     },
     {
      "name": "volume_contracts",
      "type": "integer",
      "description": "Contracts traded",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "open_interest_contracts",
      "type": "integer",
      "description": "Open interest; posted the next business day",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "oi_change_contracts",
      "type": "integer",
      "description": "Change in open interest"
     },
     {
      "name": "efp_contracts",
      "type": "integer",
      "description": "Exchange for physical: futures swapped for cargoes",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "efs_contracts",
      "type": "integer",
      "description": "Exchange for swaps",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "block_contracts",
      "type": "integer",
      "description": "Block trades",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "spread_contracts",
      "type": "integer",
      "description": "Spread trades",
      "constraints": {
       "minimum": 0
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "options_by_strike",
   "path": "options_by_strike.csv",
   "title": "Options on ICE Brent futures, by strike",
   "description": "ICE end-of-day report 166: settlement, volume and open interest for every option line.",
   "sources": [
    {
     "title": "ICE Futures Europe report 166",
     "path": "https://www.ice.com/report/166"
    },
    {
     "title": "futures_eod"
    }
   ],
   "x_date_field": "date",
   "x_fresh_days": 7,
   "schema": {
    "primaryKey": [
     "date",
     "contract",
     "put_call",
     "strike_usd_bbl"
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "Report date",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "contract",
      "type": "string",
      "description": "Underlying contract month",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "put_call",
      "type": "string",
      "description": "P or C",
      "constraints": {
       "required": true,
       "enum": [
        "P",
        "C"
       ]
      }
     },
     {
      "name": "strike_usd_bbl",
      "type": "number",
      "description": "Strike, US dollars a barrel",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "strike_pct_of_future",
      "type": "number",
      "description": "Strike as a percentage of the same month's futures settlement that day",
      "constraints": {
       "minimum": 0
      }
     },
     {
      "name": "delta",
      "type": "number",
      "description": "Delta",
      "constraints": {
       "minimum": -1,
       "maximum": 1
      }
     },
     {
      "name": "settle_usd_bbl",
      "type": "number",
      "description": "Option settlement, US dollars a barrel",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "volume_contracts",
      "type": "integer",
      "description": "Contracts traded",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "open_interest_contracts",
      "type": "integer",
      "description": "Open interest",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "oi_change_contracts",
      "type": "integer",
      "description": "Change in open interest",
      "constraints": {
       "required": true
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "observation_effort",
   "path": "observation_effort.csv",
   "title": "Whether each site could be seen, each night pass",
   "description": "NOAA-21 VIIRS L2 fire masks over a window about 12 km by 6 km on each site, by pixel class. A pass is observed when cloud covers under 30% of processed pixels. Covers 1 August to 15 October in 2025 and 2026.",
   "sources": [
    {
     "title": "NASA VIIRS L2 active fire, VJ214IMG v002",
     "path": "https://ladsweb.modaps.eosdis.nasa.gov/"
    }
   ],
   "x_date_field": "date",
   "schema": {
    "primaryKey": [
     "site_id",
     "pass_start_utc"
    ],
    "foreignKeys": [
     {
      "fields": [
       "site_id"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "date",
      "type": "date",
      "description": "UTC date of the pass",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "pass_start_utc",
      "type": "string",
      "description": "Granule start, UTC, YYYY-MM-DDTHH:MM",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "site_id",
      "type": "string",
      "description": "Site",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "granule",
      "type": "string",
      "description": "NASA granule file name",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "window_pixels",
      "type": "integer",
      "description": "Pixels in the window",
      "constraints": {
       "required": true,
       "minimum": 1
      }
     },
     {
      "name": "not_processed",
      "type": "integer",
      "description": "Pixels not processed",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "bowtie",
      "type": "integer",
      "description": "Bowtie-deleted pixels",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "cloud",
      "type": "integer",
      "description": "Cloud pixels",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "clear_land",
      "type": "integer",
      "description": "Clear land pixels",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "water_glint_unclassified",
      "type": "integer",
      "description": "Water, sun glint or unclassified pixels",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "fire",
      "type": "integer",
      "description": "Fire pixels, any confidence",
      "constraints": {
       "required": true,
       "minimum": 0
      }
     },
     {
      "name": "cloud_pct",
      "type": "number",
      "description": "Cloud as a share of processed pixels, percent",
      "constraints": {
       "minimum": 0,
       "maximum": 100
      }
     },
     {
      "name": "observed",
      "type": "boolean",
      "description": "Whether cloud covered under 30%",
      "trueValues": [
       "True",
       "true"
      ],
      "falseValues": [
       "False",
       "false"
      ]
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "radar_change",
   "path": "radar_change.csv",
   "title": "Radar change around each fire",
   "description": "Sentinel-1 VV backscatter change between the last scene before each fire episode and the first after, ranked against every same-orbit pair at that site in 2025.",
   "sources": [
    {
     "title": "Sentinel-1 RTC, Microsoft Planetary Computer",
     "path": "https://planetarycomputer.microsoft.com/dataset/sentinel-1-rtc"
    }
   ],
   "x_date_field": "episode_date",
   "schema": {
    "primaryKey": [
     "site_id",
     "episode_date"
    ],
    "foreignKeys": [
     {
      "fields": [
       "site_id"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "episode_date",
      "type": "date",
      "description": "First day of the fire episode",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "site_id",
      "type": "string",
      "description": "Site",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "orbit",
      "type": "integer",
      "description": "Relative orbit",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "scene_before",
      "type": "date",
      "description": "Date of the scene before",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "scene_after",
      "type": "date",
      "description": "Date of the scene after",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "changed_3db_pct",
      "type": "number",
      "description": "Pixels whose VV changed by 3 dB or more either way, percent",
      "constraints": {
       "required": true,
       "minimum": 0,
       "maximum": 100
      }
     },
     {
      "name": "dropped_3db_pct",
      "type": "number",
      "description": "Pixels whose VV fell by 3 dB or more, percent",
      "constraints": {
       "required": true,
       "minimum": 0,
       "maximum": 100
      }
     },
     {
      "name": "rose_3db_pct",
      "type": "number",
      "description": "Pixels whose VV rose by 3 dB or more, percent",
      "constraints": {
       "required": true,
       "minimum": 0,
       "maximum": 100
      }
     },
     {
      "name": "median_vh_change_db",
      "type": "number",
      "description": "Median VH change, dB"
     },
     {
      "name": "null_pairs_2025",
      "type": "integer",
      "description": "Same-orbit 2025 pairs in the null",
      "constraints": {
       "required": true,
       "minimum": 1
      }
     },
     {
      "name": "null_median_pct",
      "type": "number",
      "description": "Median changed_3db_pct among the 2025 pairs",
      "constraints": {
       "minimum": 0,
       "maximum": 100
      }
     },
     {
      "name": "rank_among_2025_pct",
      "type": "number",
      "description": "Percentile of this change among the 2025 pairs",
      "constraints": {
       "required": true,
       "minimum": 0,
       "maximum": 100
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "events",
   "path": "events.csv",
   "title": "The record, day by day",
   "description": "Every dated entry of the timeline, each with a link to its source. Entered from The Record, Day by Day v1.",
   "sources": [
    {
     "title": "The Record, Day by Day v1, 17 October 2026"
    }
   ],
   "x_date_field": "happened_on",
   "schema": {
    "primaryKey": [
     "event_id"
    ],
    "foreignKeys": [
     {
      "fields": [
       "site_id"
      ],
      "reference": {
       "resource": "sites",
       "fields": [
        "site_id"
       ]
      }
     },
     {
      "fields": [
       "route_id"
      ],
      "reference": {
       "resource": "routes",
       "fields": [
        "route_id"
       ]
      }
     },
     {
      "fields": [
       "source_id"
      ],
      "reference": {
       "resource": "sources",
       "fields": [
        "source_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "event_id",
      "type": "string",
      "description": "Stable id",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "date_text",
      "type": "string",
      "description": "The date as the source text gives it",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "happened_on",
      "type": "date",
      "description": "First day it happened; for 'early', 'mid' and 'late' a month, the 1st, 11th and 21st",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "happened_to",
      "type": "date",
      "description": "Last day, for an entry spanning days"
     },
     {
      "name": "reported_on",
      "type": "date",
      "description": "Day first reported, where later than it happened"
     },
     {
      "name": "lane",
      "type": "string",
      "description": "Timeline lane",
      "constraints": {
       "required": true,
       "enum": [
        "damage",
        "struck",
        "counting",
        "said",
        "trading",
        "price"
       ]
      }
     },
     {
      "name": "site_id",
      "type": "string",
      "description": "Site"
     },
     {
      "name": "route_id",
      "type": "string",
      "description": "Route"
     },
     {
      "name": "summary",
      "type": "string",
      "description": "What happened",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "quote",
      "type": "string",
      "description": "The source's own words"
     },
     {
      "name": "speaker",
      "type": "string",
      "description": "Who said it"
     },
     {
      "name": "source_id",
      "type": "string",
      "description": "Source",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "source_url",
      "type": "string",
      "description": "Link to the source",
      "constraints": {
       "required": true
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  },
  {
   "name": "counting_changes",
   "path": "counting_changes.csv",
   "title": "How the trackers changed their counting",
   "description": "Each change in how a tracker counts Gulf oil, in the tracker's own words.",
   "sources": [
    {
     "title": "Kpler explainers of 27 August and 29 September; TankerTrackers; Vortexa"
    }
   ],
   "x_date_field": "date",
   "schema": {
    "primaryKey": [
     "change_id"
    ],
    "foreignKeys": [
     {
      "fields": [
       "tracker"
      ],
      "reference": {
       "resource": "sources",
       "fields": [
        "source_id"
       ]
      }
     }
    ],
    "fields": [
     {
      "name": "change_id",
      "type": "string",
      "description": "Stable id",
      "constraints": {
       "required": true,
       "unique": true
      }
     },
     {
      "name": "date_text",
      "type": "string",
      "description": "The date as the source text gives it",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "date",
      "type": "date",
      "description": "Date of the change",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "tracker",
      "type": "string",
      "description": "Tracker",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "change",
      "type": "string",
      "description": "What changed",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "quote",
      "type": "string",
      "description": "The tracker's own words"
     },
     {
      "name": "effect",
      "type": "string",
      "description": "What the change does to the published number",
      "constraints": {
       "required": true
      }
     },
     {
      "name": "source_url",
      "type": "string",
      "description": "Link to the source",
      "constraints": {
       "required": true
      }
     }
    ],
    "missingValues": [
     ""
    ]
   },
   "profile": "tabular-data-resource",
   "format": "csv",
   "mediatype": "text/csv",
   "encoding": "utf-8"
  }
 ]
}