{"id":48620880,"url":"https://github.com/catenarytransit/vehicles","last_synced_at":"2026-04-09T03:35:56.763Z","repository":{"id":282220939,"uuid":"947846518","full_name":"catenarytransit/vehicles","owner":"catenarytransit","description":"Open source database of vehicle data. Designed to work with catenarytransit/catenary-backend","archived":false,"fork":false,"pushed_at":"2025-09-24T22:33:05.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-24T06:35:02.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catenarytransit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"catenarymaps"}},"created_at":"2025-03-13T10:41:11.000Z","updated_at":"2025-09-11T19:21:30.000Z","dependencies_parsed_at":"2025-03-29T19:18:54.968Z","dependency_job_id":"bc7b1493-c0ee-4739-8b3d-c289560f4a66","html_url":"https://github.com/catenarytransit/vehicles","commit_stats":null,"previous_names":["catenarytransit/vehicles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/catenarytransit/vehicles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fvehicles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fvehicles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fvehicles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fvehicles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catenarytransit","download_url":"https://codeload.github.com/catenarytransit/vehicles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fvehicles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-09T03:35:54.232Z","updated_at":"2026-04-09T03:35:56.756Z","avatar_url":"https://github.com/catenarytransit.png","language":"Rust","funding_links":["https://opencollective.com/catenarymaps"],"categories":[],"sub_categories":[],"readme":"# Catenary Vehicles\n\nOpen source database of vehicle data. Designed to work with catenarytransit/catenary-backend. \n\n## Schema\n\nQuite simple.\n\n```rust\npub struct RootOfVehicleFile {\n    pub vehicles: Vec\u003cVehicleType\u003e\n}\n\npub struct VehicleType {\n    pub manufacturer: String,\n    pub model: String,\n    pub roster: Vec\u003cRoster\u003e\n}\n\npub struct Roster {\n    pub fleet_selection: FleetSelector,\n    pub engine: Option\u003cString\u003e,\n    pub transmission: Option\u003cString\u003e,\n    pub notes: Option\u003cString\u003e,\n    pub years: Option\u003cVec\u003cu16\u003e\u003e,\n    pub division: Option\u003cString\u003e\n}\n\n//range numbers are inclusive on both sides.\n//for example, to iterate, do\n//for i in start_number..=end_number\npub struct FleetSelector {\n    pub start_number: Option\u003cu32\u003e,\n    pub end_number: Option\u003cu32\u003e,\n    pub start_text: Option\u003cString\u003e,\n    pub end_text: Option\u003cString\u003e,\n    pub use_numeric_sorting: bool\n}\n```\n\nMore fields can be added if people request them.\n\n## Check validity\n\n```bash\ncargo run\n```\n\n## Language\n\nThe notes must be in the language of the local agency. Adding English or another language is optional. For example, Agencies in Quebec should use French.\nOttawa notes should be bilingual. Belgium buses should be in French and Dutch.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatenarytransit%2Fvehicles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatenarytransit%2Fvehicles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatenarytransit%2Fvehicles/lists"}