{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rte-france/json-schema/rte-france-get-open-api-consumption-v1-weekly-forecasts-response-schema.json",
  "title": "GetOpenApiConsumptionV1WeeklyForecastsResponse",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/rte-france-openapi-generated.yml#/components/schemas/GetOpenApiConsumptionV1WeeklyForecastsResponse",
  "type": "object",
  "properties": {
    "weekly_forecasts": {
      "type": "array",
      "description": "Table of values containing one occurrence per returned forecast update date"
    },
    "start_date": {
      "type": "string",
      "description": "Forecast search start date"
    },
    "end_date": {
      "type": "string",
      "description": "Forecast search end date"
    },
    "updated_date": {
      "type": "string",
      "description": "Data update date"
    },
    "peak": {
      "type": "object",
      "description": "Object containing peak_hour, value, temperature, and temperature_deviation"
    },
    "values": {
      "type": "array",
      "description": "One value per time interval with start_date, end_date, and value"
    }
  }
}