Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

API - team json - "zip code" is string not always a number #387

@lancelarsen

Description

@lancelarsen

"zip code" is string not number
In the api models, "zip code" is listed as being a "number" - but at least one value coming back in json is non-numeric as our json deserializer complained about zip - so there must be a non-numeric in the data set. Believe that the model docs just need to be updated.

{"team_key":"18599","region_key":"MO","league_key":null,"team_number":18599,"team_name_short":"OFHS Team 5","team_name_long":"Orchard Farm High School","robot_name":null,"last_active":"2021","city":"Saint Charles","state_prov":"MO","zip_code":"63301","country":"USA","rookie_year":2020,"website":null}

Looks like the only values not coming back in quotes that we see in the json are "team_number" and "rookie_year"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions