{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forwardai/json-schema/forwardai-due-overdue-trend-analysis-schema.json",
  "title": "DueOverdueTrendAnalysis",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forwardai-customer-analysis-api-openapi.yml#/components/schemas/DueOverdueTrendAnalysis",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "startDate": {
        "type": "string"
      },
      "endDate": {
        "type": "string"
      },
      "items": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "date": {
              "type": "string"
            },
            "dueDate": {
              "type": "string"
            },
            "refNumber": {
              "type": "string"
            },
            "amount": {
              "type": "number"
            },
            "balance": {
              "type": "number"
            },
            "dueDays": {
              "type": "number"
            },
            "aging": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}