{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scadenzario-app/json-schema/scadenzario-app-summary-schema.json",
  "title": "Summary",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scadenzario-app-openapi.json#/components/schemas/Summary",
  "type": "object",
  "required": [
    "overdue",
    "next_7_days",
    "next_30_days",
    "unpaid_amount"
  ],
  "properties": {
    "overdue": {
      "type": "object",
      "required": [
        "count",
        "amount"
      ],
      "properties": {
        "count": {
          "type": "integer"
        },
        "amount": {
          "type": "number"
        }
      }
    },
    "next_7_days": {
      "type": "object",
      "required": [
        "count",
        "amount"
      ],
      "properties": {
        "count": {
          "type": "integer"
        },
        "amount": {
          "type": "number"
        }
      }
    },
    "next_30_days": {
      "type": "object",
      "required": [
        "count",
        "amount"
      ],
      "properties": {
        "count": {
          "type": "integer"
        },
        "amount": {
          "type": "number"
        }
      }
    },
    "unpaid_amount": {
      "type": "number"
    }
  }
}