Aqara · Schema

UpdateAutomationRequest

Smart HomeIoTConsumer ElectronicsHome AutomationSecurity

Properties

Name Type Description
name stringnull 新名称。
autoSuffixOnDuplicate boolean 名称重名处理策略。未传或为 true 时自动添加 (1)、(2) 等后缀;为 false 时返回名称重复错误。该字段不需要加入 updateMask。
enabled booleannull 新启用状态。true:启用;false:禁用。
config objectnull 新配置。仅适用于 definitionType 为 SCRIPT_JSON 的自动化,其他类型自动化的配置不可编辑。
updateMask array 需更新的参数名称列表,仅支持 name、enabled、config。 **注意**:name 和 enabled 适用于所有自动化。config 只适用于 definitionType 为 SCRIPT_JSON 的自动化。
View JSON Schema on GitHub

JSON Schema

aqara-update-automation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aqara/json-schema/aqara-update-automation-request-schema.json",
  "title": "UpdateAutomationRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/data-export-api-zh.yaml#/components/schemas/UpdateAutomationRequest",
  "type": "object",
  "required": [
    "updateMask"
  ],
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "新名称。"
    },
    "autoSuffixOnDuplicate": {
      "type": "boolean",
      "default": true,
      "description": "名称重名处理策略。未传或为 true 时自动添加 (1)、(2) 等后缀;为 false 时返回名称重复错误。该字段不需要加入 updateMask。"
    },
    "enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "新启用状态。true:启用;false:禁用。"
    },
    "config": {
      "type": [
        "object",
        "null"
      ],
      "description": "新配置。仅适用于 definitionType 为 SCRIPT_JSON 的自动化,其他类型自动化的配置不可编辑。",
      "additionalProperties": true
    },
    "updateMask": {
      "type": "array",
      "description": "需更新的参数名称列表,仅支持 name、enabled、config。   \n**注意**:name 和 enabled 适用于所有自动化。config 只适用于 definitionType 为 SCRIPT_JSON 的自动化。 \n",
      "items": {
        "type": "string",
        "enum": [
          "name",
          "enabled",
          "config"
        ]
      }
    }
  }
}

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/aqara-update-automation-request"
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.