{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/engrate/json-schema/engrate-get-scheduling-areas-response-schema.json",
  "title": "GetSchedulingAreasResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/engrate-core-api-openapi.yml#/components/schemas/GetSchedulingAreasResponse",
  "properties": {
    "scheduling_areas": {
      "items": {
        "$ref": "#/$defs/SchedulingArea"
      },
      "title": "Scheduling Areas",
      "type": "array"
    }
  },
  "required": [
    "scheduling_areas"
  ],
  "type": "object",
  "$defs": {
    "SchedulingArea": {
      "description": "A Scheduling Area is a core domain concept in the European energy market.\n\nThe [ENTSO-E Harmonized Electricity Market Role Model](https://www.entsoe.eu/data/cim/role-models/) defines a Scheduling Area as:\n\n> An area within which the TSOs' obligations regarding scheduling apply due to operational or organisational needs. This area consists of one or more Metering Grid Areas with common market rules for which the settlement responsible party carries out an imbalance settlement and which has the same price for imbalance.\n\nIn other words, it is the area within which schedules are submitted and imbalance is settled at a single price. In the Nordics each Scheduling Area shares its EIC with the corresponding Bidding Zone (e.g. SE3, NO1).",
      "properties": {
        "countries": {
          "description": "ISO 3166-1 alpha-2 country codes this scheduling area covers",
          "items": {
            "type": "string"
          },
          "title": "Countries",
          "type": "array"
        },
        "id": {
          "description": "EIC code identifying this scheduling area",
          "title": "Id",
          "type": "string"
        },
        "name": {
          "description": "Full official name of the scheduling area",
          "title": "Name",
          "type": "string"
        },
        "short_name": {
          "description": "Short display name for the scheduling area",
          "title": "Short Name",
          "type": "string"
        }
      },
      "required": [
        "countries",
        "id",
        "name",
        "short_name"
      ],
      "title": "SchedulingArea",
      "type": "object"
    }
  }
}