{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://heartcortex.ai/schemas/1.0/invoke-request.schema.json",
  "title": "Invoke request",
  "type": "object",
  "required": [
    "arguments"
  ],
  "properties": {
    "arguments": {
      "type": "object"
    },
    "dryRun": {
      "type": "boolean",
      "default": false
    },
    "reason": {
      "type": "string",
      "maxLength": 2000
    },
    "presence": {
      "description": "Proof of presence for the digest of the Action named by actionId. A human invoking a destructive or physical capability sends it to run at once; without it the Action waits for another person's approval (API Standard 6.3).",
      "$ref": "common.schema.json#/$defs/presence"
    },
    "actionId": {
      "$ref": "common.schema.json#/$defs/actionId"
    }
  },
  "dependentRequired": {
    "presence": [
      "actionId"
    ]
  }
}
