{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/donolink/json-schema/donolink-stats-totaal-response-schema.json",
  "title": "StatsTotaalResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/donolink-openapi.json#/components/schemas/StatsTotaalResponse",
  "type": "object",
  "required": [
    "periode",
    "totaalCent",
    "aantal"
  ],
  "properties": {
    "periode": {
      "type": "string",
      "enum": [
        "vandaag",
        "24uur",
        "doel",
        "altijd"
      ]
    },
    "totaalCent": {
      "type": "integer",
      "minimum": 0
    },
    "aantal": {
      "type": "integer",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "description": "Currency of totaalCent (minor units): uppercase ISO 4217 code of the creator account. Older servers omit it; treat a missing value as EUR.",
      "enum": [
        "EUR",
        "PLN",
        "SEK",
        "DKK",
        "CZK",
        "HUF",
        "RON"
      ]
    }
  }
}