{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-projected-consumption-batch-response-dto-schema.json",
  "title": "ProjectedConsumptionBatchResponseDto",
  "description": "ProjectedConsumptionBatchResponseDto description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crunchtime-information-systems-projected-consumption-service-api-openapi.yml#/components/schemas/ProjectedConsumptionBatchResponseDto",
  "type": "object",
  "properties": {
    "hasNext": {
      "type": "boolean"
    },
    "projectedConsumptionDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProjectedConsumptionDetails"
      }
    },
    "totalPages": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "ProjectedConsumptionDetails": {
      "type": "object",
      "properties": {
        "projectedConsumptionDetailDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProjectedConsumptionDetailsDto"
          }
        },
        "projectedConsumptionHeaderDetails": {
          "$ref": "#/$defs/ProjectedConsumptionHeaderDto"
        }
      },
      "title": "ProjectedConsumptionDetails",
      "description": "ProjectedConsumptionDetails description"
    },
    "ProjectedConsumptionDetailsDto": {
      "type": "object",
      "required": [
        "productNumber",
        "projCnsQty"
      ],
      "properties": {
        "productNumber": {
          "type": "string",
          "description": "\"productNumber\" from projected consumption"
        },
        "projCnsQty": {
          "type": "number",
          "description": "\"projCnsQty\" from projected consumption"
        }
      },
      "title": "ProjectedConsumptionDetailsDto",
      "description": "ProjectedConsumptionDetailsDto description"
    },
    "ProjectedConsumptionHeaderDto": {
      "type": "object",
      "required": [
        "locationCode",
        "projCnsDate"
      ],
      "properties": {
        "locationCode": {
          "type": "string",
          "description": "\"locationCode\" from projected consumption"
        },
        "projCnsDate": {
          "type": "string",
          "description": "\"projCnsDate\" from projected consumption"
        }
      },
      "title": "ProjectedConsumptionHeaderDto",
      "description": "ProjectedConsumptionHeaderDto description"
    }
  }
}