// application/vnd.oada.user.1+json
module.exports = function(opts) {
  opts = opts || {};
  var _example = {
    bookmarks: { _id: 'kdjsl028ifej', _rev: '2-djfh92843hj' },
    username: 'Frank',
    name: 'Farmer Frank',
    family_name: 'Frank',
    given_name: 'Farmer',
    middle_name: '',
    nickname: 'Frankie',
    email: 'frank@openag.io',
  };
  for (var i in opts) {
    if (_example[i]) _example[i] = opts[i]; // override any keys with value in opts:
  }
  return _example;
};

// application/vnd.oada.user.1+json
module.exports = function(opts) {
  opts = opts || {};
  var _example = {
    bookmarks: { _id: 'kdjsl028ifej', _rev: '2-djfh92843hj' },
    username: 'frank',
    name: 'Farmer Frank',
    family_name: 'Frank',
    given_name: 'Farmer',
    middle_name: '',
    nickname: 'Frankie',
    email: 'frank@openag.io',
  };
  for (var i in opts) {
    if (_example[i]) _example[i] = opts[i]; // override any keys with value in opts:
  }
  return _example;
};

Fix to username in user example
Fix to username in user example
