{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-create-data-flow-debug-session-request-schema.json",
  "title": "CreateDataFlowDebugSessionRequest",
  "description": "Request body structure for creating data flow debug session.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-data-factory-dataflowdebugsession-api-openapi.yml#/components/schemas/CreateDataFlowDebugSessionRequest",
  "type": "object",
  "properties": {
    "computeType": {
      "type": "string",
      "description": "Compute type of the cluster. The value will be overwritten by the same setting in integration runtime if provided."
    },
    "coreCount": {
      "type": "integer",
      "format": "int32",
      "description": "Core count of the cluster. The value will be overwritten by the same setting in integration runtime if provided."
    },
    "timeToLive": {
      "type": "integer",
      "format": "int32",
      "description": "Time to live setting of the cluster in minutes."
    },
    "integrationRuntime": {
      "$ref": "#/$defs/IntegrationRuntimeDebugResource",
      "description": "Set to use integration runtime setting for data flow debug session."
    }
  },
  "$defs": {
    "IntegrationRuntime": {
      "type": "object",
      "description": "Azure Data Factory nested object which serves as a compute resource for activities.",
      "properties": {
        "type": {
          "$ref": "#/$defs/IntegrationRuntimeType",
          "description": "Type of integration runtime."
        },
        "description": {
          "type": "string",
          "description": "Integration runtime description."
        }
      },
      "required": [
        "type"
      ],
      "additionalProperties": {}
    },
    "IntegrationRuntimeDebugResource": {
      "type": "object",
      "description": "Integration runtime debug resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/IntegrationRuntime",
          "description": "Integration runtime properties."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/SubResourceDebugResource"
        }
      ]
    },
    "IntegrationRuntimeType": {
      "type": "string",
      "description": "The type of integration runtime.",
      "enum": [
        "Managed",
        "SelfHosted"
      ],
      "x-ms-enum": {
        "name": "IntegrationRuntimeType",
        "modelAsString": true,
        "values": [
          {
            "name": "Managed",
            "value": "Managed",
            "description": "Managed"
          },
          {
            "name": "SelfHosted",
            "value": "SelfHosted",
            "description": "SelfHosted"
          }
        ]
      }
    },
    "SubResourceDebugResource": {
      "type": "object",
      "description": "Azure Data Factory nested debug resource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The resource name."
        }
      }
    }
  }
}