---
title: "PendingApplicationAgeBucket"
url: "https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086/schemas/PendingApplicationAgeBucket"
---

> Full API specification: https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086.md

# PendingApplicationAgeBucket

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Policy Service
  version: 0.0.21
servers:
  - url: https://qa.api.zinnia.io
components:
  schemas:
    CaseStatCount:
      type: object
      properties:
        label:
          type: string
          description: Label of the grouped value
          example: IN_PROGRESS
        value:
          type: number
          description: Count for the grouped label
          example: 12
      required:
        - label
        - value
    PendingApplicationAgeBucket:
      type: object
      properties:
        label:
          type: string
          description: Display label for the bucket. The final bucket is suffixed with "+"
            and is open-ended, so "6+" holds cases 6 or more days old. Read
            fromDays/toDays rather than inferring bounds from the label.
          example: "3"
        fromDays:
          type: number
          description: Inclusive lower bound of the bucket, as case age in days
          example: 2
        toDays:
          type: number
          description: Exclusive upper bound of the bucket, as case age in days. Null on
            the final open-ended bucket.
          example: 3
          nullable: true
        count:
          type: number
          description: Number of pending applications falling in this age bucket
          example: 7
        counts:
          description: Breakdown of this bucket by case status
          type: array
          items:
            $ref: "#/components/schemas/CaseStatCount"
      required:
        - label
        - fromDays
        - toDays
        - count
        - counts
```
