{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metricool/json-schema/metricool-json-ok-response-consolidation-run-dto-schema.json",
  "title": "JsonOkResponseConsolidationRunDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metricool-backoffice-affiliate-consolidation-api-openapi.yml#/components/schemas/JsonOkResponseConsolidationRunDto",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object"
    },
    "page": {
      "$ref": "#/$defs/JsonPaging"
    },
    "data": {
      "$ref": "#/$defs/ConsolidationRunDto"
    }
  },
  "$defs": {
    "ConsolidationRunDto": {
      "type": "object",
      "properties": {
        "runId": {
          "type": "integer",
          "description": "The generated run ID",
          "format": "int64"
        },
        "cutoffDate": {
          "type": "string",
          "description": "The cutoff date used for the run"
        }
      },
      "description": "Result of a consolidation run"
    },
    "JsonPaging": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string"
        }
      }
    }
  }
}