use super::*;
/// An Organization (or ProgramMembership) to which this Person or Organization belongs.
///
/// <https://schema.org/memberOf>
#[cfg_attr(any(feature = "derive-debug", doc), derive(Debug))]
#[cfg_attr(any(feature = "derive-clone", doc), derive(Clone))]
#[cfg_attr(
    any(feature = "serde", doc),
    derive(serde::Serialize, serde::Deserialize)
)]
#[cfg_attr(any(feature = "serde", doc), serde(untagged))]
pub enum MemberOfProperty {
    #[cfg(any(
        any(feature = "organization-schema", feature = "general-schema-section"),
        doc
    ))]
    Organization(Organization),
    #[cfg(any(
        any(
            feature = "program-membership-schema",
            feature = "general-schema-section"
        ),
        doc
    ))]
    ProgramMembership(ProgramMembership),
}
