// 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::{Date, Name, OrganizationClassification, Url};
use pib_oparl_extensions::Color;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
pub struct RequestBody {
    pub name: Name,
    pub short_name: Option<Name>,
    pub classification: Option<OrganizationClassification>,
    pub start_date: Option<Date>,
    pub end_date: Option<Date>,
    pub website: Option<Url>,
    pub color: Option<Color>,
}
