Skip to content

Bietigheim-Bissingen: realtime_free_capacity is -12 #287

@AbdullahiFatola

Description

@AbdullahiFatola

We discovered that the realtime_free_capacity for the park data of Bietigheim-Bissingen has -12, which should not be. After checking the raw data that we recieved from the city, it happened that the capacity is 67 and realtime_capacity is 79. realtime_free_capacity seems to be calculated with these 2 values in the converter.

Few months ago, we amended the park-api-v3 to set same value for capacity and realtime_capacity in such case, when realtime_capacity is greater than capacity. Could we also set the realtime_free_capacity in this case as 0 to avoid negative values?

{
  "source_id": 3,
  "original_uid": "Parkhaus Löchgauer Str.",
  "name": "Parkhaus Löchgauer Str.",
  "address": "",
  "type": "CAR_PARK",
  "purpose": "CAR",
  "has_realtime_data": true,
  "static_data_updated_at": "2025-05-12T13:15:56Z",
  "realtime_data_updated_at": "2025-05-08T09:40:53Z",
  "realtime_opening_status": "OPEN",
  "lat": "48.9611100",
  "lon": "9.1266500",
  "capacity": 67,
  "realtime_capacity": 67,
  "realtime_free_capacity": -12,
  "id": 668,
  "created_at": "2025-05-12T13:15:56Z",
  "modified_at": "2025-05-12T13:18:34Z"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions