Skip to content

Conversation

@sargunv
Copy link
Contributor

@sargunv sargunv commented Oct 21, 2025

Reverts #805

My bad; I saw "version": "1.0" in the feed and assumed it was a valid GBFS v1 feed, but it's actually not conformant to v1.

For example: https://data.lime.bike/api/partners/v1/gbfs/seattle/station_status

{
    "last_updated": 1761008760,
    "ttl": 0,
    "version": "1.0",
    "data": {
        "stations": [
            {
                "station_id": "seattle",
                "num_vehicles_available": 11849, // should be num_bikes_available in v1
                "num_docks_available": 999999,
                "is_installed": true, // should be 1|0 in v1
                "is_renting": true,
                "is_returning": true,
                "last_reported": 1761008760
            }
        ]
    }
}

@mplsmitch
Copy link
Collaborator

Unfortunately, none of Lime's feeds follow the specification. If you look at their v2 feeds you will see the same garbage data that's in your example in every city. They don't seem to understand that station_information.json and station_status.json should not be included in feeds from dockless systems that don't have any stations. This has been the case for years.

@sargunv sargunv closed this Oct 21, 2025
@sargunv sargunv deleted the revert-805-patch-1 branch October 21, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants