Johnson Controls · Schema

spacesInTree

Building AutomationEnergy StorageFire & SecurityHVACSmart BuildingsFortune 100

Properties

Name Type Description
items array Collection of spaces.
self string A link to this space tree.
View JSON Schema on GitHub

JSON Schema

johnson-controls-spaces-in-tree-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/johnson-controls/json-schema/johnson-controls-spaces-in-tree-schema.json",
  "title": "spacesInTree",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/johnson-controls-spaces-api-openapi.yml#/components/schemas/spacesInTree",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Collection of spaces.",
      "items": {
        "$ref": "#/$defs/spaceInTree"
      }
    },
    "self": {
      "type": "string",
      "description": "A link to this space tree.",
      "format": "uri"
    }
  },
  "required": [
    "items",
    "self"
  ],
  "$defs": {
    "spaceInTree": {
      "type": "object",
      "title": "Space",
      "properties": {
        "id": {
          "type": "string",
          "description": "The identifier of the space."
        },
        "name": {
          "type": "string",
          "description": "The name of the space."
        },
        "type": {
          "type": "string",
          "description": "The type of the space.\n\nThe values for this property come from the `spaceTypesEnumSet` enumeration.\nFind the definition of `spaceTypesEnumSet` at the relative URL of `/schemas/enums/spaceTypesEnumSet`.\n\n**See also:**\n* [Get enumeration](#operation/getEnumerationAsJsonSchema) for more information on retrieving an enumeration.",
          "x-metasysEnum": "spaceTypesEnumSet"
        },
        "self": {
          "type": "string",
          "description": "A link to the space.",
          "format": "uri"
        },
        "parentUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "A link to the parent space of the space. This value is null if the space is the root space.",
          "format": "uri"
        },
        "spacesUrl": {
          "type": "string",
          "description": "A link to the collection spaces that are children of the space.",
          "format": "uri"
        },
        "equipmentUrl": {
          "type": "string",
          "description": "A link to the collection of equipment serving this space.",
          "format": "uri"
        },
        "networkDevicesUrl": {
          "type": "string",
          "format": "uri",
          "description": "A link to the collection of network devices which host points defined on equipment serving this space."
        },
        "itemReference": {
          "type": "string",
          "description": "The fully qualified reference of the space."
        },
        "items": {
          "type": "array",
          "description": "Collection of spaces.",
          "items": {
            "$ref": "#/$defs/spaceInTree"
          }
        },
        "hasChild": {
          "type": "boolean",
          "description": "This space has spaces that it contains.\n"
        }
      },
      "required": [
        "id",
        "itemReference",
        "name",
        "type",
        "self",
        "parentUrl",
        "spacesUrl",
        "equipmentUrl",
        "networkDevicesUrl"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/johnson-controls-spaces-in-tree"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.