{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CardAccount",
  "title": "CardAccount",
  "description": "Account object that contains details about one or more aggregated card accounts.",
  "allOf": [
    {
      "$ref": "#/components/schemas/AccountInfo"
    }
  ],
  "properties": {
    "address": {
      "type": "string",
      "description": "address.",
      "readOnly": true
    },
    "totalCreditLine": {
      "description": "Total credit line is the amount of money that can be charged to a  credit card. If credit limit of $5,000 is issued on a credit card,  the total charges on the card cannot exceed this amount.",
      "allOf": [
        {
          "$ref": "#/components/schemas/Money"
        }
      ],
      "readOnly": true
    },
    "balance": {
      "description": "The amount that is currently owed on the credit card account. Equivalent to runningBalance.",
      "allOf": [
        {
          "$ref": "#/components/schemas/Money"
        }
      ],
      "readOnly": true
    },
    "runningBalance": {
      "description": "The amount that is currently owed on the credit card account.",
      "allOf": [
        {
          "$ref": "#/components/schemas/Money"
        }
      ],
      "readOnly": true
    },
    "amountDue": {
      "description": "The total amount due for the purchase of goods or services that must  be paid by the due date. ",
      "allOf": [
        {
          "$ref": "#/components/schemas/Money"
        }
      ],
      "readOnly": true
    },
    "lastUpdated": {
      "type": "string",
      "description": "last Updated.",
      "readOnly": true
    },
    "basicCreditCardUtilization": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BasicCreditCardUtilization"
        }
      ],
      "readOnly": true
    },
    "basicStatement": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BasicStatement"
      },
      "readOnly": true
    },
    "predictedInfo": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PredictedInfo"
        }
      ],
      "readOnly": true
    },
    "basicTransaction": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BasicTransaction"
      },
      "readOnly": true
    },
    "changeAPR": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ChangeAPR"
        }
      ],
      "readOnly": true
    }
  }
}