use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
pub struct DeleteContextBody {
pub id: String,
#[serde(default)]
pub force: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
pub struct DeleteContextResultBody {
pub id: String,
pub deleted: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
pub struct DeleteContextPreviewBody {
pub id: String,
}
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
#[serde(rename_all = "camelCase")]
pub struct DeleteContextPreviewResultBody {
pub id: String,
pub keys: Vec<String>,
#[serde(alias = "webvh_dids")]
pub webvh_dids: Vec<String>,
#[serde(alias = "acl_entries_removed")]
pub acl_entries_removed: Vec<String>,
#[serde(alias = "acl_entries_updated")]
pub acl_entries_updated: Vec<String>,
#[serde(default, alias = "did_templates")]
pub did_templates: Vec<String>,
}