{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/riskrouter-eu/json-schema/riskrouter-eu-ledger-export-schema.json",
  "title": "LedgerExport",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/riskrouter-eu-openapi.json#/components/schemas/LedgerExport",
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "const": "riskrouter-ledger-export|v1"
    },
    "attestation": {
      "$ref": "#/$defs/attestation"
    },
    "signature": {
      "$ref": "#/$defs/signature"
    },
    "counts": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "integer"
        },
        "yours": {
          "type": "integer"
        }
      }
    },
    "skeleton": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "chain_index": {
            "type": "integer"
          },
          "row_hash": {
            "type": "string"
          },
          "prev_hash": {
            "type": "string"
          }
        }
      }
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  }
}