{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkflowCapabilities",
  "title": "WorkflowCapabilities",
  "additionalProperties": false,
  "properties": {
    "connectRules": {
      "description": "The Connect provided ecosystem rules available.",
      "items": {
        "$ref": "#/components/schemas/AvailableWorkflowConnectRule"
      },
      "type": "array"
    },
    "editorScope": {
      "description": "The scope of the workflow capabilities. `GLOBAL` for company-managed projects and `PROJECT` for team-managed projects.",
      "enum": [
        "PROJECT",
        "GLOBAL"
      ],
      "type": "string"
    },
    "forgeRules": {
      "description": "The Forge provided ecosystem rules available.",
      "items": {
        "$ref": "#/components/schemas/AvailableWorkflowForgeRule"
      },
      "type": "array"
    },
    "projectTypes": {
      "description": "The types of projects that this capability set is available for.",
      "enum": [
        "software",
        "service_desk",
        "product_discovery",
        "business",
        "unknown"
      ],
      "items": {
        "description": "The types of projects that this capability set is available for.",
        "enum": [
          "software",
          "service_desk",
          "product_discovery",
          "business",
          "unknown"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "systemRules": {
      "description": "The Atlassian provided system rules available.",
      "items": {
        "$ref": "#/components/schemas/AvailableWorkflowSystemRule"
      },
      "type": "array"
    },
    "triggerRules": {
      "description": "The trigger rules available.",
      "items": {
        "$ref": "#/components/schemas/AvailableWorkflowTriggers"
      },
      "type": "array"
    }
  },
  "type": "object"
}