{"inputSchema":{"type":"object","properties":{"country":{"type":"string","minLength":1,"maxLength":150},"year":{"type":"integer","minimum":2015,"maximum":2025},"replacements":{"type":"integer","minimum":0,"maximum":100000},"snapshot":{"enum":["2026-11-30"]}},"required":["country","replacements"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"country":{"type":"string"},"year":{"type":"integer"},"diesel_after":{"type":"integer"},"electric_after":{"type":"integer"},"electric_share_after_pct":{"type":"number"},"flags":{"type":"string"}},"required":["country","year","diesel_after","electric_after","electric_share_after_pct","flags"]},"limitations":{"type":"string"}}},"requestExample":{"country":"DE","year":2020,"replacements":10,"snapshot":"2026-11-30"},"usageGuide":["Fleet counts and tractive power in MW; power source https://ec.europa.eu/eurostat/databrowser/view/rail_eq_locop. Eurostat rail_eq_locon, 2015–2025 edition. HALOWERK calculations, for which Eurostat is not responsible."],"outputExample":{"measured_at":"2026-11-30T11:01:59Z","source":{"reference":"https://ec.europa.eu/eurostat/databrowser/view/rail_eq_locon/default/table?lang=en","retrieved_at":"2026-11-30T11:01:59Z"},"data":{"country":"DE","year":2020,"diesel_after":2248,"electric_after":2323,"electric_share_after_pct":50.82,"flags":"b"},"limitations":"Fleet counts and tractive power in MW; power source https://ec.europa.eu/eurostat/databrowser/view/rail_eq_locop. Eurostat rail_eq_locon, 2015–2025 edition. HALOWERK calculations, for which Eurostat is not responsible."},"tags":["railway traction","locomotive fleet","railcars","rail statistics"],"price_usdc":"0.005"}