Novant

Documentation

Sign in

Typedef Spaces

Lists every space type and space prop.

GET /v1/typedef/spaces
curl https://api.novant.io/v1/typedef/spaces \
  -u ak_sample_123: \
  --compressed

Any valid API key can call this endpoint, and organization keys do not need proj_id. See Typedef for details.

Parameters

None

Returns

Returns every valid space type and every space prop.

{
  "types": [
    {
      "id": "building",
      "name": "Building",
      "desc": "A standalone structure containing floors...",
      "ontology": {
        "brick": "Building",
        "rec": "Building",
        "dbo": "FACILITIES/BUILDING",
        "haystack": "site"
      }
    },
    ...
  ],
  "props": [
    {
      "id": "pressure_relationship",
      "name": "Pressure Relationship",
      "type": "text",
      "values": ["positive", "negative", "neutral"],
      "on": ["room"],
      "desc": "Required air pressure of this room..."
    },
    ...
  ]
}

See Typedef for a description of each field, and Space Types and Space Props for how they are used.