Kontakt.io · Schema

Rooms

CompanyIoTRTLSHealthcareAsset TrackingLocationOccupancyBluetoothDevice ManagementTelemetrySensorsStreaming

Properties

Name Type Description
content array
View JSON Schema on GitHub

JSON Schema

kontaktio-rooms-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kontaktio/main/json-schema/kontaktio-rooms-schema.json",
  "title": "Rooms",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kontaktio-occupancy-room-api-openapi.yml#/components/schemas/Rooms",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "uniqueItems": true,
      "minItems": 1,
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "roomType": {
            "type": "string",
            "minLength": 1,
            "default": "ROOM",
            "enum": [
              "ROOM",
              "CORRIDOR"
            ]
          },
          "floor": {
            "type": "object",
            "description": "Floor details",
            "properties": {
              "id": {
                "type": "number"
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "height": {
                "type": "number"
              },
              "width": {
                "type": "number"
              },
              "properties": {
                "type": "object",
                "required": [
                  "gridWidth",
                  "gridBounds",
                  "gridDensity",
                  "outlineCreated"
                ],
                "description": "Additional properties of the room",
                "properties": {
                  "gridWidth": {
                    "type": "number"
                  },
                  "gridBounds": {
                    "type": "object",
                    "required": [
                      "boundsLat",
                      "boundsLng"
                    ],
                    "properties": {
                      "boundsLat": {
                        "type": "object",
                        "required": [
                          "north",
                          "south"
                        ],
                        "properties": {
                          "north": {
                            "type": "number"
                          },
                          "south": {
                            "type": "number"
                          }
                        }
                      },
                      "boundsLng": {
                        "type": "object",
                        "required": [
                          "east",
                          "west"
                        ],
                        "properties": {
                          "east": {
                            "type": "number"
                          },
                          "west": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  },
                  "gridDensity": {
                    "type": "number"
                  },
                  "outlineCreated": {
                    "type": "boolean"
                  }
                }
              },
              "building": {
                "type": "object",
                "description": "Building details",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              },
              "level": {
                "type": "number"
              },
              "xyGeojson": {
                "type": "object",
                "required": [
                  "type",
                  "geometry",
                  "properties"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "minLength": 1
                  },
                  "geometry": {
                    "type": "object",
                    "required": [
                      "type",
                      "coordinates"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "minLength": 1
                      },
                      "coordinates": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "0": {
                              "type": "array",
                              "uniqueItems": true,
                              "items": {
                                "type": "object",
                                "properties": {
                                  "0": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "1": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "2": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "3": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "4": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "properties": {
                    "type": "object"
                  }
                }
              },
              "imageXyGeojson": {
                "type": "object",
                "required": [
                  "type",
                  "geometry"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "minLength": 1
                  },
                  "geometry": {
                    "type": "object",
                    "required": [
                      "type",
                      "coordinates"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "minLength": 1
                      },
                      "coordinates": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "0": {
                              "type": "array",
                              "uniqueItems": true,
                              "items": {
                                "type": "object",
                                "properties": {
                                  "0": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "1": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "2": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "3": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  },
                                  "4": {
                                    "type": "array",
                                    "uniqueItems": true,
                                    "items": {
                                      "type": "object"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "gateways": {
                "type": "array",
                "uniqueItems": true,
                "minItems": 1,
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "virtual": {
                      "type": "boolean"
                    },
                    "sourceId": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "id",
                    "x",
                    "y",
                    "virtual",
                    "sourceId"
                  ]
                }
              }
            },
            "required": [
              "id",
              "name",
              "height",
              "width",
              "properties",
              "building",
              "level",
              "xyGeojson",
              "imageXyGeojson",
              "gateways"
            ]
          },
          "roomNumber": {
            "type": "number"
          },
          "roomAttributes": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "roomSensors": {
            "type": "array",
            "uniqueItems": true,
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number"
                },
                "x": {
                  "type": "number"
                },
                "y": {
                  "type": "number"
                },
                "trackingId": {
                  "type": "string",
                  "minLength": 1
                },
                "inbounds": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                },
                "outbounds": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                },
                "type": {
                  "type": "string",
                  "minLength": 1
                },
                "status": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "id",
                "x",
                "y",
                "trackingId",
                "type",
                "status"
              ]
            }
          },
          "xyGeojson": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "minLength": 1
              },
              "geometry": {
                "type": "object",
                "required": [
                  "type",
                  "coordinates"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "minLength": 1
                  },
                  "coordinates": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "0": {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "type": "object",
                            "properties": {
                              "0": {
                                "type": "array",
                                "uniqueItems": true,
                                "items": {
                                  "type": "object"
                                }
                              },
                              "1": {
                                "type": "array",
                                "uniqueItems": true,
                                "items": {
                                  "type": "object"
                                }
                              },
                              "2": {
                                "type": "array",
                                "uniqueItems": true,
                                "items": {
                                  "type": "object"
                                }
                              },
                              "3": {
                                "type": "array",
                                "uniqueItems": true,
                                "items": {
                                  "type": "object"
                                }
                              },
                              "4": {
                                "type": "array",
                                "uniqueItems": true,
                                "items": {
                                  "type": "object"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "properties": {
                "type": "object"
              }
            },
            "required": [
              "type",
              "geometry",
              "properties"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "roomType",
          "roomNumber"
        ]
      }
    }
  },
  "required": [
    "content"
  ]
}

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/kontaktio-rooms"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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