ThingsBoard · Schema

ThingsBoard RuleChain

A JSON value representing the rule chain.

IoTInternet of ThingsDevice ManagementTelemetryOpen-SourceApache 2.0MQTTLwM2MCoAPRule EngineDashboardsEdgeMulti-TenantJavaSpring

Properties

Name Type Description
id object JSON object with the Rule Chain Id. Specify this field to update the Rule Chain. Referencing non-existing Rule Chain Id will cause error. Omit this field to create new rule chain.
createdTime integer Timestamp of the rule chain creation, in milliseconds
tenantId object JSON object with Tenant Id.
name string Rule Chain name
type string Rule Chain type. 'EDGE' rule chains are processing messages on the edge devices only.
firstRuleNodeId object JSON object with Rule Chain Id. Pointer to the first rule node that should receive all messages pushed to this rule chain.
root boolean Indicates root rule chain. The root rule chain process messages from all devices and entities by default. User may configure default rule chain per device profile.
debugMode boolean Reserved for future usage.
version integer
configuration object
additionalInfo object
View JSON Schema on GitHub

JSON Schema

thingsboard-rulechain-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thingsboard/refs/heads/main/json-schema/thingsboard-rulechain-schema.json",
  "title": "ThingsBoard RuleChain",
  "description": "A JSON value representing the rule chain.",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/RuleChainId",
      "description": "JSON object with the Rule Chain Id. Specify this field to update the Rule Chain. Referencing non-existing Rule Chain Id will cause error. Omit this field to create new rule chain."
    },
    "createdTime": {
      "type": "integer",
      "format": "int64",
      "description": "Timestamp of the rule chain creation, in milliseconds",
      "example": 1609459200000,
      "readOnly": true
    },
    "tenantId": {
      "$ref": "#/components/schemas/TenantId",
      "description": "JSON object with Tenant Id.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Rule Chain name",
      "example": "Humidity data processing"
    },
    "type": {
      "type": "string",
      "description": "Rule Chain type. 'EDGE' rule chains are processing messages on the edge devices only.",
      "enum": [
        "CORE",
        "EDGE"
      ],
      "example": "A4B72CCDFF33"
    },
    "firstRuleNodeId": {
      "$ref": "#/components/schemas/RuleNodeId",
      "description": "JSON object with Rule Chain Id. Pointer to the first rule node that should receive all messages pushed to this rule chain."
    },
    "root": {
      "type": "boolean",
      "description": "Indicates root rule chain. The root rule chain process messages from all devices and entities by default. User may configure default rule chain per device profile."
    },
    "debugMode": {
      "type": "boolean",
      "description": "Reserved for future usage."
    },
    "version": {
      "type": "integer",
      "format": "int64"
    },
    "configuration": {
      "$ref": "#/components/schemas/JsonNode"
    },
    "additionalInfo": {
      "$ref": "#/components/schemas/JsonNode"
    }
  },
  "required": [
    "name",
    "tenantId"
  ]
}

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/thingsboard-rulechain"
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 email required.

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