{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "getAccountInfo",
  "type": "object",
  "properties": {
    "sequence": {
      "$ref": "sequence",
      "description": "The next (smallest unused) sequence number for this account."
    },
    "xrpBalance": {
      "$ref": "value",
      "description": "The XRP balance owned by the account."
    },
    "ownerCount": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of other ledger entries (specifically, trust lines and offers) attributed to this account. This is used to calculate the total reserve required to use the account."
    },
    "previousInitiatedTransactionID": {
      "$ref": "hash256",
      "description": "Hash value representing the most recent transaction that was initiated by this account."
    },
    "previousAffectingTransactionID": {
      "$ref": "hash256",
      "description": "Hash value representing the most recent transaction that affected this account node directly. **Note:** This does not include changes to the account’s trust lines and offers."
    },
    "previousAffectingTransactionLedgerVersion": {
      "$ref": "ledgerVersion",
      "description": "The ledger version that the transaction identified by the `previousAffectingTransactionID` was validated in."
    }
  },
  "required": [
    "sequence",
    "xrpBalance",
    "ownerCount",
    "previousAffectingTransactionID",
    "previousAffectingTransactionLedgerVersion"
  ],
  "additionalProperties": false
}
