{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ActionTrigger",
  "title": "ActionTrigger",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id"
  ],
  "x-release-lifecycle": "GA",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/ActionTriggerTypeEnum"
    },
    "version": {
      "type": "string",
      "description": "The version of a trigger. v1, v2, etc."
    },
    "status": {
      "type": "string",
      "description": "status points to the trigger status."
    },
    "runtimes": {
      "type": "array",
      "description": "runtimes supported by this trigger.",
      "items": {
        "type": "string"
      }
    },
    "default_runtime": {
      "type": "string",
      "description": "Runtime that will be used when none is specified when creating an action."
    },
    "compatible_triggers": {
      "type": "array",
      "description": "compatible_triggers informs which other trigger supports the same event and api.",
      "items": {
        "$ref": "#/components/schemas/ActionTriggerCompatibleTrigger"
      }
    },
    "binding_policy": {
      "$ref": "#/components/schemas/ActionBindingTypeEnum"
    }
  }
}