{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AccountInfo", "title": "AccountInfo", "properties": { "id": { "type": "integer", "description": "The primary key of the account resource and the unique identifier for the account.

Support for Aggregated / Manual Accounts - Both Supported.
Applicable containers - All containers.", "readOnly": true }, "providerName": { "type": "string", "description": "Service provider or institution name where the account originates. This belongs to the provider resource.

Applicable containers: All containers", "readOnly": true }, "accountName": { "type": "string", "description": "description: The account name as it appears at the site. The POST accounts service response return this field as name.
Applicable containers - All readOnly: true" }, "accountNumber": { "type": "string", "description": "description: The account number as it appears on the site. (The POST accounts service response return this field as number)
Applicable containers - All Containers. readOnly: true" }, "accountType": { "type": "string", "description": "The type of account that is aggregated such as savings, checking, charge, etc., and manual accounts. The account type is derived based on the attributes of the account.", "readOnly": true, "enum": [ "CURRENT", "SAVING", "CHECKING" ] }, "accountStatus": { "type": "string", "description": "The status of account that is CLOSED, ACTIVE,TO_BE_CLOSED", "readOnly": true, "enum": [ "CLOSED", "ACTIVE", "TO_BE_CLOSED" ] }, "isAsset": { "type": "boolean", "description": "Indicates whether the balance is an asset or liability.
Applicable containers - bank, creditCard, investment, insurance, realEstate, and loan
", "readOnly": true }, "container": { "type": "string", "description": "The type of service. E.g., Bank, Credit Card, Investment, Insurance, etc.

Applicable containers - All containers
", "readOnly": true, "enum": [ "bank", "creditCard", "investment", "insurance", "loan", "reward", "bill", "realEstate", "otherAssets", "otherLiabilities" ] }, "link": { "allOf": [ { "$ref": "#/components/schemas/Link" } ], "readOnly": true } }, "required": [ "id", "providerName", "accountName", "accountNumber", "accountType", "isAsset", "container", "link", "accountStatus" ] }