Samsung · Schema

Subscription

A SmartThings event subscription for a SmartApp.

Consumer ElectronicsDeveloper PlatformIoTMobileSmart HomeSmart TVWearables

Properties

Name Type Description
id string Unique subscription identifier.
installedAppId string Installed SmartApp ID.
sourceType string Event source type.
device object Device capability subscription details.
View JSON Schema on GitHub

JSON Schema

samsung-subscription-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Subscription",
  "title": "Subscription",
  "type": "object",
  "description": "A SmartThings event subscription for a SmartApp.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique subscription identifier."
    },
    "installedAppId": {
      "type": "string",
      "format": "uuid",
      "description": "Installed SmartApp ID."
    },
    "sourceType": {
      "type": "string",
      "description": "Event source type.",
      "enum": [
        "CAPABILITY",
        "DEVICE",
        "MODE",
        "TIMER",
        "SCENE_LIFECYCLE",
        "DEVICE_LIFECYCLE"
      ]
    },
    "device": {
      "type": "object",
      "description": "Device capability subscription details.",
      "properties": {
        "deviceId": {
          "type": "string",
          "description": "Device ID to subscribe to (or * for all)."
        },
        "componentId": {
          "type": "string",
          "description": "Component ID (or * for all)."
        },
        "capability": {
          "type": "string",
          "description": "Capability ID."
        },
        "attribute": {
          "type": "string",
          "description": "Attribute name (or * for all)."
        },
        "value": {
          "description": "Attribute value filter."
        },
        "stateChangeOnly": {
          "type": "boolean",
          "description": "Only trigger on attribute state changes."
        }
      }
    }
  }
}

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/samsung-subscription"
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.