{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divvy/json-schema/divvy-list-bill-user-approvals-response-dto-schema.json",
  "title": "ListBillUserApprovalsResponseDto",
  "description": "List Bill User Approvals Response Dto.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/divvy-bill-approvals-api-openapi.yml#/components/schemas/ListBillUserApprovalsResponseDto",
  "type": "object",
  "properties": {
    "bills": {
      "type": "array",
      "description": "List of bills pending approval",
      "items": {
        "$ref": "#/$defs/BillUserApprovalsResponseDto"
      }
    }
  },
  "$defs": {
    "BillUserApprovalsResponseDto": {
      "required": [
        "billId",
        "vendorId"
      ],
      "type": "object",
      "properties": {
        "billId": {
          "type": "string",
          "description": "BILL-generated ID of the bill. The value begins with `00n`."
        },
        "vendorId": {
          "type": "string",
          "description": "BILL-generated ID of the vendor. The value begins with `009`."
        },
        "amount": {
          "type": "number",
          "description": "Bill amount. This value is in USD."
        },
        "dueDate": {
          "type": "string",
          "description": "Bill due date. The value is in the `yyyy-MM-dd` format.",
          "format": "date"
        }
      },
      "description": "Bill User Approvals Response Dto."
    }
  }
}