{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atlassian/json-schema/atlassian-workflow-rules-search-schema.json",
  "title": "WorkflowRulesSearch",
  "description": "Details of the workflow and its transition rules.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/atlassian-app-migration-api-openapi.yml#/components/schemas/WorkflowRulesSearch",
  "properties": {
    "expand": {
      "description": "Use expand to include additional information in the response. This parameter accepts `transition` which, for each rule, returns information about the transition the rule is assigned to.",
      "type": "string"
    },
    "ruleIds": {
      "description": "The list of workflow rule IDs.",
      "items": {
        "description": "Workflow rule ID.",
        "format": "uuid",
        "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "type": "array"
    },
    "workflowEntityId": {
      "description": "The workflow ID.",
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "ruleIds",
    "workflowEntityId"
  ],
  "type": "object"
}