'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = {
  serviceName: 'Taxon',
  servicePath: 'taxonomyauthority',
  serviceType: 'authority',

  objectName: 'Taxon',
  documentName: 'taxon',

  quickAddData: function quickAddData(values) {
    return {
      document: {
        'ns2:taxon_common': {
          '@xmlns:ns2': 'http://collectionspace.org/services/taxonomy',
          taxonTermGroupList: {
            taxonTermGroup: {
              termDisplayName: values.displayName
            }
          }
        }
      }
    };
  }
};