// @generated by jacquard-lexicon. DO NOT EDIT.
//
// Lexicon: social.flockfeeds.lexical.type.Organization
//
// This file was automatically generated from Lexicon schemas.
// Any manual changes will be overwritten on the next regeneration.

#[allow(unused_imports)]
use alloc::collections::BTreeMap;

#[allow(unused_imports)]
use core::marker::PhantomData;
use jacquard_common::{CowStr, BosStr, DefaultStr, FromStaticStr};

#[allow(unused_imports)]
use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
use jacquard_common::deps::smol_str::SmolStr;
use jacquard_common::types::collection::{Collection, RecordError};
use jacquard_common::types::string::{AtUri, Cid};
use jacquard_common::types::uri::{RecordUri, UriError};
use jacquard_common::types::value::Data;
use jacquard_common::xrpc::XrpcResp;
use jacquard_derive::{IntoStatic, lexicon, open_union};
use jacquard_lexicon::lexicon::LexiconDoc;
use jacquard_lexicon::schema::LexiconSchema;

#[allow(unused_imports)]
use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
use serde::{Serialize, Deserialize};
use crate::social_flockfeeds::lexical::r#type::article;
use crate::social_flockfeeds::lexical::r#type::brand;
use crate::social_flockfeeds::lexical::r#type::event;
use crate::social_flockfeeds::lexical::r#type::image_object;
use crate::social_flockfeeds::lexical::r#type::offer;
use crate::social_flockfeeds::lexical::r#type::organization;
use crate::social_flockfeeds::lexical::r#type::person;
use crate::social_flockfeeds::lexical::r#type::product;
/// An organization such as a school, NGO, corporation, club, etc.

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub struct Embedded<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub accepted_payment_method: Option<EmbeddedAcceptedPaymentMethod<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub actionable_feedback_policy: Option<EmbeddedActionableFeedbackPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_type: Option<EmbeddedAdditionalType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub address: Option<EmbeddedAddress<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub agent_interaction_statistic: Option<EmbeddedAgentInteractionStatistic<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aggregate_rating: Option<EmbeddedAggregateRating<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alternate_name: Option<EmbeddedAlternateName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alumni: Option<EmbeddedAlumni<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub area_served: Option<EmbeddedAreaServed<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub award: Option<EmbeddedAward<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awards: Option<EmbeddedAwards<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub brand: Option<EmbeddedBrand<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub company_registration: Option<EmbeddedCompanyRegistration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub contact_point: Option<EmbeddedContactPoint<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub contact_points: Option<EmbeddedContactPoints<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub corrections_policy: Option<EmbeddedCorrectionsPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub department: Option<EmbeddedDepartment<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<EmbeddedDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub disambiguating_description: Option<EmbeddedDisambiguatingDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dissolution_date: Option<EmbeddedDissolutionDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub diversity_policy: Option<EmbeddedDiversityPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub diversity_staffing_report: Option<EmbeddedDiversityStaffingReport<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub duns: Option<EmbeddedDuns<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub email: Option<EmbeddedEmail<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub employee: Option<EmbeddedEmployee<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub employees: Option<EmbeddedEmployees<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ethics_policy: Option<EmbeddedEthicsPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub event: Option<EmbeddedEvent<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub events: Option<EmbeddedEvents<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub fax_number: Option<EmbeddedFaxNumber<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founder: Option<EmbeddedFounder<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founders: Option<EmbeddedFounders<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founding_date: Option<EmbeddedFoundingDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founding_location: Option<EmbeddedFoundingLocation<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub funder: Option<EmbeddedFunder<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub funding: Option<EmbeddedFunding<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub global_location_number: Option<EmbeddedGlobalLocationNumber<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_certification: Option<EmbeddedHasCertification<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_credential: Option<EmbeddedHasCredential<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_gs1_digital_link: Option<EmbeddedHasGs1DigitalLink<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_member_program: Option<EmbeddedHasMemberProgram<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_merchant_return_policy: Option<EmbeddedHasMerchantReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_offer_catalog: Option<EmbeddedHasOfferCatalog<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_pos: Option<EmbeddedHasPos<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_product_return_policy: Option<EmbeddedHasProductReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_shipping_service: Option<EmbeddedHasShippingService<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub identifier: Option<EmbeddedIdentifier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub image: Option<EmbeddedImage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interaction_statistic: Option<EmbeddedInteractionStatistic<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub isic_v4: Option<EmbeddedIsicV4<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub iso6523_code: Option<EmbeddedIso6523Code<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub keywords: Option<EmbeddedKeywords<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub knows_about: Option<EmbeddedKnowsAbout<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub knows_language: Option<EmbeddedKnowsLanguage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub legal_address: Option<EmbeddedLegalAddress<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub legal_name: Option<EmbeddedLegalName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub legal_representative: Option<EmbeddedLegalRepresentative<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lei_code: Option<EmbeddedLeiCode<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub location: Option<EmbeddedLocation<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub logo: Option<EmbeddedLogo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub main_entity_of_page: Option<EmbeddedMainEntityOfPage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub makes_offer: Option<EmbeddedMakesOffer<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub member: Option<EmbeddedMember<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub member_of: Option<EmbeddedMemberOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub members: Option<EmbeddedMembers<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub naics: Option<EmbeddedNaics<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<EmbeddedName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub nonprofit_status: Option<EmbeddedNonprofitStatus<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub number_of_employees: Option<EmbeddedNumberOfEmployees<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ownership_funding_info: Option<EmbeddedOwnershipFundingInfo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub owns: Option<EmbeddedOwns<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub parent_organization: Option<EmbeddedParentOrganization<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub potential_action: Option<EmbeddedPotentialAction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub publishing_principles: Option<EmbeddedPublishingPrinciples<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub review: Option<EmbeddedReview<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub reviews: Option<EmbeddedReviews<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub same_as: Option<EmbeddedSameAs<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seeks: Option<EmbeddedSeeks<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub service_area: Option<EmbeddedServiceArea<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub skills: Option<EmbeddedSkills<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub slogan: Option<EmbeddedSlogan<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sponsor: Option<EmbeddedSponsor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sub_organization: Option<EmbeddedSubOrganization<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub subject_of: Option<EmbeddedSubjectOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub tax_id: Option<EmbeddedTaxId<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub telephone: Option<EmbeddedTelephone<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unnamed_sources_policy: Option<EmbeddedUnnamedSourcesPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub url: Option<EmbeddedUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vat_id: Option<EmbeddedVatId<S>>,
    #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
    pub extra_data: Option<BTreeMap<SmolStr, Data<S>>>,
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAcceptedPaymentMethod<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedActionableFeedbackPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAdditionalType<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAddress<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAgentInteractionStatistic<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAggregateRating<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAlternateName<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAlumni<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAreaServed<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAward<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAwards<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedBrand<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")]
    BrandEmbedded(Box<brand::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedCompanyRegistration<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedContactPoint<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedContactPoints<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedCorrectionsPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDepartment<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDescription<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDisambiguatingDescription<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDissolutionDate<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDiversityPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDiversityStaffingReport<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")]
    ArticleEmbedded(Box<article::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedDuns<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedEmail<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedEmployee<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedEmployees<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedEthicsPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedEvent<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")]
    EventEmbedded(Box<event::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedEvents<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")]
    EventEmbedded(Box<event::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFaxNumber<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFounder<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFounders<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFoundingDate<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFoundingLocation<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFunder<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedFunding<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedGlobalLocationNumber<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasCertification<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasCredential<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasGs1DigitalLink<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasMemberProgram<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasMerchantReturnPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasOfferCatalog<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasPos<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasProductReturnPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasShippingService<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedIdentifier<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedImage<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")]
    ImageObjectEmbedded(Box<image_object::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedInteractionStatistic<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedIsicV4<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedIso6523Code<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedKeywords<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedKnowsAbout<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedKnowsLanguage<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedLegalAddress<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedLegalName<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedLegalRepresentative<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedLeiCode<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedLocation<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedLogo<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")]
    ImageObjectEmbedded(Box<image_object::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedMainEntityOfPage<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedMakesOffer<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")]
    OfferEmbedded(Box<offer::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedMember<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedMemberOf<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedMembers<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedNaics<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedName<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedNonprofitStatus<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedNumberOfEmployees<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedOwnershipFundingInfo<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedOwns<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    ProductEmbedded(Box<product::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedParentOrganization<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedPotentialAction<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedPublishingPrinciples<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedReview<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedReviews<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSameAs<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSeeks<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedServiceArea<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSkills<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSlogan<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSponsor<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSubOrganization<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedSubjectOf<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")]
    EventEmbedded(Box<event::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedTaxId<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedTelephone<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedUnnamedSourcesPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedUrl<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedVatId<S: BosStr = DefaultStr> {}

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(
    rename_all = "camelCase",
    rename = "social.flockfeeds.lexical.type.Organization",
    tag = "$type",
    bound(deserialize = "S: Deserialize<'de> + BosStr")
)]
pub struct Organization<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub accepted_payment_method: Option<OrganizationAcceptedPaymentMethod<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub actionable_feedback_policy: Option<OrganizationActionableFeedbackPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_type: Option<OrganizationAdditionalType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub address: Option<OrganizationAddress<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub agent_interaction_statistic: Option<OrganizationAgentInteractionStatistic<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aggregate_rating: Option<OrganizationAggregateRating<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alternate_name: Option<OrganizationAlternateName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alumni: Option<OrganizationAlumni<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub area_served: Option<OrganizationAreaServed<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub award: Option<OrganizationAward<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awards: Option<OrganizationAwards<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub brand: Option<OrganizationBrand<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub company_registration: Option<OrganizationCompanyRegistration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub contact_point: Option<OrganizationContactPoint<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub contact_points: Option<OrganizationContactPoints<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub corrections_policy: Option<OrganizationCorrectionsPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub department: Option<OrganizationDepartment<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<OrganizationDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub disambiguating_description: Option<OrganizationDisambiguatingDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dissolution_date: Option<OrganizationDissolutionDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub diversity_policy: Option<OrganizationDiversityPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub diversity_staffing_report: Option<OrganizationDiversityStaffingReport<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub duns: Option<OrganizationDuns<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub email: Option<OrganizationEmail<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub employee: Option<OrganizationEmployee<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub employees: Option<OrganizationEmployees<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ethics_policy: Option<OrganizationEthicsPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub event: Option<OrganizationEvent<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub events: Option<OrganizationEvents<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub fax_number: Option<OrganizationFaxNumber<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founder: Option<OrganizationFounder<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founders: Option<OrganizationFounders<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founding_date: Option<OrganizationFoundingDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub founding_location: Option<OrganizationFoundingLocation<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub funder: Option<OrganizationFunder<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub funding: Option<OrganizationFunding<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub global_location_number: Option<OrganizationGlobalLocationNumber<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_certification: Option<OrganizationHasCertification<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_credential: Option<OrganizationHasCredential<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_gs1_digital_link: Option<OrganizationHasGs1DigitalLink<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_member_program: Option<OrganizationHasMemberProgram<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_merchant_return_policy: Option<OrganizationHasMerchantReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_offer_catalog: Option<OrganizationHasOfferCatalog<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_pos: Option<OrganizationHasPos<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_product_return_policy: Option<OrganizationHasProductReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_shipping_service: Option<OrganizationHasShippingService<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub identifier: Option<OrganizationIdentifier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub image: Option<OrganizationImage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub interaction_statistic: Option<OrganizationInteractionStatistic<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub isic_v4: Option<OrganizationIsicV4<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub iso6523_code: Option<OrganizationIso6523Code<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub keywords: Option<OrganizationKeywords<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub knows_about: Option<OrganizationKnowsAbout<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub knows_language: Option<OrganizationKnowsLanguage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub legal_address: Option<OrganizationLegalAddress<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub legal_name: Option<OrganizationLegalName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub legal_representative: Option<OrganizationLegalRepresentative<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lei_code: Option<OrganizationLeiCode<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub location: Option<OrganizationLocation<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub logo: Option<OrganizationLogo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub main_entity_of_page: Option<OrganizationMainEntityOfPage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub makes_offer: Option<OrganizationMakesOffer<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub member: Option<OrganizationMember<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub member_of: Option<OrganizationMemberOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub members: Option<OrganizationMembers<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub naics: Option<OrganizationNaics<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<OrganizationName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub nonprofit_status: Option<OrganizationNonprofitStatus<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub number_of_employees: Option<OrganizationNumberOfEmployees<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ownership_funding_info: Option<OrganizationOwnershipFundingInfo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub owns: Option<OrganizationOwns<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub parent_organization: Option<OrganizationParentOrganization<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub potential_action: Option<OrganizationPotentialAction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub publishing_principles: Option<OrganizationPublishingPrinciples<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub review: Option<OrganizationReview<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub reviews: Option<OrganizationReviews<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub same_as: Option<OrganizationSameAs<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seeks: Option<OrganizationSeeks<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub service_area: Option<OrganizationServiceArea<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub skills: Option<OrganizationSkills<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub slogan: Option<OrganizationSlogan<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sponsor: Option<OrganizationSponsor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sub_organization: Option<OrganizationSubOrganization<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub subject_of: Option<OrganizationSubjectOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub tax_id: Option<OrganizationTaxId<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub telephone: Option<OrganizationTelephone<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub unnamed_sources_policy: Option<OrganizationUnnamedSourcesPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub url: Option<OrganizationUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub vat_id: Option<OrganizationVatId<S>>,
    #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
    pub extra_data: Option<BTreeMap<SmolStr, Data<S>>>,
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAcceptedPaymentMethod<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationActionableFeedbackPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAdditionalType<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAddress<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAgentInteractionStatistic<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAggregateRating<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAlternateName<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAlumni<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAreaServed<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAward<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationAwards<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationBrand<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Brand#embedded")]
    BrandEmbedded(Box<brand::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationCompanyRegistration<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationContactPoint<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationContactPoints<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationCorrectionsPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDepartment<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDescription<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDisambiguatingDescription<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDissolutionDate<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDiversityPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDiversityStaffingReport<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Article#embedded")]
    ArticleEmbedded(Box<article::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationDuns<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationEmail<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationEmployee<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationEmployees<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationEthicsPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationEvent<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")]
    EventEmbedded(Box<event::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationEvents<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")]
    EventEmbedded(Box<event::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFaxNumber<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFounder<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFounders<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFoundingDate<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFoundingLocation<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFunder<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationFunding<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationGlobalLocationNumber<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasCertification<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasCredential<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasGs1DigitalLink<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasMemberProgram<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasMerchantReturnPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasOfferCatalog<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasPos<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasProductReturnPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationHasShippingService<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationIdentifier<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationImage<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")]
    ImageObjectEmbedded(Box<image_object::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationInteractionStatistic<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationIsicV4<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationIso6523Code<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationKeywords<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationKnowsAbout<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationKnowsLanguage<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationLegalAddress<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationLegalName<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationLegalRepresentative<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationLeiCode<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationLocation<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationLogo<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.ImageObject#embedded")]
    ImageObjectEmbedded(Box<image_object::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationMainEntityOfPage<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationMakesOffer<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Offer#embedded")]
    OfferEmbedded(Box<offer::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationMember<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationMemberOf<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationMembers<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationNaics<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationName<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationNonprofitStatus<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationNumberOfEmployees<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationOwnershipFundingInfo<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationOwns<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    ProductEmbedded(Box<product::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationParentOrganization<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationPotentialAction<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationPublishingPrinciples<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationReview<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationReviews<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSameAs<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSeeks<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationServiceArea<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSkills<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSlogan<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSponsor<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
    #[serde(rename = "social.flockfeeds.lexical.type.Person#embedded")]
    PersonEmbedded(Box<person::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSubOrganization<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    Embedded(Box<organization::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationSubjectOf<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Event#embedded")]
    EventEmbedded(Box<event::Embedded<S>>),
}


#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationTaxId<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationTelephone<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationUnnamedSourcesPolicy<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationUrl<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum OrganizationVatId<S: BosStr = DefaultStr> {}
/// Typed wrapper for GetRecord response with this collection's record type.

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(rename_all = "camelCase")]
pub struct OrganizationGetRecordOutput<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub cid: Option<Cid<S>>,
    pub uri: AtUri<S>,
    pub value: Organization<S>,
}

impl<S: BosStr> Organization<S> {
    pub fn uri(uri: S) -> Result<RecordUri<S, OrganizationRecord>, UriError> {
        RecordUri::try_from_uri(AtUri::new(uri)?)
    }
}

impl<S: BosStr> LexiconSchema for Embedded<S> {
    fn nsid() -> &'static str {
        "social.flockfeeds.lexical.type.Organization"
    }
    fn def_name() -> &'static str {
        "embedded"
    }
    fn lexicon_doc() -> LexiconDoc<'static> {
        lexicon_doc_social_flockfeeds_lexical_type_Organization()
    }
    fn validate(&self) -> Result<(), ConstraintError> {
        Ok(())
    }
}

/// Marker type for deserializing records from this collection.

#[derive(Debug, Serialize, Deserialize)]
pub struct OrganizationRecord;
impl XrpcResp for OrganizationRecord {
    const NSID: &'static str = "social.flockfeeds.lexical.type.Organization";
    const ENCODING: &'static str = "application/json";
    type Output<S: BosStr> = OrganizationGetRecordOutput<S>;
    type Err = RecordError;
}

impl<S: BosStr> From<OrganizationGetRecordOutput<S>> for Organization<S> {
    fn from(output: OrganizationGetRecordOutput<S>) -> Self {
        output.value
    }
}

impl<S: BosStr> Collection for Organization<S> {
    const NSID: &'static str = "social.flockfeeds.lexical.type.Organization";
    type Record = OrganizationRecord;
}

impl Collection for OrganizationRecord {
    const NSID: &'static str = "social.flockfeeds.lexical.type.Organization";
    type Record = OrganizationRecord;
}

impl<S: BosStr> LexiconSchema for Organization<S> {
    fn nsid() -> &'static str {
        "social.flockfeeds.lexical.type.Organization"
    }
    fn def_name() -> &'static str {
        "main"
    }
    fn lexicon_doc() -> LexiconDoc<'static> {
        lexicon_doc_social_flockfeeds_lexical_type_Organization()
    }
    fn validate(&self) -> Result<(), ConstraintError> {
        Ok(())
    }
}

fn lexicon_doc_social_flockfeeds_lexical_type_Organization() -> LexiconDoc<'static> {
    #[allow(unused_imports)]
    use jacquard_common::{CowStr, deps::smol_str::SmolStr, types::blob::MimeType};
    use jacquard_lexicon::lexicon::*;
    use alloc::collections::BTreeMap;
    LexiconDoc {
        lexicon: Lexicon::Lexicon1,
        id: CowStr::new_static("social.flockfeeds.lexical.type.Organization"),
        defs: {
            let mut map = BTreeMap::new();
            map.insert(
                SmolStr::new_static("embedded"),
                LexUserType::Object(LexObject {
                    description: Some(
                        CowStr::new_static(
                            "An organization such as a school, NGO, corporation, club, etc.",
                        ),
                    ),
                    properties: {
                        #[allow(unused_mut)]
                        let mut map = BTreeMap::new();
                        map.insert(
                            SmolStr::new_static("acceptedPaymentMethod"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("actionableFeedbackPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("additionalType"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("address"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("agentInteractionStatistic"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#agentInteractionStatisticList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("aggregateRating"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#aggregateRatingList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("alternateName"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("alumni"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#alumniList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("areaServed"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("award"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("awards"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("brand"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#brandList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("companyRegistration"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#companyRegistrationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("contactPoint"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("contactPoints"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("correctionsPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("department"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#departmentList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("description"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("disambiguatingDescription"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("dissolutionDate"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("diversityPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("diversityStaffingReport"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("duns"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("email"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("employee"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("employees"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeesList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("ethicsPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("event"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("events"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("faxNumber"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("founder"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#founderList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("founders"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundersList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("foundingDate"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("foundingLocation"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingLocationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("funder"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#funderList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("funding"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#fundingList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("globalLocationNumber"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasCertification"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCertificationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasCredential"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCredentialList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasGS1DigitalLink"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasMemberProgram"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMemberProgramList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasMerchantReturnPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMerchantReturnPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasOfferCatalog"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasOfferCatalogList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasPOS"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasPOSList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasProductReturnPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasProductReturnPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasShippingService"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasShippingServiceList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("identifier"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("image"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("interactionStatistic"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#interactionStatisticList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isicV4"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("iso6523Code"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("keywords"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("knowsAbout"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("knowsLanguage"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("legalAddress"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalAddressList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("legalName"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("legalRepresentative"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalRepresentativeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("leiCode"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("location"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("logo"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("mainEntityOfPage"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("makesOffer"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#makesOfferList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("member"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("memberOf"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberOfList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("members"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#membersList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("naics"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("name"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("nonprofitStatus"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("numberOfEmployees"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#numberOfEmployeesList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("ownershipFundingInfo"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("owns"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("parentOrganization"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#parentOrganizationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("potentialAction"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#potentialActionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("publishingPrinciples"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("review"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("reviews"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("sameAs"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("seeks"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#seeksList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("serviceArea"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#serviceAreaList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("skills"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("slogan"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("sponsor"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#sponsorList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("subOrganization"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#subOrganizationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("subjectOf"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#subjectOfList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("taxID"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("telephone"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("unnamedSourcesPolicy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("url"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("vatID"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map
                    },
                    ..Default::default()
                }),
            );
            map.insert(
                SmolStr::new_static("main"),
                LexUserType::Record(LexRecord {
                    key: Some(CowStr::new_static("tid")),
                    record: LexRecordRecord::Object(LexObject {
                        description: Some(
                            CowStr::new_static(
                                "An organization such as a school, NGO, corporation, club, etc.",
                            ),
                        ),
                        properties: {
                            #[allow(unused_mut)]
                            let mut map = BTreeMap::new();
                            map.insert(
                                SmolStr::new_static("acceptedPaymentMethod"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#acceptedPaymentMethodList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("actionableFeedbackPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#actionableFeedbackPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("additionalType"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#additionalTypeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("address"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#addressList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("agentInteractionStatistic"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#agentInteractionStatisticList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("aggregateRating"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AggregateRating#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#aggregateRatingList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("alternateName"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#alternateNameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("alumni"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#alumniList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("areaServed"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#areaServedList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("award"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("awards"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#awardsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("brand"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Brand#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#brandList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("companyRegistration"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#companyRegistrationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("contactPoint"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("contactPoints"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ContactPoint#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#contactPointsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("correctionsPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#correctionsPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("department"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#departmentList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("description"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.TextObject#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#descriptionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("disambiguatingDescription"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#disambiguatingDescriptionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("dissolutionDate"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#dissolutionDateList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("diversityPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("diversityStaffingReport"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Article#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#diversityStaffingReportList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("duns"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#dunsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("email"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#emailList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("employee"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("employees"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#employeesList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("ethicsPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#ethicsPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("event"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("events"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#eventsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("faxNumber"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#faxNumberList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("founder"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#founderList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("founders"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundersList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("foundingDate"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingDateList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("foundingLocation"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#foundingLocationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("funder"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#funderList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("funding"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Grant#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#fundingList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("globalLocationNumber"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#globalLocationNumberList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasCertification"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Certification#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCertificationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasCredential"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.EducationalOccupationalCredential#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasCredentialList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasGS1DigitalLink"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasGS1DigitalLinkList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasMemberProgram"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.MemberProgram#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMemberProgramList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasMerchantReturnPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.MerchantReturnPolicy#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasMerchantReturnPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasOfferCatalog"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.OfferCatalog#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasOfferCatalogList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasPOS"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasPOSList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasProductReturnPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ProductReturnPolicy#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasProductReturnPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasShippingService"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ShippingService#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#hasShippingServiceList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("identifier"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#identifierList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("image"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#imageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("interactionStatistic"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.InteractionCounter#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#interactionStatisticList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isicV4"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#isicV4List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("iso6523Code"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#iso6523CodeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("keywords"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#keywordsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("knowsAbout"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsAboutList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("knowsLanguage"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Language#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#knowsLanguageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("legalAddress"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalAddressList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("legalName"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalNameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("legalRepresentative"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#legalRepresentativeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("leiCode"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#leiCodeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("location"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.PostalAddress#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.VirtualLocation#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#locationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("logo"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#logoList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("mainEntityOfPage"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#mainEntityOfPageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("makesOffer"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#makesOfferList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("member"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("memberOf"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.ProgramMembership#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#memberOfList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("members"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#membersList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("naics"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#naicsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("name"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#nameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("nonprofitStatus"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.NonprofitType#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#nonprofitStatusList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("numberOfEmployees"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#numberOfEmployeesList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("ownershipFundingInfo"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AboutPage#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownershipFundingInfoList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("owns"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.OwnershipInfo#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#ownsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("parentOrganization"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#parentOrganizationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("potentialAction"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Action#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#potentialActionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("publishingPrinciples"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#publishingPrinciplesList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("review"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("reviews"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Review#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#reviewsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("sameAs"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#sameAsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("seeks"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#seeksList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("serviceArea"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#serviceAreaList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("skills"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#skillsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("slogan"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#sloganList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("sponsor"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#sponsorList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("subOrganization"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#subOrganizationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("subjectOf"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#subjectOfList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("taxID"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#taxIDList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("telephone"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#telephoneList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("unnamedSourcesPolicy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#unnamedSourcesPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("url"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#urlList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("vatID"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.organization#vatIDList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map
                        },
                        ..Default::default()
                    }),
                    ..Default::default()
                }),
            );
            map
        },
        ..Default::default()
    }
}

pub mod organization_state {

    pub use crate::builder_types::{Set, Unset, IsSet, IsUnset};
    #[allow(unused)]
    use ::core::marker::PhantomData;
    mod sealed {
        pub trait Sealed {}
    }
    /// State trait tracking which required fields have been set
    pub trait State: sealed::Sealed {}
    /// Empty state - all required fields are unset
    pub struct Empty(());
    impl sealed::Sealed for Empty {}
    impl State for Empty {}
    /// Marker types for field names
    #[allow(non_camel_case_types)]
    pub mod members {}
}

/// Builder for constructing an instance of this type.
pub struct OrganizationBuilder<St: organization_state::State, S: BosStr = DefaultStr> {
    _state: PhantomData<fn() -> St>,
    _fields: (
        Option<OrganizationAcceptedPaymentMethod<S>>,
        Option<OrganizationActionableFeedbackPolicy<S>>,
        Option<OrganizationAdditionalType<S>>,
        Option<OrganizationAddress<S>>,
        Option<OrganizationAgentInteractionStatistic<S>>,
        Option<OrganizationAggregateRating<S>>,
        Option<OrganizationAlternateName<S>>,
        Option<OrganizationAlumni<S>>,
        Option<OrganizationAreaServed<S>>,
        Option<OrganizationAward<S>>,
        Option<OrganizationAwards<S>>,
        Option<OrganizationBrand<S>>,
        Option<OrganizationCompanyRegistration<S>>,
        Option<OrganizationContactPoint<S>>,
        Option<OrganizationContactPoints<S>>,
        Option<OrganizationCorrectionsPolicy<S>>,
        Option<OrganizationDepartment<S>>,
        Option<OrganizationDescription<S>>,
        Option<OrganizationDisambiguatingDescription<S>>,
        Option<OrganizationDissolutionDate<S>>,
        Option<OrganizationDiversityPolicy<S>>,
        Option<OrganizationDiversityStaffingReport<S>>,
        Option<OrganizationDuns<S>>,
        Option<OrganizationEmail<S>>,
        Option<OrganizationEmployee<S>>,
        Option<OrganizationEmployees<S>>,
        Option<OrganizationEthicsPolicy<S>>,
        Option<OrganizationEvent<S>>,
        Option<OrganizationEvents<S>>,
        Option<OrganizationFaxNumber<S>>,
        Option<OrganizationFounder<S>>,
        Option<OrganizationFounders<S>>,
        Option<OrganizationFoundingDate<S>>,
        Option<OrganizationFoundingLocation<S>>,
        Option<OrganizationFunder<S>>,
        Option<OrganizationFunding<S>>,
        Option<OrganizationGlobalLocationNumber<S>>,
        Option<OrganizationHasCertification<S>>,
        Option<OrganizationHasCredential<S>>,
        Option<OrganizationHasGs1DigitalLink<S>>,
        Option<OrganizationHasMemberProgram<S>>,
        Option<OrganizationHasMerchantReturnPolicy<S>>,
        Option<OrganizationHasOfferCatalog<S>>,
        Option<OrganizationHasPos<S>>,
        Option<OrganizationHasProductReturnPolicy<S>>,
        Option<OrganizationHasShippingService<S>>,
        Option<OrganizationIdentifier<S>>,
        Option<OrganizationImage<S>>,
        Option<OrganizationInteractionStatistic<S>>,
        Option<OrganizationIsicV4<S>>,
        Option<OrganizationIso6523Code<S>>,
        Option<OrganizationKeywords<S>>,
        Option<OrganizationKnowsAbout<S>>,
        Option<OrganizationKnowsLanguage<S>>,
        Option<OrganizationLegalAddress<S>>,
        Option<OrganizationLegalName<S>>,
        Option<OrganizationLegalRepresentative<S>>,
        Option<OrganizationLeiCode<S>>,
        Option<OrganizationLocation<S>>,
        Option<OrganizationLogo<S>>,
        Option<OrganizationMainEntityOfPage<S>>,
        Option<OrganizationMakesOffer<S>>,
        Option<OrganizationMember<S>>,
        Option<OrganizationMemberOf<S>>,
        Option<OrganizationMembers<S>>,
        Option<OrganizationNaics<S>>,
        Option<OrganizationName<S>>,
        Option<OrganizationNonprofitStatus<S>>,
        Option<OrganizationNumberOfEmployees<S>>,
        Option<OrganizationOwnershipFundingInfo<S>>,
        Option<OrganizationOwns<S>>,
        Option<OrganizationParentOrganization<S>>,
        Option<OrganizationPotentialAction<S>>,
        Option<OrganizationPublishingPrinciples<S>>,
        Option<OrganizationReview<S>>,
        Option<OrganizationReviews<S>>,
        Option<OrganizationSameAs<S>>,
        Option<OrganizationSeeks<S>>,
        Option<OrganizationServiceArea<S>>,
        Option<OrganizationSkills<S>>,
        Option<OrganizationSlogan<S>>,
        Option<OrganizationSponsor<S>>,
        Option<OrganizationSubOrganization<S>>,
        Option<OrganizationSubjectOf<S>>,
        Option<OrganizationTaxId<S>>,
        Option<OrganizationTelephone<S>>,
        Option<OrganizationUnnamedSourcesPolicy<S>>,
        Option<OrganizationUrl<S>>,
        Option<OrganizationVatId<S>>,
    ),
    _type: PhantomData<fn() -> S>,
}

impl Organization<DefaultStr> {
    /// Create a new builder for this type, using the default string type (DefaultStr = SmolStr) if needed
    pub fn new() -> OrganizationBuilder<organization_state::Empty, DefaultStr> {
        OrganizationBuilder::new()
    }
}

impl<S: BosStr> Organization<S> {
    /// Create a new builder for this type
    pub fn builder() -> OrganizationBuilder<organization_state::Empty, S> {
        OrganizationBuilder::builder()
    }
}

impl OrganizationBuilder<organization_state::Empty, DefaultStr> {
    /// Create a new builder with all fields unset, using the default string type, if needed
    pub fn new() -> Self {
        OrganizationBuilder {
            _state: PhantomData,
            _fields: (
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
            ),
            _type: PhantomData,
        }
    }
}

impl<S: BosStr> OrganizationBuilder<organization_state::Empty, S> {
    /// Create a new builder with all fields unset
    pub fn builder() -> Self {
        OrganizationBuilder {
            _state: PhantomData,
            _fields: (
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
                None,
            ),
            _type: PhantomData,
        }
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `acceptedPaymentMethod` field (optional)
    pub fn accepted_payment_method(
        mut self,
        value: impl Into<Option<OrganizationAcceptedPaymentMethod<S>>>,
    ) -> Self {
        self._fields.0 = value.into();
        self
    }
    /// Set the `acceptedPaymentMethod` field to an Option value (optional)
    pub fn maybe_accepted_payment_method(
        mut self,
        value: Option<OrganizationAcceptedPaymentMethod<S>>,
    ) -> Self {
        self._fields.0 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `actionableFeedbackPolicy` field (optional)
    pub fn actionable_feedback_policy(
        mut self,
        value: impl Into<Option<OrganizationActionableFeedbackPolicy<S>>>,
    ) -> Self {
        self._fields.1 = value.into();
        self
    }
    /// Set the `actionableFeedbackPolicy` field to an Option value (optional)
    pub fn maybe_actionable_feedback_policy(
        mut self,
        value: Option<OrganizationActionableFeedbackPolicy<S>>,
    ) -> Self {
        self._fields.1 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `additionalType` field (optional)
    pub fn additional_type(
        mut self,
        value: impl Into<Option<OrganizationAdditionalType<S>>>,
    ) -> Self {
        self._fields.2 = value.into();
        self
    }
    /// Set the `additionalType` field to an Option value (optional)
    pub fn maybe_additional_type(
        mut self,
        value: Option<OrganizationAdditionalType<S>>,
    ) -> Self {
        self._fields.2 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `address` field (optional)
    pub fn address(mut self, value: impl Into<Option<OrganizationAddress<S>>>) -> Self {
        self._fields.3 = value.into();
        self
    }
    /// Set the `address` field to an Option value (optional)
    pub fn maybe_address(mut self, value: Option<OrganizationAddress<S>>) -> Self {
        self._fields.3 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `agentInteractionStatistic` field (optional)
    pub fn agent_interaction_statistic(
        mut self,
        value: impl Into<Option<OrganizationAgentInteractionStatistic<S>>>,
    ) -> Self {
        self._fields.4 = value.into();
        self
    }
    /// Set the `agentInteractionStatistic` field to an Option value (optional)
    pub fn maybe_agent_interaction_statistic(
        mut self,
        value: Option<OrganizationAgentInteractionStatistic<S>>,
    ) -> Self {
        self._fields.4 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `aggregateRating` field (optional)
    pub fn aggregate_rating(
        mut self,
        value: impl Into<Option<OrganizationAggregateRating<S>>>,
    ) -> Self {
        self._fields.5 = value.into();
        self
    }
    /// Set the `aggregateRating` field to an Option value (optional)
    pub fn maybe_aggregate_rating(
        mut self,
        value: Option<OrganizationAggregateRating<S>>,
    ) -> Self {
        self._fields.5 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `alternateName` field (optional)
    pub fn alternate_name(
        mut self,
        value: impl Into<Option<OrganizationAlternateName<S>>>,
    ) -> Self {
        self._fields.6 = value.into();
        self
    }
    /// Set the `alternateName` field to an Option value (optional)
    pub fn maybe_alternate_name(
        mut self,
        value: Option<OrganizationAlternateName<S>>,
    ) -> Self {
        self._fields.6 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `alumni` field (optional)
    pub fn alumni(mut self, value: impl Into<Option<OrganizationAlumni<S>>>) -> Self {
        self._fields.7 = value.into();
        self
    }
    /// Set the `alumni` field to an Option value (optional)
    pub fn maybe_alumni(mut self, value: Option<OrganizationAlumni<S>>) -> Self {
        self._fields.7 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `areaServed` field (optional)
    pub fn area_served(
        mut self,
        value: impl Into<Option<OrganizationAreaServed<S>>>,
    ) -> Self {
        self._fields.8 = value.into();
        self
    }
    /// Set the `areaServed` field to an Option value (optional)
    pub fn maybe_area_served(
        mut self,
        value: Option<OrganizationAreaServed<S>>,
    ) -> Self {
        self._fields.8 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `award` field (optional)
    pub fn award(mut self, value: impl Into<Option<OrganizationAward<S>>>) -> Self {
        self._fields.9 = value.into();
        self
    }
    /// Set the `award` field to an Option value (optional)
    pub fn maybe_award(mut self, value: Option<OrganizationAward<S>>) -> Self {
        self._fields.9 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `awards` field (optional)
    pub fn awards(mut self, value: impl Into<Option<OrganizationAwards<S>>>) -> Self {
        self._fields.10 = value.into();
        self
    }
    /// Set the `awards` field to an Option value (optional)
    pub fn maybe_awards(mut self, value: Option<OrganizationAwards<S>>) -> Self {
        self._fields.10 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `brand` field (optional)
    pub fn brand(mut self, value: impl Into<Option<OrganizationBrand<S>>>) -> Self {
        self._fields.11 = value.into();
        self
    }
    /// Set the `brand` field to an Option value (optional)
    pub fn maybe_brand(mut self, value: Option<OrganizationBrand<S>>) -> Self {
        self._fields.11 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `companyRegistration` field (optional)
    pub fn company_registration(
        mut self,
        value: impl Into<Option<OrganizationCompanyRegistration<S>>>,
    ) -> Self {
        self._fields.12 = value.into();
        self
    }
    /// Set the `companyRegistration` field to an Option value (optional)
    pub fn maybe_company_registration(
        mut self,
        value: Option<OrganizationCompanyRegistration<S>>,
    ) -> Self {
        self._fields.12 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `contactPoint` field (optional)
    pub fn contact_point(
        mut self,
        value: impl Into<Option<OrganizationContactPoint<S>>>,
    ) -> Self {
        self._fields.13 = value.into();
        self
    }
    /// Set the `contactPoint` field to an Option value (optional)
    pub fn maybe_contact_point(
        mut self,
        value: Option<OrganizationContactPoint<S>>,
    ) -> Self {
        self._fields.13 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `contactPoints` field (optional)
    pub fn contact_points(
        mut self,
        value: impl Into<Option<OrganizationContactPoints<S>>>,
    ) -> Self {
        self._fields.14 = value.into();
        self
    }
    /// Set the `contactPoints` field to an Option value (optional)
    pub fn maybe_contact_points(
        mut self,
        value: Option<OrganizationContactPoints<S>>,
    ) -> Self {
        self._fields.14 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `correctionsPolicy` field (optional)
    pub fn corrections_policy(
        mut self,
        value: impl Into<Option<OrganizationCorrectionsPolicy<S>>>,
    ) -> Self {
        self._fields.15 = value.into();
        self
    }
    /// Set the `correctionsPolicy` field to an Option value (optional)
    pub fn maybe_corrections_policy(
        mut self,
        value: Option<OrganizationCorrectionsPolicy<S>>,
    ) -> Self {
        self._fields.15 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `department` field (optional)
    pub fn department(
        mut self,
        value: impl Into<Option<OrganizationDepartment<S>>>,
    ) -> Self {
        self._fields.16 = value.into();
        self
    }
    /// Set the `department` field to an Option value (optional)
    pub fn maybe_department(mut self, value: Option<OrganizationDepartment<S>>) -> Self {
        self._fields.16 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `description` field (optional)
    pub fn description(
        mut self,
        value: impl Into<Option<OrganizationDescription<S>>>,
    ) -> Self {
        self._fields.17 = value.into();
        self
    }
    /// Set the `description` field to an Option value (optional)
    pub fn maybe_description(
        mut self,
        value: Option<OrganizationDescription<S>>,
    ) -> Self {
        self._fields.17 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `disambiguatingDescription` field (optional)
    pub fn disambiguating_description(
        mut self,
        value: impl Into<Option<OrganizationDisambiguatingDescription<S>>>,
    ) -> Self {
        self._fields.18 = value.into();
        self
    }
    /// Set the `disambiguatingDescription` field to an Option value (optional)
    pub fn maybe_disambiguating_description(
        mut self,
        value: Option<OrganizationDisambiguatingDescription<S>>,
    ) -> Self {
        self._fields.18 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `dissolutionDate` field (optional)
    pub fn dissolution_date(
        mut self,
        value: impl Into<Option<OrganizationDissolutionDate<S>>>,
    ) -> Self {
        self._fields.19 = value.into();
        self
    }
    /// Set the `dissolutionDate` field to an Option value (optional)
    pub fn maybe_dissolution_date(
        mut self,
        value: Option<OrganizationDissolutionDate<S>>,
    ) -> Self {
        self._fields.19 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `diversityPolicy` field (optional)
    pub fn diversity_policy(
        mut self,
        value: impl Into<Option<OrganizationDiversityPolicy<S>>>,
    ) -> Self {
        self._fields.20 = value.into();
        self
    }
    /// Set the `diversityPolicy` field to an Option value (optional)
    pub fn maybe_diversity_policy(
        mut self,
        value: Option<OrganizationDiversityPolicy<S>>,
    ) -> Self {
        self._fields.20 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `diversityStaffingReport` field (optional)
    pub fn diversity_staffing_report(
        mut self,
        value: impl Into<Option<OrganizationDiversityStaffingReport<S>>>,
    ) -> Self {
        self._fields.21 = value.into();
        self
    }
    /// Set the `diversityStaffingReport` field to an Option value (optional)
    pub fn maybe_diversity_staffing_report(
        mut self,
        value: Option<OrganizationDiversityStaffingReport<S>>,
    ) -> Self {
        self._fields.21 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `duns` field (optional)
    pub fn duns(mut self, value: impl Into<Option<OrganizationDuns<S>>>) -> Self {
        self._fields.22 = value.into();
        self
    }
    /// Set the `duns` field to an Option value (optional)
    pub fn maybe_duns(mut self, value: Option<OrganizationDuns<S>>) -> Self {
        self._fields.22 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `email` field (optional)
    pub fn email(mut self, value: impl Into<Option<OrganizationEmail<S>>>) -> Self {
        self._fields.23 = value.into();
        self
    }
    /// Set the `email` field to an Option value (optional)
    pub fn maybe_email(mut self, value: Option<OrganizationEmail<S>>) -> Self {
        self._fields.23 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `employee` field (optional)
    pub fn employee(
        mut self,
        value: impl Into<Option<OrganizationEmployee<S>>>,
    ) -> Self {
        self._fields.24 = value.into();
        self
    }
    /// Set the `employee` field to an Option value (optional)
    pub fn maybe_employee(mut self, value: Option<OrganizationEmployee<S>>) -> Self {
        self._fields.24 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `employees` field (optional)
    pub fn employees(
        mut self,
        value: impl Into<Option<OrganizationEmployees<S>>>,
    ) -> Self {
        self._fields.25 = value.into();
        self
    }
    /// Set the `employees` field to an Option value (optional)
    pub fn maybe_employees(mut self, value: Option<OrganizationEmployees<S>>) -> Self {
        self._fields.25 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `ethicsPolicy` field (optional)
    pub fn ethics_policy(
        mut self,
        value: impl Into<Option<OrganizationEthicsPolicy<S>>>,
    ) -> Self {
        self._fields.26 = value.into();
        self
    }
    /// Set the `ethicsPolicy` field to an Option value (optional)
    pub fn maybe_ethics_policy(
        mut self,
        value: Option<OrganizationEthicsPolicy<S>>,
    ) -> Self {
        self._fields.26 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `event` field (optional)
    pub fn event(mut self, value: impl Into<Option<OrganizationEvent<S>>>) -> Self {
        self._fields.27 = value.into();
        self
    }
    /// Set the `event` field to an Option value (optional)
    pub fn maybe_event(mut self, value: Option<OrganizationEvent<S>>) -> Self {
        self._fields.27 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `events` field (optional)
    pub fn events(mut self, value: impl Into<Option<OrganizationEvents<S>>>) -> Self {
        self._fields.28 = value.into();
        self
    }
    /// Set the `events` field to an Option value (optional)
    pub fn maybe_events(mut self, value: Option<OrganizationEvents<S>>) -> Self {
        self._fields.28 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `faxNumber` field (optional)
    pub fn fax_number(
        mut self,
        value: impl Into<Option<OrganizationFaxNumber<S>>>,
    ) -> Self {
        self._fields.29 = value.into();
        self
    }
    /// Set the `faxNumber` field to an Option value (optional)
    pub fn maybe_fax_number(mut self, value: Option<OrganizationFaxNumber<S>>) -> Self {
        self._fields.29 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `founder` field (optional)
    pub fn founder(mut self, value: impl Into<Option<OrganizationFounder<S>>>) -> Self {
        self._fields.30 = value.into();
        self
    }
    /// Set the `founder` field to an Option value (optional)
    pub fn maybe_founder(mut self, value: Option<OrganizationFounder<S>>) -> Self {
        self._fields.30 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `founders` field (optional)
    pub fn founders(
        mut self,
        value: impl Into<Option<OrganizationFounders<S>>>,
    ) -> Self {
        self._fields.31 = value.into();
        self
    }
    /// Set the `founders` field to an Option value (optional)
    pub fn maybe_founders(mut self, value: Option<OrganizationFounders<S>>) -> Self {
        self._fields.31 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `foundingDate` field (optional)
    pub fn founding_date(
        mut self,
        value: impl Into<Option<OrganizationFoundingDate<S>>>,
    ) -> Self {
        self._fields.32 = value.into();
        self
    }
    /// Set the `foundingDate` field to an Option value (optional)
    pub fn maybe_founding_date(
        mut self,
        value: Option<OrganizationFoundingDate<S>>,
    ) -> Self {
        self._fields.32 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `foundingLocation` field (optional)
    pub fn founding_location(
        mut self,
        value: impl Into<Option<OrganizationFoundingLocation<S>>>,
    ) -> Self {
        self._fields.33 = value.into();
        self
    }
    /// Set the `foundingLocation` field to an Option value (optional)
    pub fn maybe_founding_location(
        mut self,
        value: Option<OrganizationFoundingLocation<S>>,
    ) -> Self {
        self._fields.33 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `funder` field (optional)
    pub fn funder(mut self, value: impl Into<Option<OrganizationFunder<S>>>) -> Self {
        self._fields.34 = value.into();
        self
    }
    /// Set the `funder` field to an Option value (optional)
    pub fn maybe_funder(mut self, value: Option<OrganizationFunder<S>>) -> Self {
        self._fields.34 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `funding` field (optional)
    pub fn funding(mut self, value: impl Into<Option<OrganizationFunding<S>>>) -> Self {
        self._fields.35 = value.into();
        self
    }
    /// Set the `funding` field to an Option value (optional)
    pub fn maybe_funding(mut self, value: Option<OrganizationFunding<S>>) -> Self {
        self._fields.35 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `globalLocationNumber` field (optional)
    pub fn global_location_number(
        mut self,
        value: impl Into<Option<OrganizationGlobalLocationNumber<S>>>,
    ) -> Self {
        self._fields.36 = value.into();
        self
    }
    /// Set the `globalLocationNumber` field to an Option value (optional)
    pub fn maybe_global_location_number(
        mut self,
        value: Option<OrganizationGlobalLocationNumber<S>>,
    ) -> Self {
        self._fields.36 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasCertification` field (optional)
    pub fn has_certification(
        mut self,
        value: impl Into<Option<OrganizationHasCertification<S>>>,
    ) -> Self {
        self._fields.37 = value.into();
        self
    }
    /// Set the `hasCertification` field to an Option value (optional)
    pub fn maybe_has_certification(
        mut self,
        value: Option<OrganizationHasCertification<S>>,
    ) -> Self {
        self._fields.37 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasCredential` field (optional)
    pub fn has_credential(
        mut self,
        value: impl Into<Option<OrganizationHasCredential<S>>>,
    ) -> Self {
        self._fields.38 = value.into();
        self
    }
    /// Set the `hasCredential` field to an Option value (optional)
    pub fn maybe_has_credential(
        mut self,
        value: Option<OrganizationHasCredential<S>>,
    ) -> Self {
        self._fields.38 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasGS1DigitalLink` field (optional)
    pub fn has_gs1_digital_link(
        mut self,
        value: impl Into<Option<OrganizationHasGs1DigitalLink<S>>>,
    ) -> Self {
        self._fields.39 = value.into();
        self
    }
    /// Set the `hasGS1DigitalLink` field to an Option value (optional)
    pub fn maybe_has_gs1_digital_link(
        mut self,
        value: Option<OrganizationHasGs1DigitalLink<S>>,
    ) -> Self {
        self._fields.39 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasMemberProgram` field (optional)
    pub fn has_member_program(
        mut self,
        value: impl Into<Option<OrganizationHasMemberProgram<S>>>,
    ) -> Self {
        self._fields.40 = value.into();
        self
    }
    /// Set the `hasMemberProgram` field to an Option value (optional)
    pub fn maybe_has_member_program(
        mut self,
        value: Option<OrganizationHasMemberProgram<S>>,
    ) -> Self {
        self._fields.40 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasMerchantReturnPolicy` field (optional)
    pub fn has_merchant_return_policy(
        mut self,
        value: impl Into<Option<OrganizationHasMerchantReturnPolicy<S>>>,
    ) -> Self {
        self._fields.41 = value.into();
        self
    }
    /// Set the `hasMerchantReturnPolicy` field to an Option value (optional)
    pub fn maybe_has_merchant_return_policy(
        mut self,
        value: Option<OrganizationHasMerchantReturnPolicy<S>>,
    ) -> Self {
        self._fields.41 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasOfferCatalog` field (optional)
    pub fn has_offer_catalog(
        mut self,
        value: impl Into<Option<OrganizationHasOfferCatalog<S>>>,
    ) -> Self {
        self._fields.42 = value.into();
        self
    }
    /// Set the `hasOfferCatalog` field to an Option value (optional)
    pub fn maybe_has_offer_catalog(
        mut self,
        value: Option<OrganizationHasOfferCatalog<S>>,
    ) -> Self {
        self._fields.42 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasPOS` field (optional)
    pub fn has_pos(mut self, value: impl Into<Option<OrganizationHasPos<S>>>) -> Self {
        self._fields.43 = value.into();
        self
    }
    /// Set the `hasPOS` field to an Option value (optional)
    pub fn maybe_has_pos(mut self, value: Option<OrganizationHasPos<S>>) -> Self {
        self._fields.43 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasProductReturnPolicy` field (optional)
    pub fn has_product_return_policy(
        mut self,
        value: impl Into<Option<OrganizationHasProductReturnPolicy<S>>>,
    ) -> Self {
        self._fields.44 = value.into();
        self
    }
    /// Set the `hasProductReturnPolicy` field to an Option value (optional)
    pub fn maybe_has_product_return_policy(
        mut self,
        value: Option<OrganizationHasProductReturnPolicy<S>>,
    ) -> Self {
        self._fields.44 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `hasShippingService` field (optional)
    pub fn has_shipping_service(
        mut self,
        value: impl Into<Option<OrganizationHasShippingService<S>>>,
    ) -> Self {
        self._fields.45 = value.into();
        self
    }
    /// Set the `hasShippingService` field to an Option value (optional)
    pub fn maybe_has_shipping_service(
        mut self,
        value: Option<OrganizationHasShippingService<S>>,
    ) -> Self {
        self._fields.45 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `identifier` field (optional)
    pub fn identifier(
        mut self,
        value: impl Into<Option<OrganizationIdentifier<S>>>,
    ) -> Self {
        self._fields.46 = value.into();
        self
    }
    /// Set the `identifier` field to an Option value (optional)
    pub fn maybe_identifier(mut self, value: Option<OrganizationIdentifier<S>>) -> Self {
        self._fields.46 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `image` field (optional)
    pub fn image(mut self, value: impl Into<Option<OrganizationImage<S>>>) -> Self {
        self._fields.47 = value.into();
        self
    }
    /// Set the `image` field to an Option value (optional)
    pub fn maybe_image(mut self, value: Option<OrganizationImage<S>>) -> Self {
        self._fields.47 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `interactionStatistic` field (optional)
    pub fn interaction_statistic(
        mut self,
        value: impl Into<Option<OrganizationInteractionStatistic<S>>>,
    ) -> Self {
        self._fields.48 = value.into();
        self
    }
    /// Set the `interactionStatistic` field to an Option value (optional)
    pub fn maybe_interaction_statistic(
        mut self,
        value: Option<OrganizationInteractionStatistic<S>>,
    ) -> Self {
        self._fields.48 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `isicV4` field (optional)
    pub fn isic_v4(mut self, value: impl Into<Option<OrganizationIsicV4<S>>>) -> Self {
        self._fields.49 = value.into();
        self
    }
    /// Set the `isicV4` field to an Option value (optional)
    pub fn maybe_isic_v4(mut self, value: Option<OrganizationIsicV4<S>>) -> Self {
        self._fields.49 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `iso6523Code` field (optional)
    pub fn iso6523_code(
        mut self,
        value: impl Into<Option<OrganizationIso6523Code<S>>>,
    ) -> Self {
        self._fields.50 = value.into();
        self
    }
    /// Set the `iso6523Code` field to an Option value (optional)
    pub fn maybe_iso6523_code(
        mut self,
        value: Option<OrganizationIso6523Code<S>>,
    ) -> Self {
        self._fields.50 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `keywords` field (optional)
    pub fn keywords(
        mut self,
        value: impl Into<Option<OrganizationKeywords<S>>>,
    ) -> Self {
        self._fields.51 = value.into();
        self
    }
    /// Set the `keywords` field to an Option value (optional)
    pub fn maybe_keywords(mut self, value: Option<OrganizationKeywords<S>>) -> Self {
        self._fields.51 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `knowsAbout` field (optional)
    pub fn knows_about(
        mut self,
        value: impl Into<Option<OrganizationKnowsAbout<S>>>,
    ) -> Self {
        self._fields.52 = value.into();
        self
    }
    /// Set the `knowsAbout` field to an Option value (optional)
    pub fn maybe_knows_about(
        mut self,
        value: Option<OrganizationKnowsAbout<S>>,
    ) -> Self {
        self._fields.52 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `knowsLanguage` field (optional)
    pub fn knows_language(
        mut self,
        value: impl Into<Option<OrganizationKnowsLanguage<S>>>,
    ) -> Self {
        self._fields.53 = value.into();
        self
    }
    /// Set the `knowsLanguage` field to an Option value (optional)
    pub fn maybe_knows_language(
        mut self,
        value: Option<OrganizationKnowsLanguage<S>>,
    ) -> Self {
        self._fields.53 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `legalAddress` field (optional)
    pub fn legal_address(
        mut self,
        value: impl Into<Option<OrganizationLegalAddress<S>>>,
    ) -> Self {
        self._fields.54 = value.into();
        self
    }
    /// Set the `legalAddress` field to an Option value (optional)
    pub fn maybe_legal_address(
        mut self,
        value: Option<OrganizationLegalAddress<S>>,
    ) -> Self {
        self._fields.54 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `legalName` field (optional)
    pub fn legal_name(
        mut self,
        value: impl Into<Option<OrganizationLegalName<S>>>,
    ) -> Self {
        self._fields.55 = value.into();
        self
    }
    /// Set the `legalName` field to an Option value (optional)
    pub fn maybe_legal_name(mut self, value: Option<OrganizationLegalName<S>>) -> Self {
        self._fields.55 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `legalRepresentative` field (optional)
    pub fn legal_representative(
        mut self,
        value: impl Into<Option<OrganizationLegalRepresentative<S>>>,
    ) -> Self {
        self._fields.56 = value.into();
        self
    }
    /// Set the `legalRepresentative` field to an Option value (optional)
    pub fn maybe_legal_representative(
        mut self,
        value: Option<OrganizationLegalRepresentative<S>>,
    ) -> Self {
        self._fields.56 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `leiCode` field (optional)
    pub fn lei_code(mut self, value: impl Into<Option<OrganizationLeiCode<S>>>) -> Self {
        self._fields.57 = value.into();
        self
    }
    /// Set the `leiCode` field to an Option value (optional)
    pub fn maybe_lei_code(mut self, value: Option<OrganizationLeiCode<S>>) -> Self {
        self._fields.57 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `location` field (optional)
    pub fn location(
        mut self,
        value: impl Into<Option<OrganizationLocation<S>>>,
    ) -> Self {
        self._fields.58 = value.into();
        self
    }
    /// Set the `location` field to an Option value (optional)
    pub fn maybe_location(mut self, value: Option<OrganizationLocation<S>>) -> Self {
        self._fields.58 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `logo` field (optional)
    pub fn logo(mut self, value: impl Into<Option<OrganizationLogo<S>>>) -> Self {
        self._fields.59 = value.into();
        self
    }
    /// Set the `logo` field to an Option value (optional)
    pub fn maybe_logo(mut self, value: Option<OrganizationLogo<S>>) -> Self {
        self._fields.59 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `mainEntityOfPage` field (optional)
    pub fn main_entity_of_page(
        mut self,
        value: impl Into<Option<OrganizationMainEntityOfPage<S>>>,
    ) -> Self {
        self._fields.60 = value.into();
        self
    }
    /// Set the `mainEntityOfPage` field to an Option value (optional)
    pub fn maybe_main_entity_of_page(
        mut self,
        value: Option<OrganizationMainEntityOfPage<S>>,
    ) -> Self {
        self._fields.60 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `makesOffer` field (optional)
    pub fn makes_offer(
        mut self,
        value: impl Into<Option<OrganizationMakesOffer<S>>>,
    ) -> Self {
        self._fields.61 = value.into();
        self
    }
    /// Set the `makesOffer` field to an Option value (optional)
    pub fn maybe_makes_offer(
        mut self,
        value: Option<OrganizationMakesOffer<S>>,
    ) -> Self {
        self._fields.61 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `member` field (optional)
    pub fn member(mut self, value: impl Into<Option<OrganizationMember<S>>>) -> Self {
        self._fields.62 = value.into();
        self
    }
    /// Set the `member` field to an Option value (optional)
    pub fn maybe_member(mut self, value: Option<OrganizationMember<S>>) -> Self {
        self._fields.62 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `memberOf` field (optional)
    pub fn member_of(
        mut self,
        value: impl Into<Option<OrganizationMemberOf<S>>>,
    ) -> Self {
        self._fields.63 = value.into();
        self
    }
    /// Set the `memberOf` field to an Option value (optional)
    pub fn maybe_member_of(mut self, value: Option<OrganizationMemberOf<S>>) -> Self {
        self._fields.63 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `members` field (optional)
    pub fn members(mut self, value: impl Into<Option<OrganizationMembers<S>>>) -> Self {
        self._fields.64 = value.into();
        self
    }
    /// Set the `members` field to an Option value (optional)
    pub fn maybe_members(mut self, value: Option<OrganizationMembers<S>>) -> Self {
        self._fields.64 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `naics` field (optional)
    pub fn naics(mut self, value: impl Into<Option<OrganizationNaics<S>>>) -> Self {
        self._fields.65 = value.into();
        self
    }
    /// Set the `naics` field to an Option value (optional)
    pub fn maybe_naics(mut self, value: Option<OrganizationNaics<S>>) -> Self {
        self._fields.65 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `name` field (optional)
    pub fn name(mut self, value: impl Into<Option<OrganizationName<S>>>) -> Self {
        self._fields.66 = value.into();
        self
    }
    /// Set the `name` field to an Option value (optional)
    pub fn maybe_name(mut self, value: Option<OrganizationName<S>>) -> Self {
        self._fields.66 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `nonprofitStatus` field (optional)
    pub fn nonprofit_status(
        mut self,
        value: impl Into<Option<OrganizationNonprofitStatus<S>>>,
    ) -> Self {
        self._fields.67 = value.into();
        self
    }
    /// Set the `nonprofitStatus` field to an Option value (optional)
    pub fn maybe_nonprofit_status(
        mut self,
        value: Option<OrganizationNonprofitStatus<S>>,
    ) -> Self {
        self._fields.67 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `numberOfEmployees` field (optional)
    pub fn number_of_employees(
        mut self,
        value: impl Into<Option<OrganizationNumberOfEmployees<S>>>,
    ) -> Self {
        self._fields.68 = value.into();
        self
    }
    /// Set the `numberOfEmployees` field to an Option value (optional)
    pub fn maybe_number_of_employees(
        mut self,
        value: Option<OrganizationNumberOfEmployees<S>>,
    ) -> Self {
        self._fields.68 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `ownershipFundingInfo` field (optional)
    pub fn ownership_funding_info(
        mut self,
        value: impl Into<Option<OrganizationOwnershipFundingInfo<S>>>,
    ) -> Self {
        self._fields.69 = value.into();
        self
    }
    /// Set the `ownershipFundingInfo` field to an Option value (optional)
    pub fn maybe_ownership_funding_info(
        mut self,
        value: Option<OrganizationOwnershipFundingInfo<S>>,
    ) -> Self {
        self._fields.69 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `owns` field (optional)
    pub fn owns(mut self, value: impl Into<Option<OrganizationOwns<S>>>) -> Self {
        self._fields.70 = value.into();
        self
    }
    /// Set the `owns` field to an Option value (optional)
    pub fn maybe_owns(mut self, value: Option<OrganizationOwns<S>>) -> Self {
        self._fields.70 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `parentOrganization` field (optional)
    pub fn parent_organization(
        mut self,
        value: impl Into<Option<OrganizationParentOrganization<S>>>,
    ) -> Self {
        self._fields.71 = value.into();
        self
    }
    /// Set the `parentOrganization` field to an Option value (optional)
    pub fn maybe_parent_organization(
        mut self,
        value: Option<OrganizationParentOrganization<S>>,
    ) -> Self {
        self._fields.71 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `potentialAction` field (optional)
    pub fn potential_action(
        mut self,
        value: impl Into<Option<OrganizationPotentialAction<S>>>,
    ) -> Self {
        self._fields.72 = value.into();
        self
    }
    /// Set the `potentialAction` field to an Option value (optional)
    pub fn maybe_potential_action(
        mut self,
        value: Option<OrganizationPotentialAction<S>>,
    ) -> Self {
        self._fields.72 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `publishingPrinciples` field (optional)
    pub fn publishing_principles(
        mut self,
        value: impl Into<Option<OrganizationPublishingPrinciples<S>>>,
    ) -> Self {
        self._fields.73 = value.into();
        self
    }
    /// Set the `publishingPrinciples` field to an Option value (optional)
    pub fn maybe_publishing_principles(
        mut self,
        value: Option<OrganizationPublishingPrinciples<S>>,
    ) -> Self {
        self._fields.73 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `review` field (optional)
    pub fn review(mut self, value: impl Into<Option<OrganizationReview<S>>>) -> Self {
        self._fields.74 = value.into();
        self
    }
    /// Set the `review` field to an Option value (optional)
    pub fn maybe_review(mut self, value: Option<OrganizationReview<S>>) -> Self {
        self._fields.74 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `reviews` field (optional)
    pub fn reviews(mut self, value: impl Into<Option<OrganizationReviews<S>>>) -> Self {
        self._fields.75 = value.into();
        self
    }
    /// Set the `reviews` field to an Option value (optional)
    pub fn maybe_reviews(mut self, value: Option<OrganizationReviews<S>>) -> Self {
        self._fields.75 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `sameAs` field (optional)
    pub fn same_as(mut self, value: impl Into<Option<OrganizationSameAs<S>>>) -> Self {
        self._fields.76 = value.into();
        self
    }
    /// Set the `sameAs` field to an Option value (optional)
    pub fn maybe_same_as(mut self, value: Option<OrganizationSameAs<S>>) -> Self {
        self._fields.76 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `seeks` field (optional)
    pub fn seeks(mut self, value: impl Into<Option<OrganizationSeeks<S>>>) -> Self {
        self._fields.77 = value.into();
        self
    }
    /// Set the `seeks` field to an Option value (optional)
    pub fn maybe_seeks(mut self, value: Option<OrganizationSeeks<S>>) -> Self {
        self._fields.77 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `serviceArea` field (optional)
    pub fn service_area(
        mut self,
        value: impl Into<Option<OrganizationServiceArea<S>>>,
    ) -> Self {
        self._fields.78 = value.into();
        self
    }
    /// Set the `serviceArea` field to an Option value (optional)
    pub fn maybe_service_area(
        mut self,
        value: Option<OrganizationServiceArea<S>>,
    ) -> Self {
        self._fields.78 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `skills` field (optional)
    pub fn skills(mut self, value: impl Into<Option<OrganizationSkills<S>>>) -> Self {
        self._fields.79 = value.into();
        self
    }
    /// Set the `skills` field to an Option value (optional)
    pub fn maybe_skills(mut self, value: Option<OrganizationSkills<S>>) -> Self {
        self._fields.79 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `slogan` field (optional)
    pub fn slogan(mut self, value: impl Into<Option<OrganizationSlogan<S>>>) -> Self {
        self._fields.80 = value.into();
        self
    }
    /// Set the `slogan` field to an Option value (optional)
    pub fn maybe_slogan(mut self, value: Option<OrganizationSlogan<S>>) -> Self {
        self._fields.80 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `sponsor` field (optional)
    pub fn sponsor(mut self, value: impl Into<Option<OrganizationSponsor<S>>>) -> Self {
        self._fields.81 = value.into();
        self
    }
    /// Set the `sponsor` field to an Option value (optional)
    pub fn maybe_sponsor(mut self, value: Option<OrganizationSponsor<S>>) -> Self {
        self._fields.81 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `subOrganization` field (optional)
    pub fn sub_organization(
        mut self,
        value: impl Into<Option<OrganizationSubOrganization<S>>>,
    ) -> Self {
        self._fields.82 = value.into();
        self
    }
    /// Set the `subOrganization` field to an Option value (optional)
    pub fn maybe_sub_organization(
        mut self,
        value: Option<OrganizationSubOrganization<S>>,
    ) -> Self {
        self._fields.82 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `subjectOf` field (optional)
    pub fn subject_of(
        mut self,
        value: impl Into<Option<OrganizationSubjectOf<S>>>,
    ) -> Self {
        self._fields.83 = value.into();
        self
    }
    /// Set the `subjectOf` field to an Option value (optional)
    pub fn maybe_subject_of(mut self, value: Option<OrganizationSubjectOf<S>>) -> Self {
        self._fields.83 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `taxID` field (optional)
    pub fn tax_id(mut self, value: impl Into<Option<OrganizationTaxId<S>>>) -> Self {
        self._fields.84 = value.into();
        self
    }
    /// Set the `taxID` field to an Option value (optional)
    pub fn maybe_tax_id(mut self, value: Option<OrganizationTaxId<S>>) -> Self {
        self._fields.84 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `telephone` field (optional)
    pub fn telephone(
        mut self,
        value: impl Into<Option<OrganizationTelephone<S>>>,
    ) -> Self {
        self._fields.85 = value.into();
        self
    }
    /// Set the `telephone` field to an Option value (optional)
    pub fn maybe_telephone(mut self, value: Option<OrganizationTelephone<S>>) -> Self {
        self._fields.85 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `unnamedSourcesPolicy` field (optional)
    pub fn unnamed_sources_policy(
        mut self,
        value: impl Into<Option<OrganizationUnnamedSourcesPolicy<S>>>,
    ) -> Self {
        self._fields.86 = value.into();
        self
    }
    /// Set the `unnamedSourcesPolicy` field to an Option value (optional)
    pub fn maybe_unnamed_sources_policy(
        mut self,
        value: Option<OrganizationUnnamedSourcesPolicy<S>>,
    ) -> Self {
        self._fields.86 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `url` field (optional)
    pub fn url(mut self, value: impl Into<Option<OrganizationUrl<S>>>) -> Self {
        self._fields.87 = value.into();
        self
    }
    /// Set the `url` field to an Option value (optional)
    pub fn maybe_url(mut self, value: Option<OrganizationUrl<S>>) -> Self {
        self._fields.87 = value;
        self
    }
}

impl<St: organization_state::State, S: BosStr> OrganizationBuilder<St, S> {
    /// Set the `vatID` field (optional)
    pub fn vat_id(mut self, value: impl Into<Option<OrganizationVatId<S>>>) -> Self {
        self._fields.88 = value.into();
        self
    }
    /// Set the `vatID` field to an Option value (optional)
    pub fn maybe_vat_id(mut self, value: Option<OrganizationVatId<S>>) -> Self {
        self._fields.88 = value;
        self
    }
}

impl<St, S: BosStr> OrganizationBuilder<St, S>
where
    St: organization_state::State,
{
    /// Build the final struct.
    pub fn build(self) -> Organization<S> {
        Organization {
            accepted_payment_method: self._fields.0,
            actionable_feedback_policy: self._fields.1,
            additional_type: self._fields.2,
            address: self._fields.3,
            agent_interaction_statistic: self._fields.4,
            aggregate_rating: self._fields.5,
            alternate_name: self._fields.6,
            alumni: self._fields.7,
            area_served: self._fields.8,
            award: self._fields.9,
            awards: self._fields.10,
            brand: self._fields.11,
            company_registration: self._fields.12,
            contact_point: self._fields.13,
            contact_points: self._fields.14,
            corrections_policy: self._fields.15,
            department: self._fields.16,
            description: self._fields.17,
            disambiguating_description: self._fields.18,
            dissolution_date: self._fields.19,
            diversity_policy: self._fields.20,
            diversity_staffing_report: self._fields.21,
            duns: self._fields.22,
            email: self._fields.23,
            employee: self._fields.24,
            employees: self._fields.25,
            ethics_policy: self._fields.26,
            event: self._fields.27,
            events: self._fields.28,
            fax_number: self._fields.29,
            founder: self._fields.30,
            founders: self._fields.31,
            founding_date: self._fields.32,
            founding_location: self._fields.33,
            funder: self._fields.34,
            funding: self._fields.35,
            global_location_number: self._fields.36,
            has_certification: self._fields.37,
            has_credential: self._fields.38,
            has_gs1_digital_link: self._fields.39,
            has_member_program: self._fields.40,
            has_merchant_return_policy: self._fields.41,
            has_offer_catalog: self._fields.42,
            has_pos: self._fields.43,
            has_product_return_policy: self._fields.44,
            has_shipping_service: self._fields.45,
            identifier: self._fields.46,
            image: self._fields.47,
            interaction_statistic: self._fields.48,
            isic_v4: self._fields.49,
            iso6523_code: self._fields.50,
            keywords: self._fields.51,
            knows_about: self._fields.52,
            knows_language: self._fields.53,
            legal_address: self._fields.54,
            legal_name: self._fields.55,
            legal_representative: self._fields.56,
            lei_code: self._fields.57,
            location: self._fields.58,
            logo: self._fields.59,
            main_entity_of_page: self._fields.60,
            makes_offer: self._fields.61,
            member: self._fields.62,
            member_of: self._fields.63,
            members: self._fields.64,
            naics: self._fields.65,
            name: self._fields.66,
            nonprofit_status: self._fields.67,
            number_of_employees: self._fields.68,
            ownership_funding_info: self._fields.69,
            owns: self._fields.70,
            parent_organization: self._fields.71,
            potential_action: self._fields.72,
            publishing_principles: self._fields.73,
            review: self._fields.74,
            reviews: self._fields.75,
            same_as: self._fields.76,
            seeks: self._fields.77,
            service_area: self._fields.78,
            skills: self._fields.79,
            slogan: self._fields.80,
            sponsor: self._fields.81,
            sub_organization: self._fields.82,
            subject_of: self._fields.83,
            tax_id: self._fields.84,
            telephone: self._fields.85,
            unnamed_sources_policy: self._fields.86,
            url: self._fields.87,
            vat_id: self._fields.88,
            extra_data: Default::default(),
        }
    }
    /// Build the final struct with custom extra_data.
    pub fn build_with_data(
        self,
        extra_data: BTreeMap<SmolStr, Data<S>>,
    ) -> Organization<S> {
        Organization {
            accepted_payment_method: self._fields.0,
            actionable_feedback_policy: self._fields.1,
            additional_type: self._fields.2,
            address: self._fields.3,
            agent_interaction_statistic: self._fields.4,
            aggregate_rating: self._fields.5,
            alternate_name: self._fields.6,
            alumni: self._fields.7,
            area_served: self._fields.8,
            award: self._fields.9,
            awards: self._fields.10,
            brand: self._fields.11,
            company_registration: self._fields.12,
            contact_point: self._fields.13,
            contact_points: self._fields.14,
            corrections_policy: self._fields.15,
            department: self._fields.16,
            description: self._fields.17,
            disambiguating_description: self._fields.18,
            dissolution_date: self._fields.19,
            diversity_policy: self._fields.20,
            diversity_staffing_report: self._fields.21,
            duns: self._fields.22,
            email: self._fields.23,
            employee: self._fields.24,
            employees: self._fields.25,
            ethics_policy: self._fields.26,
            event: self._fields.27,
            events: self._fields.28,
            fax_number: self._fields.29,
            founder: self._fields.30,
            founders: self._fields.31,
            founding_date: self._fields.32,
            founding_location: self._fields.33,
            funder: self._fields.34,
            funding: self._fields.35,
            global_location_number: self._fields.36,
            has_certification: self._fields.37,
            has_credential: self._fields.38,
            has_gs1_digital_link: self._fields.39,
            has_member_program: self._fields.40,
            has_merchant_return_policy: self._fields.41,
            has_offer_catalog: self._fields.42,
            has_pos: self._fields.43,
            has_product_return_policy: self._fields.44,
            has_shipping_service: self._fields.45,
            identifier: self._fields.46,
            image: self._fields.47,
            interaction_statistic: self._fields.48,
            isic_v4: self._fields.49,
            iso6523_code: self._fields.50,
            keywords: self._fields.51,
            knows_about: self._fields.52,
            knows_language: self._fields.53,
            legal_address: self._fields.54,
            legal_name: self._fields.55,
            legal_representative: self._fields.56,
            lei_code: self._fields.57,
            location: self._fields.58,
            logo: self._fields.59,
            main_entity_of_page: self._fields.60,
            makes_offer: self._fields.61,
            member: self._fields.62,
            member_of: self._fields.63,
            members: self._fields.64,
            naics: self._fields.65,
            name: self._fields.66,
            nonprofit_status: self._fields.67,
            number_of_employees: self._fields.68,
            ownership_funding_info: self._fields.69,
            owns: self._fields.70,
            parent_organization: self._fields.71,
            potential_action: self._fields.72,
            publishing_principles: self._fields.73,
            review: self._fields.74,
            reviews: self._fields.75,
            same_as: self._fields.76,
            seeks: self._fields.77,
            service_area: self._fields.78,
            skills: self._fields.79,
            slogan: self._fields.80,
            sponsor: self._fields.81,
            sub_organization: self._fields.82,
            subject_of: self._fields.83,
            tax_id: self._fields.84,
            telephone: self._fields.85,
            unnamed_sources_policy: self._fields.86,
            url: self._fields.87,
            vat_id: self._fields.88,
            extra_data: Some(extra_data),
        }
    }
}