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.
  • space_type_category (enum: open_focus, enclosed_focus, open_collab, enclosed_collab; required): The space type category 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)
ℹ️

Space type categories were previously called normalized space types. The normalized_space_type property is still accepted as an alias for space_type_category. You can send both properties on the same Feature only if their values are the same. Different values return HTTP 400.

Note: Any Features that have neither "space_type_category" nor "normalized_space_type" will be ignored. Those whose value is not one of the 4 expected will raise an error.