{
  "metadata": {
    "title": "EDDIE UA – synthetic energy-data access example",
    "version": "0.1.0",
    "as_of": "2026-11-21",
    "not_an_official_api": true,
    "uses_real_eic": false,
    "uses_real_customer_data": false,
    "not_a_production_contract": true,
    "explanation": "All identities and values are fictitious. This is NOT an API schema, actual DataHub operation or AKO policy."
  },
  "context": {
    "point_id": "TKO-SYN-001",
    "point_id_kind": "synthetic_not_eic",
    "consumer": "Company-SYN-A",
    "representative": "Representative-SYN-R",
    "recipient": "Independent-Service-SYN-X",
    "external_brp": "BRP-SYN-B",
    "supplier_changed": false,
    "brp_changed": false,
    "physical_dispatch": false,
    "timezone": "Europe/Kyiv"
  },
  "scenarios": [
    {
      "id": "S01",
      "case_type": "scope_granted",
      "scoped_permission": {
        "permission_id": "PERM-SYN-001",
        "basis": "illustrative_authorisation_not_real_consent",
        "point_id": "TKO-SYN-001",
        "recipient": "Independent-Service-SYN-X",
        "valid_from": "2026-10-01T00:00:00Z",
        "valid_until": "2026-11-01T00:00:00Z",
        "data_period_from": "2026-10-01T00:00:00Z",
        "data_period_until": "2026-11-01T00:00:00Z",
        "capabilities": [
          "read_synthetic_intervals"
        ]
      },
      "request": {
        "point_id": "TKO-SYN-001",
        "recipient": "Independent-Service-SYN-X",
        "data_period_from": "2026-10-25T00:00:00Z",
        "data_period_until": "2026-10-25T01:30:00Z",
        "requested_at": "2026-10-25T02:00:00Z"
      },
      "expected_result": "ALLOW_IN_SYNTHETIC_MODEL"
    },
    {
      "id": "S02",
      "case_type": "dst_and_corrected_reading",
      "note": "Local 03:15 occurs twice on the 2026-10-25 clock change; the UTC timestamps are different.",
      "readings": [
        {
          "interval_start_utc": "2026-10-25T00:15:00Z",
          "interval_end_utc": "2026-10-25T00:30:00Z",
          "local_display": "2026-10-25 03:15 +03:00",
          "energy_kwh": 4.2,
          "quality": "ILLUSTRATIVE_VALIDATED",
          "revision": 1,
          "source": "METERING-SYN",
          "superseded_by_revision": 2
        },
        {
          "interval_start_utc": "2026-10-25T00:15:00Z",
          "interval_end_utc": "2026-10-25T00:30:00Z",
          "local_display": "2026-10-25 03:15 +03:00",
          "energy_kwh": 4.1,
          "quality": "ILLUSTRATIVE_CORRECTED",
          "revision": 2,
          "source": "METERING-SYN",
          "corrects_revision": 1
        },
        {
          "interval_start_utc": "2026-10-25T01:15:00Z",
          "interval_end_utc": "2026-10-25T01:30:00Z",
          "local_display": "2026-10-25 03:15 +02:00",
          "energy_kwh": null,
          "quality": "ILLUSTRATIVE_MISSING_NOT_ZERO",
          "revision": 1,
          "source": "METERING-SYN"
        }
      ],
      "expected_result": "DISTINGUISH_UTC_INSTANTS_PRESERVE_REVISIONS_AND_MISSING"
    },
    {
      "id": "S03",
      "case_type": "revocation",
      "revoked_permission_id": "PERM-SYN-001",
      "revoked_effective_at": "2026-10-25T04:00:00Z",
      "new_request": {
        "point_id": "TKO-SYN-001",
        "recipient": "Independent-Service-SYN-X",
        "data_period_from": "2026-10-01T00:00:00Z",
        "data_period_until": "2026-10-02T00:00:00Z",
        "requested_at": "2026-10-25T05:00:00Z",
        "only_basis": "PERM-SYN-001"
      },
      "expected_result": "DENY_IN_SYNTHETIC_MODEL",
      "independent_legal_basis_possible": true,
      "note": "This modeled denial does not cancel legally retained data, previously lawful processing or another independently valid legal basis."
    }
  ]
}
