You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: testStringServices.m
    path of file: ./repos/fieldtrip/external/hedtools
    
    the code of the file until where you have to start completion: function errors = testStringServices(host)
%% Shows how to call hed-services to process a list of hedstrings.
% 
%  Example 1: Validate valid list of strings using HED version.
%
%  Example 2: Validate invalid list of strings using HED URL.
%
%  Example 3: Validate invalid list of strings uploading HED schema.
%
%  Example 4: Convert valid strings to long using HED version.
%

%% Get the options and data
[servicesUrl, options] = getHostOptions(host);
data = getTestData();
errors = {};


%% Example 1: Validate valid list of strings using HED URL.
request1 = struct('service', 'strings_validate', ...
                  'schema_version', '8.0.0', ...
                  'string_list', '', ...
                  'check_warnings_validate', 'on');

    
function errors = testStringServices(host)
%% Shows how to call hed-services to process a list of hedstrings.
% 
%  Example 1: Validate valid list of strings using HED version.
%
%  Example 2: Validate invalid list of strings using HED URL.
%
%  Example 3: Validate invalid list of strings uploading HED schema.
%
%  Example 4: Convert valid strings to long using HED version.
%

%% Get the options and data
[servicesUrl, options] = getHostOptions(host);
data = getTestData();
errors = {};


%% Example 1: Validate valid list of strings using HED URL.
request1 = struct('service', 'strings_validate', ...
                  'schema_version', '8.0.0', ...
                  'string_list', '', ...
                  'check_warnings_validate', 'on');
request1.string_list = data.goodStrings;
response1 = webwrite(servicesUrl, request1, options);
response1 = jsondecode(response1);
outputReport(response1, 'Example 1 Validating a valid list of strings');
if ~isempty(response1.error_type) || ...
   ~strcmpi(response1.results.msg_category, 'success')
   errors{end