{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-workflows-post-request-schema.json",
  "title": "WorkflowsPostRequest ...",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-workflows-api-openapi.yml#/components/schemas/WorkflowsPostRequest",
  "type": "object",
  "properties": {
    "categories": {
      "type": "array",
      "description": "list of categories to get for.\nin: body",
      "items": {
        "type": "string"
      },
      "x-go-name": "Categories"
    },
    "exclude_rule_types": {
      "type": "array",
      "description": "flag to be used in conjunction with rule_types. specify rule_types to be excluded.\n\"none\" if workflows should have atleast 1 rule_type\nallowed values: none, schedule.rule_schedule, amqp.rule_event, email.rule_event, approval_task.rule_event,\nwebhook.rule_event, kafka.rule_event, incident.rule_event, playbook_assignment.rule_event\nin: body",
      "items": {
        "type": "string"
      },
      "x-go-name": "ExcludeRuleTypes"
    },
    "owner": {
      "type": "array",
      "description": "list of owner IDs to filter by\nin: body",
      "items": {
        "type": "string"
      },
      "x-go-name": "Owner"
    },
    "rule_types": {
      "type": "array",
      "description": "list of rule_types to filter by. \"none\" if workflows with no rule_type needed\nallowed values: none, schedule.rule_schedule, amqp.rule_event, email.rule_event, approval_task.rule_event,\nwebhook.rule_event, kafka.rule_event, incident.rule_event, playbook_assignment.rule_event\nin: body",
      "items": {
        "type": "string"
      },
      "x-go-name": "RuleTypes"
    },
    "wf_metadata": {
      "$ref": "#/$defs/WorkflowMetaData"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "CourseOfAction": {
      "title": "WorkflowMetaData ...",
      "required": [
        "observable_types"
      ],
      "type": "object",
      "properties": {
        "actuator": {
          "type": "string",
          "description": "Actuator.\nin: body",
          "x-go-name": "Actuator"
        },
        "observable_types": {
          "type": "array",
          "description": "list of observable types to get for.\nin: body",
          "items": {
            "type": "string"
          },
          "x-go-name": "ObservableTypes"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "WorkflowMetaData": {
      "title": "WorkflowMetaData ...",
      "required": [
        "coa"
      ],
      "type": "object",
      "properties": {
        "coa": {
          "$ref": "#/$defs/CourseOfAction"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models"
    }
  }
}