code: function validateRequest (data, requestMethod) {
    if (!data.data) {
      return 'JSON API resource object must contain `data` property'
    }
  
    if (!data.data.type) {
      return 'JSON API resource object must contain `data.type` property'
    }
  
    if (['PATCH', 'PUT'].indexOf(requestMethod) > -1 && !data.data.id) {
      return 'JSON API resource object must contain `data.id` property'
    }
  
    return false
  }
docs: Check for errors in the request. If it has an error it will return a string, otherwise false.
  @private
  @memberOf {Deserialize}
  @param {Object} data
  @param {String} requestMethod
  @return {String|false}