<?php

use Illuminate\Support\Arr;
use Illuminate\Database\Seeder;
use App\Services\MemberService;
use App\Services\ContactService;
use kamermans\OAuth2\GrantType\ClientCredentials;
use kamermans\OAuth2\OAuth2Middleware;
use GuzzleHttp\HandlerStack;

class MemberSeeder extends Seeder
{
    const MEMBER_TYPE_ENUM_FIRST = 'A';
    const MEMBER_TYPE_ENUM_LAST = 'J';

    /**
     * Run the database seeds.
     *
     * @return void
     */

    private $memberService;
    private $contactService;

    public function __construct(
        MemberService $memberService,
        ContactService $contactService
    )
    {
        $this->memberService = $memberService;
        $this->contactService = $contactService;
    }

    public function run()
    {
        $members =



        [[
            'id' => 11,
            'informal_name' => 'Altrecht',
            'formal_name' => 'Stichting Altrecht',
            'contacts' => [

                        [
                            'email' => 'k.mensink@altrecht.nl',
                            'email_cc' => 'k.mensink@altrecht.nl',
                            'firstname' => 'Karin ',
                            'middlename' => '',
                            'lastname' => 'Mensink',
                        ],

                        [
                            'email' => 'p.govers@altrecht.nl',
                            'email_cc' => 'p.govers@altrecht.nl',
                            'firstname' => 'Paul ',
                            'middlename' => '',
                            'lastname' => 'Govers',
                        ],
                    ]],[
            'id' => 21,
            'informal_name' => 'Arkin',
            'formal_name' => 'Stichting Arkin',
            'contacts' => [

                        [
                            'email' => 'lieke.dudink@arkin.nl',
                            'email_cc' => 'lieke.dudink@arkin.nl',
                            'firstname' => 'Lieke ',
                            'middlename' => '',
                            'lastname' => 'Dudink',
                        ],

                        [
                            'email' => 'anny.hartstra@arkin.nl',
                            'email_cc' => 'anny.hartstra@arkin.nl',
                            'firstname' => 'Anny ',
                            'middlename' => '',
                            'lastname' => 'Hartstra',
                        ],

                        [
                            'email' => 'milja.helmus@arkin.nl',
                            'email_cc' => 'milja.helmus@arkin.nl',
                            'firstname' => 'Milja ',
                            'middlename' => '',
                            'lastname' => 'Helmus',
                        ],

                        [
                            'email' => 'lisette.kole@arkin.nl',
                            'email_cc' => 'lisette.kole@arkin.nl',
                            'firstname' => 'Lisette',
                            'middlename' => '',
                            'lastname' => ' Kole',
                        ],
                    ]],[
            'id' => 95,
            'informal_name' => 'Centrale RINO B.V.',
            'formal_name' => 'Centrale RINO B.V.',
            'contacts' => [

                        [
                            'email' => 'm.jekel@rinogroep.nl',
                            'email_cc' => 'm.jekel@rinogroep.nl',
                            'firstname' => 'Mariëlle ',
                            'middlename' => '',
                            'lastname' => 'Jekel',
                        ],

                        [
                            'email' => 'r.de.haan@rinogroep.nl',
                            'email_cc' => 'r.de.haan@rinogroep.nl',
                            'firstname' => 'Renée  ',
                            'middlename' => 'de',
                            'lastname' => 'Haan',
                        ],
                    ]],[
            'id' => 1,
            'informal_name' => 'Centrum voor Transculturele Psychiatrie Veldzicht',
            'formal_name' => 'CTP Veldzicht',
            'contacts' => [

                        [
                            'email' => 'bertine.prins@dji.minjus.nl',
                            'email_cc' => 'bertine.prins@dji.minjus.nl',
                            'firstname' => 'Bertine ',
                            'middlename' => '',
                            'lastname' => 'Prins',
                        ],

                        [
                            'email' => 'j.h.de.bruin@dji.minjus.nl',
                            'email_cc' => 'j.h.de.bruin@dji.minjus.nl',
                            'firstname' => 'Jarno  ',
                            'middlename' => 'de',
                            'lastname' => 'Bruin',
                        ],
                    ]],[
            'id' => 73,
            'informal_name' => 'Cordaan',
            'formal_name' => 'Stichting Cordaan',
            'contacts' => [

                        [
                            'email' => 'fgrunwald@cordaan.nl',
                            'email_cc' => 'fgrunwald@cordaan.nl',
                            'firstname' => 'Florien',
                            'middlename' => '',
                            'lastname' => ' Grunwald',
                        ],

                        [
                            'email' => 'theemskerk@cordaan.nl',
                            'email_cc' => 'theemskerk@cordaan.nl',
                            'firstname' => 'Thomas ',
                            'middlename' => '',
                            'lastname' => 'Heemskerk',
                        ],

                        [
                            'email' => 'nvanvliet@cordaan.nl',
                            'email_cc' => 'nvanvliet@cordaan.nl',
                            'firstname' => 'Nel ',
                            'middlename' => 'van ',
                            'lastname' => 'Vliet',
                        ],
                    ]],[
            'id' => 60,
            'informal_name' => 'De Viersprong Academy',
            'formal_name' => 'Stichting De Viersprong',
            'contacts' => [

                        [
                            'email' => 'addy.van.eekelen@deviersprongacademy.nl',
                            'email_cc' => 'addy.van.eekelen@deviersprongacademy.nl',
                            'firstname' => 'Addy  ',
                            'middlename' => 'van',
                            'lastname' => 'Eekelen',
                        ],

                        [
                            'email' => 'danielle.beverloo@deviersprongacademy.nl',
                            'email_cc' => 'danielle.beverloo@deviersprongacademy.nl',
                            'firstname' => 'Daniëlle ',
                            'middlename' => '',
                            'lastname' => 'Beverloo',
                        ],
                    ]],[
            'id' => 61,
            'informal_name' => 'Dienst Justitiële Inrichtingen',
            'formal_name' => 'Dienst Justitiële Inrichtingen',
            'contacts' => [

                        [
                            'email' => 'l.palmen@dji.minjus.nl',
                            'email_cc' => 'l.palmen@dji.minjus.nl',
                            'firstname' => 'Leon',
                            'middlename' => '',
                            'lastname' => 'Palmen',
                        ],

                        [
                            'email' => 'd.holland@dji.minjus.nl',
                            'email_cc' => 'd.holland@dji.minjus.nl',
                            'firstname' => 'Dy-Anne',
                            'middlename' => '',
                            'lastname' => ' Holland',
                        ],
                    ]],[
            'id' => 12,
            'informal_name' => 'Dimence Groep',
            'formal_name' => 'Dimence Groep',
            'contacts' => [

                        [
                            'email' => 'l.broekhof@dimencegroep.nl',
                            'email_cc' => 'l.broekhof@dimencegroep.nl',
                            'firstname' => 'Lynda ',
                            'middlename' => '',
                            'lastname' => 'Broekhof',
                        ],

                        [
                            'email' => 'a.blok@dimencegroep.nl',
                            'email_cc' => 'a.blok@dimencegroep.nl',
                            'firstname' => 'Anneke ',
                            'middlename' => '',
                            'lastname' => 'Blok-Velvis',
                        ],

                        [
                            'email' => 'j.heuten@dimencegroep.nl',
                            'email_cc' => 'j.heuten@dimencegroep.nl',
                            'firstname' => 'Jasper',
                            'middlename' => '',
                            'lastname' => 'Heuten',
                        ],
                    ]],[
            'id' => 28,
            'informal_name' => 'Emergis',
            'formal_name' => 'Stichting Emergis',
            'contacts' => [

                        [
                            'email' => 'schrauwen@emergis.nl',
                            'email_cc' => 'schrauwen@emergis.nl',
                            'firstname' => 'Denia ',
                            'middlename' => '',
                            'lastname' => 'Schrauwen',
                        ],
                    ]],[
            'id' => 41,
            'informal_name' => 'Fivoor B.V.',
            'formal_name' => 'Fivoor BV (voorheen lidmaatschap FPC de Kijvelanden)',
            'contacts' => [

                        [
                            'email' => 'bianca.steeman@fivoor.nl',
                            'email_cc' => 'bianca.steeman@fivoor.nl',
                            'firstname' => 'Bianca ',
                            'middlename' => '',
                            'lastname' => 'Steeman',
                        ],

                        [
                            'email' => 'linda.kroon@fivoor.nl',
                            'email_cc' => 'linda.kroon@fivoor.nl',
                            'firstname' => 'Linda',
                            'middlename' => '',
                            'lastname' => ' Kroon',
                        ],
                    ]],[
            'id' => 37,
            'informal_name' => 'FPC De Rooyse Wissel',
            'formal_name' => 'Stichting Forensisch Psychiatrisch Instituut De Rooyse Wissel',
            'contacts' => [

                        [
                            'email' => 'vvanwijk@derooysewissel.nl',
                            'email_cc' => 'vvanwijk@derooysewissel.nl',
                            'firstname' => 'Valeska ',
                            'middlename' => 'van ',
                            'lastname' => 'Wijk',
                        ],

                        [
                            'email' => 'jkeijsers@derooysewissel.nl',
                            'email_cc' => 'jkeijsers@derooysewissel.nl',
                            'firstname' => 'Jill ',
                            'middlename' => '',
                            'lastname' => 'Keijsers',
                        ],

                        [
                            'email' => 'mstruijk@derooysewissel.nl',
                            'email_cc' => 'mstruijk@derooysewissel.nl',
                            'firstname' => 'Monique ',
                            'middlename' => '',
                            'lastname' => 'Struijk',
                        ],
                    ]],[
            'id' => 35,
            'informal_name' => 'FPC Dr. S. van Mesdag',
            'formal_name' => 'Stichting Forensische Psychiatrisch Centrum Dr. S. Van Mesdag',
            'contacts' => [

                        [
                            'email' => 'e.hoekzema@fpcvanmesdag.nl',
                            'email_cc' => 'e.hoekzema@fpcvanmesdag.nl',
                            'firstname' => 'Erzo',
                            'middlename' => '',
                            'lastname' => 'Hoekzema',
                        ],

                        [
                            'email' => 'm.scholte@fpcvanmesdag.nl',
                            'email_cc' => 'm.scholte@fpcvanmesdag.nl',
                            'firstname' => 'Marja ',
                            'middlename' => '',
                            'lastname' => 'Scholte',
                        ],
                    ]],[
            'id' => 39,
            'informal_name' => 'FPC Oostvaarderskliniek',
            'formal_name' => 'FPC Oostvaarderskliniek',
            'contacts' => [

                        [
                            'email' => 'l.gerritsen2@dji.minjus.nl',
                            'email_cc' => 'l.gerritsen2@dji.minjus.nl',
                            'firstname' => 'Lukas ',
                            'middlename' => '',
                            'lastname' => 'Gerritsen',
                        ],

                        [
                            'email' => 'naomidkoning@dji.minjus.nl',
                            'email_cc' => 'naomidkoning@dji.minjus.nl',
                            'firstname' => 'Naomi  ',
                            'middlename' => 'de',
                            'lastname' => 'Koning',
                        ],
                    ]],[
            'id' => 30,
            'informal_name' => 'GGNet',
            'formal_name' => 'Stichting GGNet',
            'contacts' => [

                        [
                            'email' => 'n.weijers-croonenberg@ggnet.nl',
                            'email_cc' => 'n.weijers-croonenberg@ggnet.nl',
                            'firstname' => 'Niek ',
                            'middlename' => '',
                            'lastname' => 'Weijers-Croonenberg',
                        ],

                        [
                            'email' => 'a.karnebeek@ggnet.nl',
                            'email_cc' => 'a.karnebeek@ggnet.nl',
                            'firstname' => 'Annelies ',
                            'middlename' => '',
                            'lastname' => 'Karnebeek',
                        ],

                        [
                            'email' => 'j.planting@ggnet.nl',
                            'email_cc' => 'j.planting@ggnet.nl',
                            'firstname' => 'Jan ',
                            'middlename' => '',
                            'lastname' => 'Planting',
                        ],
                    ]],[
            'id' => 27,
            'informal_name' => 'GGz Centraal',
            'formal_name' => 'Stichting GGz Centraal',
            'contacts' => [

                        [
                            'email' => 'm.lavrijsen@ggzcentraal.nl',
                            'email_cc' => 'm.lavrijsen@ggzcentraal.nl',
                            'firstname' => 'Mariëtte ',
                            'middlename' => '',
                            'lastname' => 'Lavrijsen',
                        ],

                        [
                            'email' => 's.benjamins@ggzcentraal.nl',
                            'email_cc' => 's.benjamins@ggzcentraal.nl',
                            'firstname' => 'Sinanda ',
                            'middlename' => '',
                            'lastname' => 'Benjamins',
                        ],

                        [
                            'email' => 'm.voorhaar@ggzcentraal.nl',
                            'email_cc' => 'm.voorhaar@ggzcentraal.nl',
                            'firstname' => 'Marije ',
                            'middlename' => '',
                            'lastname' => 'Voorhaar',
                        ],

                        [
                            'email' => 'l.vanwerkhooven@ggzcentraal.nl',
                            'email_cc' => 'l.vanwerkhooven@ggzcentraal.nl',
                            'firstname' => 'Linda  ',
                            'middlename' => 'van',
                            'lastname' => 'Werkhooven',
                        ],
                    ]],[
            'id' => 55,
            'informal_name' => 'GGz Curaçao',
            'formal_name' => 'Stichting GGz Curaçao',
            'contacts' => [

                        [
                            'email' => 'bbeerlage@ggz.cw',
                            'email_cc' => 'bbeerlage@ggz.cw',
                            'firstname' => 'Berthold ',
                            'middlename' => '',
                            'lastname' => 'Beerlage',
                        ],
                    ]],[
            'id' => 3,
            'informal_name' => 'GGZ Delfland',
            'formal_name' => 'Stichting Geestelijke Gezondheidszorg Delfland',
            'contacts' => [

                        [
                            'email' => 'm.vanderbrugge@ggz-delfland.nl',
                            'email_cc' => 'm.vanderbrugge@ggz-delfland.nl',
                            'firstname' => 'Marleen  ',
                            'middlename' => 'van der',
                            'lastname' => 'Brugge',
                        ],

                        [
                            'email' => 'd.hoogendam@ggz-delfland.nl',
                            'email_cc' => 'd.hoogendam@ggz-delfland.nl',
                            'firstname' => 'Dianne',
                            'middlename' => '',
                            'lastname' => 'Hoogendam',
                        ],

                        [
                            'email' => 'g.oechies@ggz-delfland.nl',
                            'email_cc' => 'g.oechies@ggz-delfland.nl',
                            'firstname' => 'Gerrit Jan ',
                            'middlename' => '',
                            'lastname' => 'Oechies',
                        ],
                    ]],[
            'id' => 22,
            'informal_name' => 'GGZ Drenthe',
            'formal_name' => 'Stichting GGZ Drenthe',
            'contacts' => [

                        [
                            'email' => 'sanne.hiehle@ggzdrenthe.nl',
                            'email_cc' => 'sanne.hiehle@ggzdrenthe.nl',
                            'firstname' => 'Sanne ',
                            'middlename' => '',
                            'lastname' => 'Hiehle',
                        ],
                    ]],[
            'id' => 15,
            'informal_name' => 'GGZ Friesland',
            'formal_name' => 'Stichting GGZ Friesland',
            'contacts' => [

                        [
                            'email' => 'jan.brinkman@ggzfriesland.nl',
                            'email_cc' => 'jan.brinkman@ggzfriesland.nl',
                            'firstname' => 'Jan ',
                            'middlename' => '',
                            'lastname' => 'Brinkman',
                        ],

                        [
                            'email' => 'yolanda.van.der.veen@ggzfriesland.nl',
                            'email_cc' => 'yolanda.van.der.veen@ggzfriesland.nl',
                            'firstname' => 'Yolanda',
                            'middlename' => 'van der',
                            'lastname' => 'Veenstra',
                        ],
                    ]],[
            'id' => 14,
            'informal_name' => 'GGZ inGeest',
            'formal_name' => 'Stichting GGZ inGeest',
            'contacts' => [

                        [
                            'email' => 'a.vanderheijden@ggzingeest.nl',
                            'email_cc' => 'a.vanderheijden@ggzingeest.nl',
                            'firstname' => 'Alex  ',
                            'middlename' => 'van der',
                            'lastname' => 'Heijden',
                        ],
                    ]],[
            'id' => 13,
            'informal_name' => 'GGzE',
            'formal_name' => 'Stichting Geïntegreerde Geestelijke Gezondheidszorg in Eindhoven en de Kempen',
            'contacts' => [

                        [
                            'email' => 'yvonne.gerrits@ggze.nl',
                            'email_cc' => 'yvonne.gerrits@ggze.nl',
                            'firstname' => 'Yvonne ',
                            'middlename' => '',
                            'lastname' => 'Gerrits',
                        ],

                        [
                            'email' => 'wendy.aartsen@ggze.nl',
                            'email_cc' => 'wendy.aartsen@ggze.nl',
                            'firstname' => 'Wendy ',
                            'middlename' => '',
                            'lastname' => 'Aartsen',
                        ],
                    ]],[
            'id' => 69,
            'informal_name' => 'Hanzehogeschool Groningen',
            'formal_name' => 'Stichting Hanzehogeschool Groningen',
            'contacts' => [

                        [
                            'email' => 'm.s.delfgou@pl.hanze.nl',
                            'email_cc' => 'm.s.delfgou@pl.hanze.nl',
                            'firstname' => 'Niek ',
                            'middlename' => '',
                            'lastname' => 'Delfgou',
                        ],

                        [
                            'email' => 'r.a.m.hofstee@pl.hanze.nl',
                            'email_cc' => 'r.a.m.hofstee@pl.hanze.nl',
                            'firstname' => 'Roeland ',
                            'middlename' => '',
                            'lastname' => 'Hofstee',
                        ],

                        [
                            'email' => 'b.s.mook@pl.hanze.nl',
                            'email_cc' => 'b.s.mook@pl.hanze.nl',
                            'firstname' => 'Babz ',
                            'middlename' => '',
                            'lastname' => 'Mook',
                        ],
                    ]],[
            'id' => 77,
            'informal_name' => 'Hogeschool Arnhem en Nijmegen',
            'formal_name' => 'Hogeschool van Arnhem en Nijmegen',
            'contacts' => [

                        [
                            'email' => 'minor.ggz-agoog@han.nl',
                            'email_cc' => 'minor.ggz-agoog@han.nl',
                            'firstname' => 'Iris  ',
                            'middlename' => 'Te',
                            'lastname' => 'Paske',
                        ],
                    ]],[
            'id' => 64,
            'informal_name' => 'Hogeschool Rotterdam',
            'formal_name' => 'Stichting Hogeschool Rotterdam/ Instituut Sociale Opleidingen',
            'contacts' => [

                        [
                            'email' => 's.van.wijngaarden-meier@hr.nl',
                            'email_cc' => 's.van.wijngaarden-meier@hr.nl',
                            'firstname' => 'Sarah ',
                            'middlename' => 'van ',
                            'lastname' => 'Wijngaarden-Meier',
                        ],
                    ]],[
            'id' => 8,
            'informal_name' => 'HVO-Querido',
            'formal_name' => 'Stichting HVO-Querido',
            'contacts' => [

                        [
                            'email' => 'femke.scheepens@hvoquerido.nl',
                            'email_cc' => 'femke.scheepens@hvoquerido.nl',
                            'firstname' => 'Femke ',
                            'middlename' => '',
                            'lastname' => 'Scheepens',
                        ],

                        [
                            'email' => 'inge.de.jongh@hvoquerido.nl',
                            'email_cc' => 'inge.de.jongh@hvoquerido.nl',
                            'firstname' => 'Inge  ',
                            'middlename' => 'de',
                            'lastname' => 'Jongh',
                        ],
                    ]],[
            'id' => 78,
            'informal_name' => 'Impegno Nederland B.V.',
            'formal_name' => 'Impegno Nederland B.V.',
            'contacts' => [

                        [
                            'email' => 'l.dejonghlangereis@impegno.nl',
                            'email_cc' => 'l.dejonghlangereis@impegno.nl',
                            'firstname' => 'Linda ',
                            'middlename' => 'de',
                            'lastname' => 'Jongh-Langereis',
                        ],

                        [
                            'email' => 'b.vanduren@impegno.nl',
                            'email_cc' => 'b.vanduren@impegno.nl',
                            'firstname' => 'Bas  ',
                            'middlename' => 'van',
                            'lastname' => 'Duren',
                        ],
                    ]],[
            'id' => 48,
            'informal_name' => 'Indigo Service Organisatie',
            'formal_name' => 'Indigo Service Organisatie B.V.',
            'contacts' => [

                        [
                            'email' => 'ernst@indigoservice.org',
                            'email_cc' => 'ernst@indigoservice.org',
                            'firstname' => 'Ernst  ',
                            'middlename' => 'de',
                            'lastname' => 'Jong',
                        ],
                    ]],[
            'id' => 23,
            'informal_name' => 'IrisZorg',
            'formal_name' => 'Stichting IrisZorg',
            'contacts' => [

                        [
                            'email' => 's.grood@iriszorg.nl',
                            'email_cc' => 's.grood@iriszorg.nl',
                            'firstname' => 'Suzanne  ',
                            'middlename' => 'de',
                            'lastname' => 'Grood',
                        ],
                    ]],[
            'id' => 16,
            'informal_name' => 'Kwintes',
            'formal_name' => 'Stichting Kwintes',
            'contacts' => [

                        [
                            'email' => 'h.pleiter@kwintes.nl',
                            'email_cc' => 'h.pleiter@kwintes.nl',
                            'firstname' => 'Hariët ',
                            'middlename' => '',
                            'lastname' => 'Pleiter',
                        ],

                        [
                            'email' => 'leonne.tuithof@kwintes.nl',
                            'email_cc' => 'leonne.tuithof@kwintes.nl',
                            'firstname' => 'Léonne ',
                            'middlename' => '',
                            'lastname' => 'Tuithof',
                        ],

                        [
                            'email' => 'nathalie.vrakking@kwintes.nl',
                            'email_cc' => 'nathalie.vrakking@kwintes.nl',
                            'firstname' => 'Nathalie ',
                            'middlename' => '',
                            'lastname' => 'Vrakking',
                        ],
                    ]],[
            'id' => 40,
            'informal_name' => 'LEVANTOgroep ',
            'formal_name' => 'Stichting LEVANTOgroep',
            'contacts' => [

                        [
                            'email' => 'petra.meertens@levantogroep.nl',
                            'email_cc' => 'petra.meertens@levantogroep.nl',
                            'firstname' => 'Petra ',
                            'middlename' => '',
                            'lastname' => 'Meertens',
                        ],

                        [
                            'email' => 'danielle.vandenhove@levantogroep.nl',
                            'email_cc' => 'danielle.vandenhove@levantogroep.nl',
                            'firstname' => 'Danielle ',
                            'middlename' => '',
                            'lastname' => 'Vandenhove',
                        ],
                    ]],[
            'id' => 2,
            'informal_name' => 'Lister',
            'formal_name' => 'Stichting Beschermende Woonvormen Utrecht',
            'contacts' => [

                        [
                            'email' => 'mariekevanlieshout@lister.nl',
                            'email_cc' => 'mariekevanlieshout@lister.nl',
                            'firstname' => 'Marieke ',
                            'middlename' => 'van',
                            'lastname' => 'Lieshout',
                        ],

                        [
                            'email' => 'wesselboes@lister.nl',
                            'email_cc' => 'wesselboes@lister.nl',
                            'firstname' => 'Wessel ',
                            'middlename' => '',
                            'lastname' => 'Boes',
                        ],

                        [
                            'email' => 'martijnkole@lister.nl',
                            'email_cc' => 'martijnkole@lister.nl',
                            'firstname' => 'Martijn',
                            'middlename' => '',
                            'lastname' => ' Kole',
                        ],

                        [
                            'email' => 'helgarosendaal@lister.nl',
                            'email_cc' => 'helgarosendaal@lister.nl',
                            'firstname' => 'Helga ',
                            'middlename' => '',
                            'lastname' => 'Rosendaal',
                        ],
                    ]],[
            'id' => 4,
            'informal_name' => 'MET ggz',
            'formal_name' => 'Stichting METggz',
            'contacts' => [

                        [
                            'email' => 'jidink@metggz.nl',
                            'email_cc' => 'jidink@metggz.nl',
                            'firstname' => 'Jolanda ',
                            'middlename' => '',
                            'lastname' => 'Idink',
                        ],
                    ]],[
            'id' => 29,
            'informal_name' => 'Mondriaan',
            'formal_name' => 'Stichting Mondriaan',
            'contacts' => [

                        [
                            'email' => 'w.postma@mondriaan.eu',
                            'email_cc' => 'w.postma@mondriaan.eu',
                            'firstname' => 'Wietske',
                            'middlename' => '',
                            'lastname' => 'Postma',
                        ],
                    ]],[
            'id' => 100,
            'informal_name' => 'Onder de bomen B.V.',
            'formal_name' => 'Onder de Bomen B.V.',
            'contacts' => [

                        [
                            'email' => 'daan@onderdebomen.nl',
                            'email_cc' => 'daan@onderdebomen.nl',
                            'firstname' => 'Daan  ',
                            'middlename' => 'van',
                            'lastname' => 'As',
                        ],
                    ]],[
            'id' => 5,
            'informal_name' => 'Pameijer',
            'formal_name' => 'Stichting Pameijer Bestuurscentrum',
            'contacts' => [

                        [
                            'email' => 'annemarie.burik@pameijer.nl',
                            'email_cc' => 'annemarie.burik@pameijer.nl',
                            'firstname' => 'Annemarie ',
                            'middlename' => '',
                            'lastname' => 'Burik',
                        ],

                        [
                            'email' => 'anne.woudstra@pameijer.nl',
                            'email_cc' => 'anne.woudstra@pameijer.nl',
                            'firstname' => 'Anne ',
                            'middlename' => '',
                            'lastname' => 'Woudstra-Toprak',
                        ],
                    ]],[
            'id' => 19,
            'informal_name' => 'Parnassia Groep',
            'formal_name' => 'Parnassia Groep B.V.',
            'contacts' => [

                        [
                            'email' => 'm.vanes@parnassiabavogroep.nl',
                            'email_cc' => 'm.vanes@parnassiabavogroep.nl',
                            'firstname' => 'Marjan ',
                            'middlename' => '',
                            'lastname' => 'Meinema - van Es',
                        ],

                        [
                            'email' => 's.hartman@parnassiagroep.nl',
                            'email_cc' => 's.hartman@parnassiagroep.nl',
                            'firstname' => 'Sietske ',
                            'middlename' => '',
                            'lastname' => 'Hartman',
                        ],

                        [
                            'email' => 't.schoenmakers@parnassiagroep.nl',
                            'email_cc' => 't.schoenmakers@parnassiagroep.nl',
                            'firstname' => 'Tessa ',
                            'middlename' => '',
                            'lastname' => 'Schoenmakers',
                        ],
                    ]],[
            'id' => 98,
            'informal_name' => 'perMens ',
            'formal_name' => 'Stichting Volksbond Streetcornerwork',
            'contacts' => [

                        [
                            'email' => 'bernadette.oudenrijn@vbscw.nl',
                            'email_cc' => 'bernadette.oudenrijn@vbscw.nl',
                            'firstname' => 'Bernadette ',
                            'middlename' => 'van den ',
                            'lastname' => 'Oudenrijn',
                        ],

                        [
                            'email' => 'annelies.voorneveld@vbscw.nl',
                            'email_cc' => 'annelies.voorneveld@vbscw.nl',
                            'firstname' => 'Annelies ',
                            'middlename' => '',
                            'lastname' => 'Voorneveld',
                        ],
                    ]],[
            'id' => 44,
            'informal_name' => 'PI Vught ',
            'formal_name' => 'PI Vught',
            'contacts' => [

                        [
                            'email' => 'a.versantvoort@dji.minjus.nl',
                            'email_cc' => 'a.versantvoort@dji.minjus.nl',
                            'firstname' => 'Annet ',
                            'middlename' => '',
                            'lastname' => 'Versantvoort',
                        ],

                        [
                            'email' => 'r.v.faassen@dji.minjus.nl',
                            'email_cc' => 'r.v.faassen@dji.minjus.nl',
                            'firstname' => 'Rien ',
                            'middlename' => 'van',
                            'lastname' => 'Faassen',
                        ],

                        [
                            'email' => 'a.vanson@dji.minjus.nl',
                            'email_cc' => 'a.vanson@dji.minjus.nl',
                            'firstname' => 'Annet  ',
                            'middlename' => 'van',
                            'lastname' => 'Son',
                        ],
                    ]],[
            'id' => 74,
            'informal_name' => 'Pi-groep Zorg B.V.',
            'formal_name' => 'Pi-groep Zorg B.V.',
            'contacts' => [

                        [
                            'email' => 'v.hogeveen@pi-groep.eu',
                            'email_cc' => 'v.hogeveen@pi-groep.eu',
                            'firstname' => 'Vera ',
                            'middlename' => '',
                            'lastname' => 'Hogeveen',
                        ],

                        [
                            'email' => 'monique.dejong@pi-groep.eu',
                            'email_cc' => 'monique.dejong@pi-groep.eu',
                            'firstname' => 'Monique ',
                            'middlename' => 'de',
                            'lastname' => 'Jong',
                        ],
                    ]],[
            'id' => 24,
            'informal_name' => 'Pro Persona Academie',
            'formal_name' => 'Stichting Pro Persona Holding',
            'contacts' => [

                        [
                            'email' => 'n.caerteling@propersona.nl',
                            'email_cc' => 'n.caerteling@propersona.nl',
                            'firstname' => 'Nora ',
                            'middlename' => '',
                            'lastname' => 'Caerteling',
                        ],
                    ]],[
            'id' => 56,
            'informal_name' => 'RIBW Arnhem en Veluwe-Vallei',
            'formal_name' => 'Stichting Regionale Instelling voor Beschermd Wonen Arnhem en Veluwe-Vallei',
            'contacts' => [

                        [
                            'email' => 'm.harsema@ribwavv.nl',
                            'email_cc' => 'm.harsema@ribwavv.nl',
                            'firstname' => 'Marjolein ',
                            'middlename' => '',
                            'lastname' => 'Harsema',
                        ],
                    ]],[
            'id' => 76,
            'informal_name' => 'RIBW Brabant',
            'formal_name' => 'Stichting RIBW Brabant',
            'contacts' => [

                        [
                            'email' => 'amaas@ribwbrabant.nl',
                            'email_cc' => 'amaas@ribwbrabant.nl',
                            'firstname' => 'Maartje ',
                            'middlename' => '',
                            'lastname' => 'Maas',
                        ],

                        [
                            'email' => 'yvanlaar@ribwbrabant.nl',
                            'email_cc' => 'yvanlaar@ribwbrabant.nl',
                            'firstname' => 'Yvette  ',
                            'middlename' => 'van',
                            'lastname' => 'Laar',
                        ],
                    ]],[
            'id' => 34,
            'informal_name' => 'RIBW Nijmegen & Rivierenland',
            'formal_name' => 'Stichting Regionale Instelling voor Begeleiding en Wonen Nijmegen & Rivierenland',
            'contacts' => [

                        [
                            'email' => 'm.coenen@ribw-nr.nl',
                            'email_cc' => 'm.coenen@ribw-nr.nl',
                            'firstname' => 'Marleen ',
                            'middlename' => '',
                            'lastname' => 'Coenen',
                        ],

                        [
                            'email' => 'a.v.duijnhoven@ribw-nr.nl',
                            'email_cc' => 'a.v.duijnhoven@ribw-nr.nl',
                            'firstname' => 'Anja  ',
                            'middlename' => 'van',
                            'lastname' => 'Duijnhoven',
                        ],
                    ]],[
            'id' => 94,
            'informal_name' => 'RINO Amsterdam (handelsnaam van Stichting RINO Noord-Holland)',
            'formal_name' => 'Stichting Regionaal Instituut Nascholing en Opleiding Noord-Holland',
            'contacts' => [

                        [
                            'email' => 'pieterhageman@rino.nl',
                            'email_cc' => 'pieterhageman@rino.nl',
                            'firstname' => 'Pieter ',
                            'middlename' => '',
                            'lastname' => 'Hageman',
                        ],

                        [
                            'email' => 'annewisman@rino.nl',
                            'email_cc' => 'annewisman@rino.nl',
                            'firstname' => 'Anne ',
                            'middlename' => '',
                            'lastname' => 'Wisman',
                        ],
                    ]],[
            'id' => 26,
            'informal_name' => 'Rivierduinen',
            'formal_name' => 'Stichting Rivierduinen',
            'contacts' => [

                        [
                            'email' => 'B.Simons@rivierduinen.nl',
                            'email_cc' => 'B.Simons@rivierduinen.nl',
                            'firstname' => 'Barbara ',
                            'middlename' => '',
                            'lastname' => 'Simons-Tjioe',
                        ],

                        [
                            'email' => 'i.hilwerda@rivierduinen.nl',
                            'email_cc' => 'i.hilwerda@rivierduinen.nl',
                            'firstname' => 'Ingrid ',
                            'middlename' => '',
                            'lastname' => 'Hilwerda',
                        ],

                        [
                            'email' => 'm.vankuik@rivierduinen.nl',
                            'email_cc' => 'm.vankuik@rivierduinen.nl',
                            'firstname' => 'Marc  ',
                            'middlename' => 'van',
                            'lastname' => 'Kuik',
                        ],

                        [
                            'email' => 'i.vos@rivierduinen.nl',
                            'email_cc' => 'i.vos@rivierduinen.nl',
                            'firstname' => 'Imke ',
                            'middlename' => '',
                            'lastname' => 'Vos',
                        ],
                    ]],[
            'id' => 7,
            'informal_name' => 'Riwis Zorg & Welzijn',
            'formal_name' => 'Stichting Riwis Zorg & Welzijn',
            'contacts' => [

                        [
                            'email' => 'aheemstra@riwis.nl',
                            'email_cc' => 'aheemstra@riwis.nl',
                            'firstname' => 'Anne ',
                            'middlename' => '',
                            'lastname' => 'Heemstra',
                        ],
                    ]],[
            'id' => 50,
            'informal_name' => 'STEVIG Specialistische en Forensische Zorg',
            'formal_name' => 'STEVIG Specialistische en Forensische Zorg',
            'contacts' => [

                        [
                            'email' => 'p.sterken@stevig.nl',
                            'email_cc' => 'p.sterken@stevig.nl',
                            'firstname' => 'Petra ',
                            'middlename' => '',
                            'lastname' => 'Sterken',
                        ],

                        [
                            'email' => 'a.vandenberg@dichterbij.nl',
                            'email_cc' => 'a.vandenberg@dichterbij.nl',
                            'firstname' => 'Ans  ',
                            'middlename' => 'van den',
                            'lastname' => 'Berg',
                        ],

                        [
                            'email' => 'p.sterken@stevig.nl',
                            'email_cc' => 'p.sterken@stevig.nl',
                            'firstname' => 'Petra',
                            'middlename' => '',
                            'lastname' => 'Sterken',
                        ],
                    ]],[
            'id' => 45,
            'informal_name' => 'Stichting Anton Constandse',
            'formal_name' => 'Stichting Anton Constandse',
            'contacts' => [

                        [
                            'email' => 'l.dijkstra@stichtingantonconstandse.nl',
                            'email_cc' => 'l.dijkstra@stichtingantonconstandse.nl',
                            'firstname' => 'Linda ',
                            'middlename' => '',
                            'lastname' => 'Dijkstra',
                        ],

                        [
                            'email' => 'm.blokland@stichtingantonconstandse.nl',
                            'email_cc' => 'm.blokland@stichtingantonconstandse.nl',
                            'firstname' => 'Marleen ',
                            'middlename' => '',
                            'lastname' => 'Blokland',
                        ],
                    ]],[
            'id' => 82,
            'informal_name' => 'Stichting Avans',
            'formal_name' => 'Stichting Avans',
            'contacts' => [

                        [
                            'email' => 'jgl.vocks@avans.nl',
                            'email_cc' => 'jgl.vocks@avans.nl',
                            'firstname' => 'Judith ',
                            'middlename' => '',
                            'lastname' => 'Vocks',
                        ],
                    ]],[
            'id' => 80,
            'informal_name' => 'Stichting Care Plus',
            'formal_name' => 'Stichting Care Plus',
            'contacts' => [

                        [
                            'email' => 'b.geraedts@care-plus.nl',
                            'email_cc' => 'b.geraedts@care-plus.nl',
                            'firstname' => 'Bram ',
                            'middlename' => '',
                            'lastname' => 'Geraedts',
                        ],

                        [
                            'email' => 'p.verbunt@care-plus.nl',
                            'email_cc' => 'p.verbunt@care-plus.nl',
                            'firstname' => 'Phyllis ',
                            'middlename' => '',
                            'lastname' => 'Verbunt',
                        ],
                    ]],[
            'id' => 84,
            'informal_name' => 'Stichting Centrum voor Vrijwilige en Professionele Maatschappelijke Dienstverlening ',
            'formal_name' => 'Stichting Centrum voor Vrijwilige en Professionele Maatschappelijke Dienstverlening ',
            'contacts' => [

                        [
                            'email' => 'lvantilburg@cvd.nl',
                            'email_cc' => 'lvantilburg@cvd.nl',
                            'firstname' => 'Linda ',
                            'middlename' => 'van',
                            'lastname' => 'Tilburg',
                        ],

                        [
                            'email' => 'akraan@cvd.nl',
                            'email_cc' => 'akraan@cvd.nl',
                            'firstname' => 'Astrid ',
                            'middlename' => '',
                            'lastname' => 'Kraan',
                        ],

                        [
                            'email' => 'nuzel@cvd.nl',
                            'email_cc' => 'nuzel@cvd.nl',
                            'firstname' => 'Nurten ',
                            'middlename' => '',
                            'lastname' => 'Uzel',
                        ],
                    ]],[
            'id' => 68,
            'informal_name' => 'Stichting Christelijke Hogeschool Windesheim',
            'formal_name' => 'Stichting Christelijke Hogeschool Windesheim',
            'contacts' => [

                        [
                            'email' => 'ac.lucas@windesheim.nl',
                            'email_cc' => 'ac.lucas@windesheim.nl',
                            'firstname' => 'Annemarie ',
                            'middlename' => '',
                            'lastname' => 'Lucas',
                        ],

                        [
                            'email' => 'k.vande.weg@windesheim.nl',
                            'email_cc' => 'k.vande.weg@windesheim.nl',
                            'firstname' => 'Knelia  ',
                            'middlename' => 'van de',
                            'lastname' => 'Weg',
                        ],
                    ]],[
            'id' => 101,
            'informal_name' => 'Stichting De Forensische Zorgspecialisten',
            'formal_name' => 'Stichting De Forensische Zorgspecialisten',
            'contacts' => [

                        [
                            'email' => 'wklok@dfzs.nl',
                            'email_cc' => 'wklok@dfzs.nl',
                            'firstname' => 'Wietske ',
                            'middlename' => '',
                            'lastname' => 'Klok',
                        ],

                        [
                            'email' => 'nsweers@dfzs.nl',
                            'email_cc' => 'nsweers@dfzs.nl',
                            'firstname' => 'Nienke ',
                            'middlename' => '',
                            'lastname' => 'Sweers',
                        ],
                    ]],[
            'id' => 47,
            'informal_name' => 'Stichting De Hoop',
            'formal_name' => 'Stichting De Hoop',
            'contacts' => [

                        [
                            'email' => 'm.uittenbogaard@dehoop.org',
                            'email_cc' => 'm.uittenbogaard@dehoop.org',
                            'firstname' => 'Melvin ',
                            'middlename' => '',
                            'lastname' => 'Uittenbogaard',
                        ],

                        [
                            'email' => 'h.sprong@dehoop.org',
                            'email_cc' => 'h.sprong@dehoop.org',
                            'firstname' => 'Hans ',
                            'middlename' => '',
                            'lastname' => 'Sprong',
                        ],
                    ]],[
            'id' => 92,
            'informal_name' => 'Stichting Eleos ',
            'formal_name' => 'Stichting Eleos',
            'contacts' => [

                        [
                            'email' => 'alinda.vandentop@eleos.nl',
                            'email_cc' => 'alinda.vandentop@eleos.nl',
                            'firstname' => 'Alinda  ',
                            'middlename' => 'van den',
                            'lastname' => 'Top',
                        ],

                        [
                            'email' => 'aline.vanderwind@eleos.nl',
                            'email_cc' => 'aline.vanderwind@eleos.nl',
                            'firstname' => 'Aline   ',
                            'middlename' => 'van der',
                            'lastname' => 'Wind',
                        ],
                    ]],[
            'id' => 89,
            'informal_name' => 'Stichting Fier',
            'formal_name' => 'Stichting Fier',
            'contacts' => [

                        [
                            'email' => 'iklompmaker@fier.nl',
                            'email_cc' => 'iklompmaker@fier.nl',
                            'firstname' => 'Irene ',
                            'middlename' => '',
                            'lastname' => 'Klompmaker',
                        ],

                        [
                            'email' => 'hkaplan@fier.nl',
                            'email_cc' => 'hkaplan@fier.nl',
                            'firstname' => 'Hacer ',
                            'middlename' => '',
                            'lastname' => 'Kaplan',
                        ],
                    ]],[
            'id' => 85,
            'informal_name' => 'Stichting GGz Breburg Groep',
            'formal_name' => 'Stichting GGz Breburg Groep',
            'contacts' => [

                        [
                            'email' => 'n.dekort@ggzbreburg.nl',
                            'email_cc' => 'n.dekort@ggzbreburg.nl',
                            'firstname' => 'Nathalie  ',
                            'middlename' => 'de',
                            'lastname' => 'Kort',
                        ],

                        [
                            'email' => 'c.vannunen@ggzbreburg.nl',
                            'email_cc' => 'c.vannunen@ggzbreburg.nl',
                            'firstname' => 'Carola  ',
                            'middlename' => 'van',
                            'lastname' => 'Nunen',
                        ],

                        [
                            'email' => 'c.vandun@ggzbreburg.nl',
                            'email_cc' => 'c.vandun@ggzbreburg.nl',
                            'firstname' => 'Christel',
                            'middlename' => 'van',
                            'lastname' => 'Dun',
                        ],
                    ]],[
            'id' => 52,
            'informal_name' => 'Stichting GGZ Noord-Holland Noord',
            'formal_name' => 'Stichting GGZ Noord-Holland-Noord',
            'contacts' => [

                        [
                            'email' => 'd.vlaar@ggz-nhn.nl',
                            'email_cc' => 'd.vlaar@ggz-nhn.nl',
                            'firstname' => 'Diana ',
                            'middlename' => '',
                            'lastname' => 'Vlaar',
                        ],

                        [
                            'email' => 'sandra.bakker@ggz-nhn.nl',
                            'email_cc' => 'sandra.bakker@ggz-nhn.nl',
                            'firstname' => 'Sandra ',
                            'middlename' => '',
                            'lastname' => 'Bakker',
                        ],

                        [
                            'email' => 'j.degrand@ggz-nhn.nl',
                            'email_cc' => 'j.degrand@ggz-nhn.nl',
                            'firstname' => 'Jeanette ',
                            'middlename' => 'de ',
                            'lastname' => 'Grand',
                        ],

                        [
                            'email' => 'r.keet@ggz-nhn.nl',
                            'email_cc' => 'r.keet@ggz-nhn.nl',
                            'firstname' => 'René ',
                            'middlename' => '',
                            'lastname' => 'Keet',
                        ],
                    ]],[
            'id' => 88,
            'informal_name' => 'Stichting GGZ Oost-Brabant',
            'formal_name' => 'Stichting GGZ Oost-Brabant',
            'contacts' => [

                        [
                            'email' => 'mjf.rijbroekvan@ggzoostbrabant.nl',
                            'email_cc' => 'mjf.rijbroekvan@ggzoostbrabant.nl',
                            'firstname' => 'Eric ',
                            'middlename' => 'van ',
                            'lastname' => 'Rijbroek',
                        ],

                        [
                            'email' => 'hml.eggenhuizen@ggzoostbrabant.nl',
                            'email_cc' => 'hml.eggenhuizen@ggzoostbrabant.nl',
                            'firstname' => 'Hedi ',
                            'middlename' => '',
                            'lastname' => 'Eggenhuizen',
                        ],
                    ]],[
            'id' => 87,
            'informal_name' => 'Stichting GGZ Westelijk Noord-Brabant',
            'formal_name' => 'Stichting GGZ Westelijk Noord-Brabant',
            'contacts' => [

                        [
                            'email' => 'f.vankaam-kemperman@ggzwnb.nl',
                            'email_cc' => 'f.vankaam-kemperman@ggzwnb.nl',
                            'firstname' => 'Femke ',
                            'middlename' => 'van',
                            'lastname' => 'Kaam-Kemperman',
                        ],

                        [
                            'email' => 'a.dummer@ggzwnb.nl',
                            'email_cc' => 'a.dummer@ggzwnb.nl',
                            'firstname' => 'Arno ',
                            'middlename' => '',
                            'lastname' => 'Dümmer',
                        ],
                    ]],[
            'id' => 83,
            'informal_name' => 'Stichting Groep Zienn - Het Kopland',
            'formal_name' => 'Stichting Groep Zienn - Het Kopland',
            'contacts' => [

                        [
                            'email' => 'k.ijsselstein@wender.nl',
                            'email_cc' => 'k.ijsselstein@wender.nl',
                            'firstname' => 'Karen ',
                            'middlename' => '',
                            'lastname' => 'IJsselstein',
                        ],

                        [
                            'email' => 'e.paassen@zienn.nl',
                            'email_cc' => 'e.paassen@zienn.nl',
                            'firstname' => 'Else ',
                            'middlename' => '',
                            'lastname' => 'Paassen',
                        ],

                        [
                            'email' => 'j.veenstra@zienn.nl',
                            'email_cc' => 'j.veenstra@zienn.nl',
                            'firstname' => 'Jeanet ',
                            'middlename' => '',
                            'lastname' => 'Veenstra',
                        ],
                    ]],[
            'id' => 97,
            'informal_name' => 'Stichting Hoger Onderwijs Nederland',
            'formal_name' => 'Stichting Hoger Onderwijs Nederland',
            'contacts' => [

                        [
                            'email' => 'mirjam.vanleeuwen@inholland.nl',
                            'email_cc' => 'mirjam.vanleeuwen@inholland.nl',
                            'firstname' => 'Mirjam ',
                            'middlename' => 'van ',
                            'lastname' => 'Leeuwen',
                        ],
                    ]],[
            'id' => 65,
            'informal_name' => 'Stichting Hogeschool Leiden',
            'formal_name' => 'Stichting Hogeschool Leiden',
            'contacts' => [

                        [
                            'email' => 'vries.de.w@hsleiden.nl',
                            'email_cc' => 'vries.de.w@hsleiden.nl',
                            'firstname' => 'Wiebe  ',
                            'middlename' => 'de',
                            'lastname' => 'Vries',
                        ],

                        [
                            'email' => 'wassink.d@hsleiden.nl',
                            'email_cc' => 'wassink.d@hsleiden.nl',
                            'firstname' => 'Dick ',
                            'middlename' => '',
                            'lastname' => 'Wassink',
                        ],
                    ]],[
            'id' => 57,
            'informal_name' => 'Stichting Humanitas Onder Dak Groep',
            'formal_name' => 'Stichting Humanitas Onder Dak Groep',
            'contacts' => [

                        [
                            'email' => 'h.hegeman@humod.nl',
                            'email_cc' => 'h.hegeman@humod.nl',
                            'firstname' => 'Herma ',
                            'middlename' => '',
                            'lastname' => 'Hegeman',
                        ],
                    ]],[
            'id' => 70,
            'informal_name' => 'Stichting HZ University of Applied Sciences',
            'formal_name' => 'Stichting HZ University of Applied Sciences',
            'contacts' => [

                        [
                            'email' => 'j.f.s.de.graaff@hz.nl',
                            'email_cc' => 'j.f.s.de.graaff@hz.nl',
                            'firstname' => 'Sonja  ',
                            'middlename' => 'de',
                            'lastname' => 'Graaff',
                        ],

                        [
                            'email' => 'i.borremans-malm@hz.nl',
                            'email_cc' => 'i.borremans-malm@hz.nl',
                            'firstname' => 'Ilona ',
                            'middlename' => '',
                            'lastname' => 'Borremans-Malm',
                        ],
                    ]],[
            'id' => 99,
            'informal_name' => 'Stichting Juvent',
            'formal_name' => 'Stichting Juvent',
            'contacts' => [

                        [
                            'email' => 'pvarenkamp@juvent.nl',
                            'email_cc' => 'pvarenkamp@juvent.nl',
                            'firstname' => 'Petra ',
                            'middlename' => '',
                            'lastname' => 'Varenkamp',
                        ],
                    ]],[
            'id' => 54,
            'informal_name' => 'Stichting Karakter',
            'formal_name' => 'Stichting Karakter',
            'contacts' => [

                        [
                            'email' => 'j.steenbeek@karakter.com',
                            'email_cc' => 'j.steenbeek@karakter.com',
                            'firstname' => 'Joshua',
                            'middlename' => '',
                            'lastname' => 'Steenbeek',
                        ],

                        [
                            'email' => 'a.janse@karakter.com',
                            'email_cc' => 'a.janse@karakter.com',
                            'firstname' => 'Annelies ',
                            'middlename' => '',
                            'lastname' => 'Meun-Janse',
                        ],
                    ]],[
            'id' => 59,
            'informal_name' => 'Stichting Landelijke Instelling voor Maatschappelijke Ondersteuning en Rehabilitatie',
            'formal_name' => 'Stichting Landelijke Instelling voor Maatschappelijke Ondersteuning en Rehabilitatie',
            'contacts' => [

                        [
                            'email' => 'rjhanjan@limor.nl',
                            'email_cc' => 'rjhanjan@limor.nl',
                            'firstname' => 'Rosanna ',
                            'middlename' => '',
                            'lastname' => 'Jhanjan',
                        ],

                        [
                            'email' => 'kobergh@limor.nl',
                            'email_cc' => 'kobergh@limor.nl',
                            'firstname' => 'Kim ',
                            'middlename' => '',
                            'lastname' => 'Obergh',
                        ],
                    ]],[
            'id' => 38,
            'informal_name' => 'Stichting Lentis Maatschappelijke Onderneming',
            'formal_name' => 'Stichting Lentis Maatschappelijke Onderneming',
            'contacts' => [

                        [
                            'email' => 'j.vanhouten@lentis.nl',
                            'email_cc' => 'j.vanhouten@lentis.nl',
                            'firstname' => 'Jetty  ',
                            'middlename' => 'van',
                            'lastname' => 'Houten',
                        ],
                    ]],[
            'id' => 75,
            'informal_name' => 'Stichting Leviaan',
            'formal_name' => 'Stichting Leviaan',
            'contacts' => [

                        [
                            'email' => 'l.bezemer@leviaan.nl',
                            'email_cc' => 'l.bezemer@leviaan.nl',
                            'firstname' => 'Lindsay ',
                            'middlename' => '',
                            'lastname' => 'Bezemer',
                        ],
                    ]],[
            'id' => 46,
            'informal_name' => 'Stichting Mediant',
            'formal_name' => 'Stichting Mediant',
            'contacts' => [

                        [
                            'email' => 's.nekkers@viamediant.nl',
                            'email_cc' => 's.nekkers@viamediant.nl',
                            'firstname' => 'Saskia ',
                            'middlename' => '',
                            'lastname' => 'Nekkers',
                        ],

                        [
                            'email' => 'cj.vandenberg@mediant.nl',
                            'email_cc' => 'cj.vandenberg@mediant.nl',
                            'firstname' => 'Kees  ',
                            'middlename' => 'van den',
                            'lastname' => 'Berg',
                        ],
                    ]],[
            'id' => 71,
            'informal_name' => 'Stichting NHL Stenden Hogeschool',
            'formal_name' => 'Stichting NHL Stenden Hogeschool',
            'contacts' => [

                        [
                            'email' => 'gerda.del.grosso@nhlstenden.com',
                            'email_cc' => 'gerda.del.grosso@nhlstenden.com',
                            'firstname' => 'Gerda  ',
                            'middlename' => 'del',
                            'lastname' => 'Grosso',
                        ],
                    ]],[
            'id' => 67,
            'informal_name' => 'Stichting Noorderpoort',
            'formal_name' => 'Stichting Noorderpoort',
            'contacts' => [

                        [
                            'email' => 'a.nijland@noorderpoort.nl',
                            'email_cc' => 'a.nijland@noorderpoort.nl',
                            'firstname' => 'Ard ',
                            'middlename' => '',
                            'lastname' => 'Nijland',
                        ],
                    ]],[
            'id' => 42,
            'informal_name' => 'Stichting Novadic-Kentron Groep',
            'formal_name' => 'Stichting Novadic-Kentron Groep',
            'contacts' => [

                        [
                            'email' => 'mieke.loomans@novadic-kentron.nl',
                            'email_cc' => 'mieke.loomans@novadic-kentron.nl',
                            'firstname' => 'Mieke ',
                            'middlename' => '',
                            'lastname' => 'Loomans',
                        ],

                        [
                            'email' => 'judith.van.bilsen@novadic-kentron.nl',
                            'email_cc' => 'judith.van.bilsen@novadic-kentron.nl',
                            'firstname' => 'Judith  ',
                            'middlename' => 'van',
                            'lastname' => 'Bilsen',
                        ],

                        [
                            'email' => 'adri.dekker@novadic-kentron.nl',
                            'email_cc' => 'adri.dekker@novadic-kentron.nl',
                            'firstname' => 'Adri ',
                            'middlename' => '',
                            'lastname' => 'Dekker',
                        ],

                        [
                            'email' => 'erik-jan.zwiep@novadic-kentron.nl',
                            'email_cc' => 'erik-jan.zwiep@novadic-kentron.nl',
                            'firstname' => 'Erik Jan ',
                            'middlename' => '',
                            'lastname' => 'Zwiep',
                        ],
                    ]],[
            'id' => 81,
            'informal_name' => 'Stichting Onder Een Dak',
            'formal_name' => 'Stichting Onder Een Dak',
            'contacts' => [

                        [
                            'email' => 'ham@stoed.nl',
                            'email_cc' => 'ham@stoed.nl',
                            'firstname' => 'Froukje ',
                            'middlename' => '',
                            'lastname' => 'Ham',
                        ],

                        [
                            'email' => 'fuchs@stoed.nl',
                            'email_cc' => 'fuchs@stoed.nl',
                            'firstname' => 'Ingo ',
                            'middlename' => '',
                            'lastname' => 'Fuchs',
                        ],
                    ]],[
            'id' => 93,
            'informal_name' => 'Stichting Regionaal Instituut voor Nascholing en Opleidingen in de gezondheidszorg en hulpverlening',
            'formal_name' => 'Stichting Regionaal Instituut voor Nascholing en Opleidingen in de gezondheidszorg en hulpverlening',
            'contacts' => [

                        [
                            'email' => 'lvanhelvert@rinozuid.nl',
                            'email_cc' => 'lvanhelvert@rinozuid.nl',
                            'firstname' => 'Linde  ',
                            'middlename' => 'van',
                            'lastname' => 'Helvert',
                        ],

                        [
                            'email' => 'anouksmulders@rinozuid.nl',
                            'email_cc' => 'anouksmulders@rinozuid.nl',
                            'firstname' => 'Anouk ',
                            'middlename' => '',
                            'lastname' => 'Smulders',
                        ],

                        [
                            'email' => 'gorrycleven@rinozuid.nl',
                            'email_cc' => 'gorrycleven@rinozuid.nl',
                            'firstname' => 'Gorry ',
                            'middlename' => '',
                            'lastname' => 'Cleven',
                        ],
                    ]],[
            'id' => 63,
            'informal_name' => 'Stichting Regionaal Opleidingen Centrum TOP',
            'formal_name' => 'Stichting Regionaal Opleidingen Centrum TOP',
            'contacts' => [

                        [
                            'email' => 'ama@roctop.nl',
                            'email_cc' => 'ama@roctop.nl',
                            'firstname' => 'Jan ',
                            'middlename' => '',
                            'lastname' => 'Atsma',
                        ],
                    ]],[
            'id' => 6,
            'informal_name' => 'Stichting Regionale Instelling voor Beschermd Wonen Kennemerland/Amstelland en de Meerlanden',
            'formal_name' => 'Stichting Regionale Instelling voor Beschermd Wonen Kennemerkland/Amstelland en de Meerlanden',
            'contacts' => [

                        [
                            'email' => 'i.ooijevaar@ribw-kam.nl',
                            'email_cc' => 'i.ooijevaar@ribw-kam.nl',
                            'firstname' => 'Ingrid ',
                            'middlename' => '',
                            'lastname' => 'Ooijevaar',
                        ],
                    ]],[
            'id' => 86,
            'informal_name' => 'Stichting Reinier van Arkel',
            'formal_name' => 'Stichting Reinier van Arkel',
            'contacts' => [

                        [
                            'email' => 'j.van.son@reiniervanarkel.nl',
                            'email_cc' => 'j.van.son@reiniervanarkel.nl',
                            'firstname' => 'Jan ',
                            'middlename' => 'van',
                            'lastname' => 'Son',
                        ],

                        [
                            'email' => 'maartje.nelissen@reiniervanarkel.nl',
                            'email_cc' => 'maartje.nelissen@reiniervanarkel.nl',
                            'firstname' => 'Maartje ',
                            'middlename' => '',
                            'lastname' => 'Nelissen',
                        ],

                        [
                            'email' => 's.verdoorn@reiniervanarkel.nl',
                            'email_cc' => 's.verdoorn@reiniervanarkel.nl',
                            'firstname' => 'Saskia ',
                            'middlename' => '',
                            'lastname' => 'Verdoorn',
                        ],
                    ]],[
            'id' => 25,
            'informal_name' => 'Stichting RIBW Groep Overijssel',
            'formal_name' => 'Stichting RIBW Groep Overijssel',
            'contacts' => [

                        [
                            'email' => 'r.tergrote@ribwgo.nl',
                            'email_cc' => 'r.tergrote@ribwgo.nl',
                            'firstname' => 'Ralph  ',
                            'middlename' => 'ter',
                            'lastname' => 'Grote',
                        ],
                    ]],[
            'id' => 66,
            'informal_name' => 'Stichting Saxion',
            'formal_name' => 'Stichting Saxion',
            'contacts' => [

                        [
                            'email' => 'd.j.e.m.koopman@saxion.nl',
                            'email_cc' => 'd.j.e.m.koopman@saxion.nl',
                            'firstname' => 'Dorine ',
                            'middlename' => '',
                            'lastname' => 'Koopman',
                        ],

                        [
                            'email' => 'j.zwerver@saxion.nl',
                            'email_cc' => 'j.zwerver@saxion.nl',
                            'firstname' => 'Judith',
                            'middlename' => '',
                            'lastname' => 'Zwerver',
                        ],

                        [
                            'email' => 'k.l.geerds@saxion.nl',
                            'email_cc' => 'k.l.geerds@saxion.nl',
                            'firstname' => 'Karien ',
                            'middlename' => '',
                            'lastname' => 'Geerds',
                        ],
                    ]],[
            'id' => 91,
            'informal_name' => 'Stichting Sherpa',
            'formal_name' => 'Stichting Sherpa',
            'contacts' => [

                        [
                            'email' => 'n.laing@sherpa.org',
                            'email_cc' => 'n.laing@sherpa.org',
                            'firstname' => 'Nadhie',
                            'middlename' => '',
                            'lastname' => ' Laing',
                        ],

                        [
                            'email' => 'm.linnebank@sherpa.org',
                            'email_cc' => 'm.linnebank@sherpa.org',
                            'firstname' => 'Marieke',
                            'middlename' => '',
                            'lastname' => ' Linnebank',
                        ],
                    ]],[
            'id' => 17,
            'informal_name' => 'Stichting Tactus Verslavingszorg',
            'formal_name' => 'Stichting Tactus Verslavingszorg',
            'contacts' => [

                        [
                            'email' => 'b.vanderputten@tactus.nl',
                            'email_cc' => 'b.vanderputten@tactus.nl',
                            'firstname' => 'Ben   ',
                            'middlename' => 'van der',
                            'lastname' => 'Putten',
                        ],

                        [
                            'email' => 'r.rutten@tactus.nl',
                            'email_cc' => 'r.rutten@tactus.nl',
                            'firstname' => 'R',
                            'middlename' => '',
                            'lastname' => 'Rutten',
                        ],
                    ]],[
            'id' => 90,
            'informal_name' => 'Stichting Terwille',
            'formal_name' => 'Stichting Terwille',
            'contacts' => [

                        [
                            'email' => 'personeelszaken@terwille.nl',
                            'email_cc' => 'personeelszaken@terwille.nl',
                            'firstname' => 'Alida ',
                            'middlename' => '',
                            'lastname' => 'Soepboer',
                        ],
                    ]],[
            'id' => 43,
            'informal_name' => 'Stichting Trajectum',
            'formal_name' => 'Stichting Trajectum',
            'contacts' => [

                        [
                            'email' => 'jsiebesma@trajectum.info',
                            'email_cc' => 'jsiebesma@trajectum.info',
                            'firstname' => 'Janita ',
                            'middlename' => '',
                            'lastname' => 'Siebesma-van Dijk',
                        ],
                    ]],[
            'id' => 102,
            'informal_name' => 'Stichting Verslavingskunde Nederland',
            'formal_name' => 'Stichting Verslavingskunde Nederland',
            'contacts' => [

                        [
                            'email' => 'hein.sigling@brijder.nl',
                            'email_cc' => 'hein.sigling@brijder.nl',
                            'firstname' => 'Hein ',
                            'middlename' => '',
                            'lastname' => 'Sigling',
                        ],
                    ]],[
            'id' => 9,
            'informal_name' => 'Stichting Verslavingszorg Noord Nederland',
            'formal_name' => 'Stichting Verslavingszorg Noord Nederland',
            'contacts' => [

                        [
                            'email' => 'm.euverman@vnn.nl',
                            'email_cc' => 'm.euverman@vnn.nl',
                            'firstname' => 'Marian ',
                            'middlename' => '',
                            'lastname' => 'Euverman',
                        ],

                        [
                            'email' => 'g.kolen@vnn.nl',
                            'email_cc' => 'g.kolen@vnn.nl',
                            'firstname' => 'Gerda ',
                            'middlename' => '',
                            'lastname' => 'Kolen',
                        ],

                        [
                            'email' => 'y.overkamp@vnn.nl',
                            'email_cc' => 'y.overkamp@vnn.nl',
                            'firstname' => 'Youri ',
                            'middlename' => '',
                            'lastname' => 'Overkamp',
                        ],
                    ]],[
            'id' => 96,
            'informal_name' => 'Stichting voor Christelijk Hoger Beroepsonderwijs op Gereformeerde Grondslag',
            'formal_name' => 'Stichting voor Christelijk Hoger Beroepsonderwijs op Gereformeerde Grondslag',
            'contacts' => [

                        [
                            'email' => 'aghordijk@che.nl',
                            'email_cc' => 'aghordijk@che.nl',
                            'firstname' => 'Arie ',
                            'middlename' => '',
                            'lastname' => 'Hordijk',
                        ],
                    ]],[
            'id' => 49,
            'informal_name' => 'Stichting Yulius',
            'formal_name' => 'Stichting Yulius',
            'contacts' => [

                        [
                            'email' => 'e.kok@yulius.nl',
                            'email_cc' => 'e.kok@yulius.nl',
                            'firstname' => 'Eveline ',
                            'middlename' => '',
                            'lastname' => 'Kok',
                        ],

                        [
                            'email' => 'j.jongbloed@yulius.nl',
                            'email_cc' => 'j.jongbloed@yulius.nl',
                            'firstname' => 'Jan ',
                            'middlename' => '',
                            'lastname' => 'Jongbloed',
                        ],

                        [
                            'email' => 'm.sinke@yulius.nl',
                            'email_cc' => 'm.sinke@yulius.nl',
                            'firstname' => 'Margreeth ',
                            'middlename' => '',
                            'lastname' => 'Sinke',
                        ],
                    ]],[
            'id' => 18,
            'informal_name' => 'Vincent van Gogh',
            'formal_name' => 'Stichting Vincent van Gogh',
            'contacts' => [

                        [
                            'email' => 'akwarten@vvgi.nl',
                            'email_cc' => 'akwarten@vvgi.nl',
                            'firstname' => 'Anja',
                            'middlename' => '',
                            'lastname' => 'Kwarten',
                        ],
                    ]],[
            'id' => 51,
            'informal_name' => 'Woonzorgnet B.V.',
            'formal_name' => 'Woonzorgnet B.V.',
            'contacts' => [

                        [
                            'email' => 'e.binnendijk@woonzorgnet.nl',
                            'email_cc' => 'e.binnendijk@woonzorgnet.nl',
                            'firstname' => 'Esther ',
                            'middlename' => '',
                            'lastname' => 'Binnendijk',
                        ],

                        [
                            'email' => 'hr@woonzorgnet.nl',
                            'email_cc' => 'hr@woonzorgnet.nl',
                            'firstname' => 'Karlijn ',
                            'middlename' => '',
                            'lastname' => 'Bouman',
                        ],

                        [
                            'email' => 'a.willems@woonzorgnet.nl',
                            'email_cc' => 'a.willems@woonzorgnet.nl',
                            'firstname' => 'Ans ',
                            'middlename' => '',
                            'lastname' => 'Willems',
                        ],
                    ]],[
            'id' => 72,
            'informal_name' => 'ZorgPlus B.V.',
            'formal_name' => 'Zorgplus B.V.',
            'contacts' => [

                        [
                            'email' => 'ltunnesen@zorgplus.com',
                            'email_cc' => 'ltunnesen@zorgplus.com',
                            'firstname' => 'Lisa ',
                            'middlename' => '',
                            'lastname' => 'Tunnesen',
                        ],

                        [
                            'email' => 'euilenreef@zorgplus.com',
                            'email_cc' => 'euilenreef@zorgplus.com',
                            'firstname' => 'Ellen ',
                            'middlename' => '',
                            'lastname' => 'Uilenreef',
                        ],
                    ]],[
            'id' => 999,
            'informal_name' => 'TEST Instelling aaaa',
            'formal_name' => 'TEST Instelling aaaa',
            'contacts' => [

                        [
                            'email' => 'jasper@3110.nl',
                            'email_cc' => 'jasper@3110.nl',
                            'firstname' => 'Jasper',
                            'middlename' => '',
                            'lastname' => 'Bugter',
                        ],

                        [
                            'email' => 'judith@ggzecademy.nl',
                            'email_cc' => 'judith@ggzecademy.nl',
                            'firstname' => 'Judith',
                            'middlename' => '',
                            'lastname' => 'Konings',
                        ],
                    ]],[
            'id' => 998,
            'informal_name' => 'TEST Instelling bbbb',
            'formal_name' => 'TEST Instelling bbbb',
            'contacts' => [

                        [
                            'email' => 'ingridmeuwissen@ggzecademy.nl',
                            'email_cc' => 'ingridmeuwissen@ggzecademy.nl',
                            'firstname' => 'Ingrid ',
                            'middlename' => '',
                            'lastname' => 'Meuwissen',
                        ],

                        [
                            'email' => 'kees@ggzecademy.nl',
                            'email_cc' => 'kees@ggzecademy.nl',
                            'firstname' => 'Kees  ',
                            'middlename' => 'van de ',
                            'lastname' => 'Wal',
                        ],
                    ]],[
            'id' => 997,
            'informal_name' => 'TEST Parnassia groep',
            'formal_name' => 'TEST Parnassia groep',
            'contacts' => [

                        [
                            'email' => 'maaike@3110.nl',
                            'email_cc' => 'maaike@3110.nl',
                            'firstname' => 'Maaike',
                            'middlename' => '',
                            'lastname' => 'Hendriks - Frumeau',
                        ],

                        [
                            'email' => 'inge@ggzecademy.nl',
                            'email_cc' => 'inge@ggzecademy.nl',
                            'firstname' => 'Inge',
                            'middlename' => '',
                            'lastname' => 'Jansen',
                        ],
                    ]],];


        $reauth_client = new GuzzleHttp\Client([
            // URL for access_token request
            'base_uri' => 'https://portaal.ggzecademy.nl/token',
        ]);
        $reauth_config = [
            "client_id" => "3110",
            "client_secret" => "0df253d12eebe7086d4986bd0af02e88d71283b37ea473024b88cdda264a9f1fe2100582aa14e6f77a005299b8e8e9b075cd549eed02a09b905142a7c146fee0",
        ];
        $grant_type = new ClientCredentials($reauth_client, $reauth_config);
        $oauth = new OAuth2Middleware($grant_type);

        $stack = HandlerStack::create();
        $stack->push($oauth);

        // This is the normal Guzzle client that you use in your application
        $client = new GuzzleHttp\Client([
            'handler' => $stack,
            'auth'    => 'oauth',
        ]);

        foreach ($members as $member) {
            $contacts = $member['contacts'];

            $member['user_id'] = 1;

            $typeEnumChoices = range(self::MEMBER_TYPE_ENUM_FIRST, self::MEMBER_TYPE_ENUM_LAST);
            $member['type'] = $typeEnumChoices[array_rand($typeEnumChoices)];

            $filtered = Arr::except($member, ['contacts']);
            $new_member = $this->memberService->seed($filtered);

            foreach ($contacts AS $contact) {
                $contact['member_id'] = $new_member->id;
                $new_contact = $this->contactService->save($contact);

                /*
                $response = $client->post('https://portaal.ggzecademy.nl/api/external_identities' , [
                    GuzzleHttp\RequestOptions::JSON => [
                        'externalId'=> strval($new_contact->id),
                        'surname' => $contact['lastname'],
                        'surnamePrefix' => $contact['middlename'],
                        'givenName' => $contact['firstname'],
                        'initials' => '',
                        'dateOfBirth' => date('Y-m-d'),
                        'externalEmail' => $contact['email'],
                        'externalEngagements' => [(object)[
                            'dateStart' => date('Y-m-d'),
                            'dateEnd' => null,
                            'externalId' => '1',
                            'traits' => [(object) [
                                'traitKey' => 'KG',
                                'traitValue' => substr('000' . $member['id'], -3)
                            ]]
                        ]],
                        'org' => '3110'
                    ]
                ]);*/
            }

            /*foreach ($contacts as $contact) {
                $contact['member_id'] = $new_member->id;
                $new_contact = $this->contactService->save($contact);
            }*/
        }
    }
}

?>
