{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/engrate/json-schema/engrate-nlimbalance-report-list-response-schema.json",
  "title": "NLImbalanceReportListResponse",
  "description": "Wrapped list of imbalance reports.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/engrate-nl-settlement-api-openapi.yml#/components/schemas/NLImbalanceReportListResponse",
  "properties": {
    "items": {
      "description": "Imbalance reports.",
      "items": {
        "$ref": "#/$defs/NLImbalanceReportResponse"
      },
      "title": "Items",
      "type": "array"
    }
  },
  "required": [
    "items"
  ],
  "type": "object",
  "$defs": {
    "NLImbalanceReportResponse": {
      "description": "Imbalance report header as returned in list views.",
      "properties": {
        "created_ts": {
          "description": "Record creation timestamp.",
          "format": "date-time",
          "title": "Created Ts",
          "type": "string"
        },
        "doc_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Document status code (e.g. A01=active, A02=withdrawn).",
          "title": "Doc Status"
        },
        "document_mrid": {
          "description": "TenneT document identifier (mRID).",
          "title": "Document Mrid",
          "type": "string"
        },
        "market_participant_ean": {
          "description": "BRP EAN-13 identifier.",
          "title": "Market Participant Ean",
          "type": "string"
        },
        "received_ts": {
          "description": "When the report was received.",
          "format": "date-time",
          "title": "Received Ts",
          "type": "string"
        },
        "report_date": {
          "description": "Report date.",
          "format": "date",
          "title": "Report Date",
          "type": "string"
        },
        "revision_number": {
          "description": "Document revision.",
          "title": "Revision Number",
          "type": "integer"
        },
        "uid": {
          "description": "Report UID.",
          "title": "Uid",
          "type": "string"
        }
      },
      "required": [
        "created_ts",
        "document_mrid",
        "market_participant_ean",
        "received_ts",
        "report_date",
        "revision_number",
        "uid"
      ],
      "title": "NLImbalanceReportResponse",
      "type": "object"
    }
  }
}