protected function resourceRelationships($record = null)
    {
        $validator = $this->validatorFactory()->relationships();
        $this->relationshipRules($validator, $record);

        return $validator;
    }