{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eaton/json-schema/eaton-device-command-schema.json",
  "title": "DeviceCommand",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eaton-device-commands-api-openapi.yml#/components/schemas/DeviceCommand",
  "type": "object",
  "required": [
    "command"
  ],
  "properties": {
    "command": {
      "type": "string",
      "enum": [
        "open",
        "close",
        "cycle"
      ]
    },
    "reason": {
      "type": "string"
    }
  }
}