{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/altoviz-com/json-schema/altoviz-com-unpaid-commitment-bucket-schema.json",
  "title": "UnpaidCommitmentBucket",
  "description": "One bucket of an aged balance, keyed by distance from today",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/altoviz-com-statistics-api-openapi.yml#/components/schemas/UnpaidCommitmentBucket",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of échéances in this bucket",
      "format": "int32"
    },
    "period": {
      "type": "integer",
      "description": "Negative is overdue, 0 is due today, positive is upcoming. -7 is more than 90 days late, 7 more\nthan 90 days ahead; the steps in between are 1, 7, 15, 30, 60 and 90 days.",
      "format": "int32"
    },
    "total": {
      "type": "number",
      "description": "Amount still due in this bucket",
      "format": "double"
    }
  },
  "additionalProperties": false
}