{
 "contract_version": 2,
 "facility": {
  "facility_id": "r1-10-0026",
  "level": "site",
  "parent_hub_id": null,
  "name": "Diamond Shamrock Refining Company Lp \u2014 Sunray",
  "kind": "refinery",
  "operator_reg": null,
  "status": "accepted",
  "provenance": "yaml",
  "superseded_by": null
 },
 "geo": {
  "lat": 36.0084,
  "lon": -101.8021,
  "geo_precision": "site",
  "geo_source": "eia_refinery_layer",
  "county": null
 },
 "counts": {
  "n_lines": 10,
  "n_filers": 1,
  "n_counterparties": 1,
  "first_period": "2025-01",
  "last_period": "2025-12",
  "bbl_12m_in": 0.0,
  "bbl_12m_out": 13755272.0,
  "gross_12m_in": 0.0,
  "gross_12m_out": 13755272.0
 },
 "aliases": [
  {
   "registration": "10-1183",
   "filer_name": "NUSTAR LOGISTICS",
   "raw_facility": "McKee Refinery",
   "alias_norm": "MCKEE REFINERY",
   "n_lines": 10,
   "barrels": 38152414.0,
   "first_period": "2025-01",
   "last_period": "2025-12",
   "method": "r1_rule",
   "status": "accepted"
  }
 ],
 "monthly": [
  {
   "period": "2025-01",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3474085.0,
   "n_lines": 1
  },
  {
   "period": "2025-02",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 3366735.0,
   "n_lines": 1
  },
  {
   "period": "2025-03",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4395051.0,
   "n_lines": 1
  },
  {
   "period": "2025-04",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4250548.0,
   "n_lines": 1
  },
  {
   "period": "2025-05",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4344248.0,
   "n_lines": 1
  },
  {
   "period": "2025-06",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4566475.0,
   "n_lines": 1
  },
  {
   "period": "2025-07",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4625453.0,
   "n_lines": 1
  },
  {
   "period": "2025-09",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4542007.0,
   "n_lines": 1
  },
  {
   "period": "2025-10",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 0.0,
   "n_lines": 1
  },
  {
   "period": "2025-12",
   "side": "D",
   "registration": "10-1183",
   "named_party": "Valero Marketing & Supply Co",
   "id_key": "R1:10-0026",
   "mode": null,
   "line_role": "refinery_supply",
   "bbl": 4587812.0,
   "n_lines": 1
  }
 ],
 "handoffs": [
  {
   "period": "2025-01",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 3474085.0
  },
  {
   "period": "2025-02",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 3366735.0
  },
  {
   "period": "2025-03",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4395051.0
  },
  {
   "period": "2025-04",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4250548.0
  },
  {
   "period": "2025-05",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4344248.0
  },
  {
   "period": "2025-06",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4566475.0
  },
  {
   "period": "2025-07",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4625453.0
  },
  {
   "period": "2025-09",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4542007.0
  },
  {
   "period": "2025-10",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 0.0
  },
  {
   "period": "2025-12",
   "handoff_status": "COUNTERPARTY_NOT_INGESTED",
   "n_lines": 1,
   "bbl": 4587812.0
  }
 ],
 "method_mix": [
  {
   "method": "r1_rule",
   "status": "accepted",
   "n_lines": 10,
   "bbl": 38152414.0,
   "pct_bbl": 100.0
  }
 ],
 "throughput": [
  {
   "period": "2025-01",
   "gross_in": 0.0,
   "gross_out": 3474085.0,
   "bbl_in": 0.0,
   "bbl_out": 3474085.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-02",
   "gross_in": 0.0,
   "gross_out": 3366735.0,
   "bbl_in": 0.0,
   "bbl_out": 3366735.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-03",
   "gross_in": 0.0,
   "gross_out": 4395051.0,
   "bbl_in": 0.0,
   "bbl_out": 4395051.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-04",
   "gross_in": 0.0,
   "gross_out": 4250548.0,
   "bbl_in": 0.0,
   "bbl_out": 4250548.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-05",
   "gross_in": 0.0,
   "gross_out": 4344248.0,
   "bbl_in": 0.0,
   "bbl_out": 4344248.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-06",
   "gross_in": 0.0,
   "gross_out": 4566475.0,
   "bbl_in": 0.0,
   "bbl_out": 4566475.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-07",
   "gross_in": 0.0,
   "gross_out": 4625453.0,
   "bbl_in": 0.0,
   "bbl_out": 4625453.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-09",
   "gross_in": 0.0,
   "gross_out": 4542007.0,
   "bbl_in": 0.0,
   "bbl_out": 4542007.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-10",
   "gross_in": 0.0,
   "gross_out": 0.0,
   "bbl_in": 0.0,
   "bbl_out": 0.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  },
  {
   "period": "2025-12",
   "gross_in": 0.0,
   "gross_out": 4587812.0,
   "bbl_in": 0.0,
   "bbl_out": 4587812.0,
   "n_in": 0.0,
   "n_out": 1.0,
   "filers_in": 0.0,
   "filers_out": 1.0
  }
 ],
 "throughput_rule": "gross_* is every line as filed. bbl_* counts a matched handoff once, from the delivering side, with the filer's own and its parent group's transfers left out -- the figure to sum across facilities",
 "source_filings": [
  {
   "registration": "10-1183",
   "period": "2025-01"
  },
  {
   "registration": "10-1183",
   "period": "2025-02"
  },
  {
   "registration": "10-1183",
   "period": "2025-03"
  },
  {
   "registration": "10-1183",
   "period": "2025-04"
  },
  {
   "registration": "10-1183",
   "period": "2025-05"
  },
  {
   "registration": "10-1183",
   "period": "2025-06"
  },
  {
   "registration": "10-1183",
   "period": "2025-07"
  },
  {
   "registration": "10-1183",
   "period": "2025-09"
  },
  {
   "registration": "10-1183",
   "period": "2025-10"
  },
  {
   "registration": "10-1183",
   "period": "2025-12"
  }
 ],
 "cannot": [
  {
   "field": "a throughput from any one filer's lines",
   "why": "a handoff between two held filers is on both returns. `throughput` counts it once, from the delivering side, and leaves self and intra-group lines out; `monthly` keeps every line as filed, so summing it states the same barrel twice",
   "unblocked_by": "nothing \u2014 it is what the form asks two companies to do"
  },
  {
   "field": "a coordinate for a facility with no accepted override",
   "why": "the geocoder writes proposals (t1_geo_proposal) and nothing else; a pin is an inference and only a human moves one into config/t1_facilities.yaml geo_overrides (DECISIONS.md 2.19)",
   "unblocked_by": "an accepted geo_override naming its source"
  },
  {
   "field": "a facility for an unresolved string",
   "why": "a raw facility string never becomes a node on its own; it reaches one only through the alias table or a valid R-1 id. Unresolved lines are in t1_facility_review, not here",
   "unblocked_by": "an alias in config/t1_facilities.yaml"
  },
  {
   "field": "a barrel's route inside a system",
   "why": "the T-1 loses routing inside a filer's system; tracing would be proportional mixing labelled as observation (spec \u00a710.6)",
   "unblocked_by": "nothing in this family"
  }
 ],
 "eia": [
  {
   "key": "DIAMOND SHAMROCK REFINING CO LP|SUNRAY",
   "company_name": "DIAMOND SHAMROCK REFINING CO LP",
   "site": "SUNRAY",
   "nameplate_bpcd": 195000,
   "relation": "primary"
  }
 ]
}
