{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://ledger.abivia.com/api/json/balance.schema.json",
  "title": "Balance Request",
  "description": "Ledger Account Balance request",
  "type": "object",
  "properties": {
    "code": {
      "description": "A unique code that identifies the account.",
      "type": "string"
    },
    "currency": {
      "description": "A currency code.",
      "type": "string"
    },
    "domain": {
      "description": "A reference to the request domain.",
      "type": "object",
      "$ref": "https://ledger.abivia.com/api/json/entityref.schema.json"
    },
    "range": {
      "description": "The first account code (if a range is requested).",
      "type": "string"
    },
    "uuid": {
      "description": "UUID of the account",
      "type": "string",
      "format": "uuid"
    }
  }
}
