{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-trigger-schema.json",
  "title": "Trigger ...",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-triggers-api-openapi.yml#/components/schemas/Trigger",
  "type": "object",
  "properties": {
    "base_type": {
      "type": "string",
      "x-go-name": "BaseType"
    },
    "created_by": {
      "type": "string",
      "x-go-name": "CreatedBy"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "CreatedOn"
    },
    "description": {
      "type": "string",
      "x-go-name": "Description"
    },
    "disabled": {
      "type": "boolean",
      "x-go-name": "Disabled"
    },
    "id": {
      "type": "string",
      "x-go-name": "TriggerID"
    },
    "invalid_actions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "InvalidActions"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    },
    "owner": {
      "type": "string",
      "x-go-name": "Owner"
    },
    "ref_id": {
      "type": "string",
      "x-go-name": "RefID"
    },
    "status": {
      "$ref": "#/$defs/TriggerStatus"
    },
    "type": {
      "$ref": "#/$defs/TriggerType"
    },
    "unique_name": {
      "type": "string",
      "x-go-name": "UniqueName"
    },
    "updated_by": {
      "type": "string",
      "x-go-name": "UpdatedBy"
    },
    "updated_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "UpdatedOn"
    },
    "valid_actions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "ValidActions"
    },
    "workflow_id": {
      "type": "string",
      "x-go-name": "WorkflowID"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models",
  "$defs": {
    "State": {
      "type": "string",
      "description": "DefinitionState",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "StatusDetails": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "x-go-name": "Code"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "TriggerStatus": {
      "title": "TriggerStatus ...",
      "type": "object",
      "properties": {
        "details": {
          "$ref": "#/$defs/StatusDetails"
        },
        "error_msg": {
          "type": "string",
          "x-go-name": "ErrorMsg"
        },
        "prev_state": {
          "$ref": "#/$defs/State"
        },
        "state": {
          "$ref": "#/$defs/State"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "TriggerType": {
      "title": "TriggerType ...",
      "type": "string",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    }
  }
}