{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JourneyActionConfigResponseModel",
  "title": "JourneyActionConfigResponseModel",
  "type": "object",
  "properties": {
    "createdAt": {
      "type": "string",
      "description": "Created Timestamp",
      "example": "2022-10-18T04:21:34.124Z"
    },
    "createdBy": {
      "type": "string",
      "description": "Created By",
      "example": "1eb65fdf-9643-417f-9974-ad72cae0e10f"
    },
    "updatedAt": {
      "type": "string",
      "description": "Updated Timestamp",
      "example": "2022-10-18T04:21:34.124Z"
    },
    "updatedBy": {
      "type": "string",
      "description": "Updated By",
      "example": "1eb65fdf-9643-417f-9974-ad72cae0e10f"
    },
    "id": {
      "type": "string",
      "description": "Journey Action Id",
      "example": "638505f32332c8200dac025e"
    },
    "name": {
      "type": "string",
      "description": "Journey Action Name",
      "example": "sample-action"
    },
    "organizationId": {
      "type": "string",
      "description": "Organization Id",
      "example": "1eb65fdf-9643-417f-9974-ad72cae0e10f"
    },
    "workspaceId": {
      "type": "string",
      "description": "Workspace Id",
      "example": "6384d9021f6a5331f6cc4cf9"
    },
    "isActive": {
      "type": "boolean",
      "description": "Is Journey Action Configuration Active",
      "example": true
    },
    "templateId": {
      "type": "string",
      "description": "Profile View Template ID",
      "example": "637e72bc474c2a5b5f0eeeer"
    },
    "cooldownPeriodInMinutes": {
      "type": "integer",
      "description": "Cooldown Period In Minutes",
      "format": "int32",
      "example": 10
    },
    "rules": {
      "$ref": "#/components/schemas/RulesDocument"
    },
    "actionTriggers": {
      "type": "array",
      "example": [
        {
          "type": "Webhook",
          "webhookURL": "https://hooks.us.webexconnect.io/events/6M347NJ6",
          "attributes": {
            "httpverb": "post",
            "requestbody": "{\"SMS\":\"12263762551\",\"callID\":\"\",\"MessageToSend\":\"Hello there!\"}"
          }
        }
      ],
      "items": {
        "$ref": "#/components/schemas/JourneyActionTriggerConfig"
      }
    }
  },
  "description": "Journey Action Configuration Response Model"
}