{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-refresh-request-schema.json",
  "title": "RefreshRequest",
  "description": "Request body for an enhanced dataset refresh",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/power-bi-datasets-api-openapi.yml#/components/schemas/RefreshRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of processing to perform",
      "enum": [
        "Full",
        "ClearValues",
        "Calculate",
        "DataOnly",
        "Automatic",
        "Defragment"
      ]
    },
    "commitMode": {
      "type": "string",
      "description": "Determines whether objects are committed in batches or only when complete",
      "enum": [
        "transactional",
        "partialBatch"
      ]
    },
    "maxParallelism": {
      "type": "integer",
      "description": "Maximum number of threads to run in parallel"
    },
    "retryCount": {
      "type": "integer",
      "description": "Number of times to retry on failure"
    },
    "objects": {
      "type": "array",
      "description": "Specific tables or partitions to refresh",
      "items": {
        "type": "object",
        "properties": {
          "table": {
            "type": "string",
            "description": "The table name to refresh"
          },
          "partition": {
            "type": "string",
            "description": "The partition name within the table to refresh"
          }
        }
      }
    }
  }
}