← Files Revenue ConcentrationARCHIVED FILE

EXAMPLE.json

1.16 KB · Nov 3, 2026 · 12:12 UTC

↓ Download file

{
  "input": {
    "revenues": [
      {
        "recordId": "01",
        "customer": "Alpha",
        "amount": 60
      },
      {
        "recordId": "02",
        "customer": "Beta",
        "amount": 20
      },
      {
        "recordId": "03",
        "customer": "Gamma",
        "amount": 20
      }
    ]
  },
  "expected": {
    "summary": "3 customers total 100.00 revenue; top customer share 60%.",
    "rows": [
      {
        "rank": 1,
        "customer": "Alpha",
        "revenue": 60,
        "sharePercent": 60
      },
      {
        "rank": 2,
        "customer": "Beta",
        "revenue": 20,
        "sharePercent": 20
      },
      {
        "rank": 3,
        "customer": "Gamma",
        "revenue": 20,
        "sharePercent": 20
      },
      {
        "rank": 0,
        "customer": "TOTAL / CONCENTRATION",
        "revenue": 100,
        "sharePercent": 100,
        "topOnePercent": 60,
        "topThreePercent": 100,
        "concentrationIndex": 4400
      }
    ],
    "warnings": [
      "One supplied period and currency; excludes refunds and future-risk prediction.",
      "Zero total has undefined shares and concentration."
    ]
  }
}

SHA-256: ca5017a1ac30f7bf66c7daccb8e033d47037192861d994851205cacf34251618