Update XML schema and API with account type field