{
  "name": "RPC Shutdown",
  "version": "2.2",
  "slug": "rpc_shutdown",
  "description": "Shutdown Windows machines remotely",
  "url": "https://github.com/home-assistant/hassio-addons/tree/master/rpc_shutdown",
  "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
  "startup": "services",
  "stdin": true,
  "host_network": true,
  "options": {
    "computers": [
      {
        "alias": "test-pc",
        "address": "192.168.0.1",
        "credentials": "user%password",
        "delay": 0,
        "message": "Home Assistant is shutting down this PC. This cannot be canceled. Please save your work!"
      }
    ]
  },
  "schema": {
    "computers": [
      {
        "alias": "match(^[\\w-]*$)",
        "address": "str",
        "credentials": "match(^[^%]*(?:%[^%]*)?$)",
        "delay": "int(0,600)?",
        "message": "str?"
      }
    ]
  },
  "image": "homeassistant/{arch}-addon-rpc_shutdown"
}
