{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-workflow-definition-get-all-response-schema.json",
  "title": "WorkflowDefinitionGetAllResponse ...",
  "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/WorkflowDefinitionGetAllResponse",
  "type": "object",
  "properties": {
    "base_type": {
      "type": "string",
      "x-go-name": "BaseType"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Categories"
    },
    "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"
    },
    "id": {
      "type": "string",
      "x-go-name": "DefinitionID"
    },
    "metadata": {
      "$ref": "#/$defs/WorkflowMetadata"
    },
    "name": {
      "type": "string",
      "x-go-name": "Name"
    },
    "owner": {
      "type": "string",
      "x-go-name": "Owner"
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Permissions"
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {}
      },
      "x-go-name": "Properties"
    },
    "schema_id": {
      "type": "string",
      "x-go-name": "ViewSchemaID"
    },
    "started_on": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "LastInstStartedOn"
    },
    "status": {
      "$ref": "#/$defs/Status"
    },
    "title": {
      "type": "string",
      "x-go-name": "Title"
    },
    "type": {
      "type": "string",
      "x-go-name": "Type"
    },
    "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": {
      "type": "boolean",
      "x-go-name": "Valid"
    },
    "workflow_valid": {
      "type": "boolean",
      "x-go-name": "WorkflowValid"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/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"
    },
    "GitInfo": {
      "type": "object",
      "properties": {
        "commit_hash": {
          "type": "string",
          "x-go-name": "CommitHash"
        },
        "commit_message": {
          "type": "string",
          "x-go-name": "CommitMessage"
        },
        "commited_by": {
          "type": "string",
          "x-go-name": "CommitedBy"
        },
        "commited_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "CommitedOn"
        },
        "file_name": {
          "type": "string",
          "x-go-name": "FileName"
        },
        "target_id": {
          "type": "string",
          "x-go-name": "TargetID"
        }
      },
      "description": "nolint: misspell\nGitInfo maintains information about the last Git Import",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "State": {
      "type": "string",
      "description": "DefinitionState",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "Status": {
      "title": "Status ...",
      "type": "object",
      "properties": {
        "details": {
          "$ref": "#/$defs/StatusDetails"
        },
        "prev_state": {
          "$ref": "#/$defs/State"
        },
        "state": {
          "$ref": "#/$defs/State"
        }
      },
      "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"
    },
    "WorkflowLock": {
      "type": "object",
      "properties": {
        "locked": {
          "type": "boolean",
          "x-go-name": "Locked"
        },
        "locked_by": {
          "type": "string",
          "x-go-name": "LockedBy"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "WorkflowMetadata": {
      "type": "object",
      "properties": {
        "coa": {
          "$ref": "#/$defs/CourseOfAction"
        },
        "flags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "x-go-name": "Flags"
        },
        "git_info": {
          "$ref": "#/$defs/GitInfo"
        },
        "lock": {
          "$ref": "#/$defs/WorkflowLock"
        }
      },
      "description": "WorkflowMetadata maintains miscellaneous metadata for the workflow",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    }
  }
}