// SPDX-FileCopyrightText: Politik im Blick developers
// SPDX-FileCopyrightText: Wolfgang Silbermayr <wolfgang@silbermayr.at>
//
// SPDX-License-Identifier: AGPL-3.0-or-later OR EUPL-1.2

use oparl_types::{EmailAddress, Name};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct RequestBody {
    pub name: Option<Name>,
    pub family_name: Option<Option<Name>>,
    pub given_name: Option<Option<Name>>,
    pub form_of_address: Option<Option<String>>,
    pub affix: Option<Option<String>>,
    pub title: Option<Vec<String>>,
    pub gender: Option<Option<String>>,
    pub phone: Option<Vec<String>>,
    pub email: Option<Vec<EmailAddress>>,
}
