Samsung · Schema

Rule

A SmartThings automation rule.

Consumer ElectronicsDeveloper PlatformIoTMobileSmart HomeSmart TVWearables

Properties

Name Type Description
id string Unique rule identifier.
name string Rule name.
actions array Actions to execute when rule conditions are met.
timeZoneId string IANA time zone for time-based conditions.
executionLocation string Where the rule executes.
ownerId string Owner user ID.
View JSON Schema on GitHub

JSON Schema

samsung-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Rule",
  "title": "Rule",
  "type": "object",
  "description": "A SmartThings automation rule.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique rule identifier."
    },
    "name": {
      "type": "string",
      "description": "Rule name."
    },
    "actions": {
      "type": "array",
      "description": "Actions to execute when rule conditions are met.",
      "items": {}
    },
    "timeZoneId": {
      "type": "string",
      "description": "IANA time zone for time-based conditions."
    },
    "executionLocation": {
      "type": "string",
      "description": "Where the rule executes.",
      "enum": [
        "Cloud",
        "Local"
      ]
    },
    "ownerId": {
      "type": "string",
      "description": "Owner user ID."
    }
  }
}