{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:DepositAccount",
  "title": "DepositAccount",
  "description": "A type of Bank Account with a main purpose of depositing funds to gain interest or other benefits.",
  "type": "object",
  "allOf": [
    {
      "description": "A product or service offered by a bank whereby one may deposit, withdraw or transfer money and in some cases be paid interest.",
      "$ref": "schema:BankAccount"
    },
    {
      "description": "A type of financial product that typically requires the client to transfer funds to a financial service in return for potential beneficial financial return.",
      "$ref": "schema:InvestmentOrDeposit"
    }
  ]
}
