Predict API GeoJSON

Each Feature is expected to have a "geometry" attribute whose coordinates follow the WGS84 lon/lat standard. Additionally, as part of the "properties" for each space Feature there are a few required fields:

  • id (string, required): Unique identifier for the space. In the response this ID will be provided back to identify the space.
  • name (string, optional): Name of the space.
  • capacity (integer, required): The capacity of the space.
  • normalized_space_type (enum: open_focus, enclosed_focus, open_collab, enclosed_collab; required): The normalized space type of the space.
    • Open Focus: A space without walls that typically seats 1 person (ex: desk)
    • Open Collab: A space without walls that typically seats more than 1 person (ex: lounge area)
    • Enclosed Focus: A space with walls that typically seats 1 person (ex: phone booth)
    • Enclosed Collab: A space with walls that typically seats more than 1 person (ex: conference room)

Note: Any Features that do not have a "normalized_space_type" attribute will be ignored. Those that have a normalized_space_type attribute but whose value is not one of the 4 expected will raise an error.