I want to make make array to submit data in swaggerAPI

Hi I am trying to submit data in swagger API i am trying to submit data like this

        $api_data = array(
            'organizationId' => '6601c70b-b770-4782-801a-3465a4b2f23a',
            'salutation' => isset($posted_data['Title'][0]) ? $posted_data['Title'][0] : '',
            'firstname' => isset($posted_data['Firstname']) ? $posted_data['Firstname'] : '',
            'lastname' => isset($posted_data['Surname']) ? $posted_data['Surname'] : '',
            'email' => isset($posted_data['E-mail']) ? $posted_data['E-mail'] : '',
            'citizenship' => isset($posted_data['nationality'][0]) ? $posted_data['nationality'][0] : '',
            'countryOfOrigin' => isset($posted_data['countryofresidence'][0]) ? $posted_data['countryofresidence'][0] : '',
            'profession' => isset($posted_data['Profession'][0]) ? $posted_data['Profession'][0] : '',
            
        );

This is working but i want to make a different array for address lik this but i am getting error every time.

enter image description here