{"inputSchema":{"type":"object","properties":{"country":{"type":"string","minLength":1,"maxLength":150},"year":{"type":"integer","minimum":2015,"maximum":2025},"snapshot":{"enum":["2026-11-30"]}},"required":["country"],"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"},"electric":{"type":"integer"},"all_locomotives":{"type":"integer"},"electric_pct":{"type":"number"},"flags":{"type":"string"}},"required":["country","year","electric","all_locomotives","electric_pct","flags"]},"limitations":{"type":"string"}}},"requestExample":{"country":"DE","year":2020,"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,"electric":2313,"all_locomotives":4571,"electric_pct":50.602,"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"}