{
  "type": "record",
  "name": "UpdateAccountName",
  "namespace": "com.plumery.accounts.commands",
  "doc": "Command to update an account name",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "doc": "Unique identifier for the command"
    },
    {
      "name": "accountId",
      "type": "string",
      "doc": "ID of the account to be updated"
    },
    {
      "name": "partyId",
      "type": "string",
      "doc": "URI of the party"
    },
    {
      "name": "name",
      "type": "string",
      "doc": "New name for the account"
    },
    {
      "name": "originAccountId",
      "type": "string",
      "doc": "URI of the origin account"
    }
  ]
}