{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://heartcortex.ai/schemas/1.0/native-request.schema.json",
  "title": "Native passthrough",
  "type": "object",
  "required": [
    "request",
    "reason"
  ],
  "properties": {
    "target": {
      "type": "string"
    },
    "request": {
      "type": [
        "object",
        "string",
        "array"
      ]
    },
    "timeoutMs": {
      "type": "integer",
      "minimum": 1
    },
    "reason": {
      "type": "string",
      "minLength": 1
    },
    "actionId": {
      "$ref": "common.schema.json#/$defs/actionId"
    },
    "presence": {
      "description": "Proof of presence for the digest of the Action named by actionId (API Standard 6.3, rule 3).",
      "$ref": "common.schema.json#/$defs/presence"
    }
  },
  "dependentRequired": {
    "presence": [
      "actionId"
    ]
  }
}
