// @generated by jacquard-lexicon. DO NOT EDIT.
//
// Lexicon: social.flockfeeds.lexical.type.Product
//
// 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::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::product;
/// Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.

#[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 additional_property: Option<EmbeddedAdditionalProperty<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_type: Option<EmbeddedAdditionalType<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 asin: Option<EmbeddedAsin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub audience: Option<EmbeddedAudience<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 category: Option<EmbeddedCategory<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub color: Option<EmbeddedColor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub color_swatch: Option<EmbeddedColorSwatch<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub country_of_assembly: Option<EmbeddedCountryOfAssembly<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub country_of_last_processing: Option<EmbeddedCountryOfLastProcessing<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub country_of_origin: Option<EmbeddedCountryOfOrigin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub depth: Option<EmbeddedDepth<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 funding: Option<EmbeddedFunding<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin: Option<EmbeddedGtin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin12: Option<EmbeddedGtin12<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin13: Option<EmbeddedGtin13<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin14: Option<EmbeddedGtin14<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin8: Option<EmbeddedGtin8<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_adult_consideration: Option<EmbeddedHasAdultConsideration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_certification: Option<EmbeddedHasCertification<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_energy_consumption_details: Option<EmbeddedHasEnergyConsumptionDetails<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_measurement: Option<EmbeddedHasMeasurement<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_product_return_policy: Option<EmbeddedHasProductReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub height: Option<EmbeddedHeight<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 in_product_group_with_id: Option<EmbeddedInProductGroupWithId<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_accessory_or_spare_part_for: Option<EmbeddedIsAccessoryOrSparePartFor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_consumable_for: Option<EmbeddedIsConsumableFor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_family_friendly: Option<EmbeddedIsFamilyFriendly<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_related_to: Option<EmbeddedIsRelatedTo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_similar_to: Option<EmbeddedIsSimilarTo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_variant_of: Option<EmbeddedIsVariantOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub item_condition: Option<EmbeddedItemCondition<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub keywords: Option<EmbeddedKeywords<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 manufacturer: Option<EmbeddedManufacturer<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub material: Option<EmbeddedMaterial<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mobile_url: Option<EmbeddedMobileUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub model: Option<EmbeddedModel<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mpn: Option<EmbeddedMpn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<EmbeddedName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub negative_notes: Option<EmbeddedNegativeNotes<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub nsn: Option<EmbeddedNsn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offers: Option<EmbeddedOffers<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub pattern: Option<EmbeddedPattern<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub positive_notes: Option<EmbeddedPositiveNotes<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub potential_action: Option<EmbeddedPotentialAction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub product_id: Option<EmbeddedProductId<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub production_date: Option<EmbeddedProductionDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub purchase_date: Option<EmbeddedPurchaseDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub release_date: Option<EmbeddedReleaseDate<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 size: Option<EmbeddedSize<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sku: Option<EmbeddedSku<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub slogan: Option<EmbeddedSlogan<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub subject_of: Option<EmbeddedSubjectOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub url: Option<EmbeddedUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub weight: Option<EmbeddedWeight<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub width: Option<EmbeddedWidth<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 EmbeddedAdditionalProperty<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 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 EmbeddedAsin<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedAudience<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")]
    OrganizationEmbedded(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 EmbeddedCategory<S: BosStr = DefaultStr> {}

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

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

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

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

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

#[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 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 EmbeddedGtin<S: BosStr = DefaultStr> {}

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

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

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

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

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedHasAdultConsideration<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 EmbeddedHasEnergyConsumptionDetails<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 EmbeddedHasMeasurement<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 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 EmbeddedHeight<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 EmbeddedInProductGroupWithId<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedIsAccessoryOrSparePartFor<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 EmbeddedIsConsumableFor<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 EmbeddedIsFamilyFriendly<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedIsRelatedTo<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 EmbeddedIsSimilarTo<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 EmbeddedIsVariantOf<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum EmbeddedItemCondition<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 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 EmbeddedManufacturer<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    OrganizationEmbedded(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 EmbeddedMaterial<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 EmbeddedMobileUrl<S: BosStr = DefaultStr> {}

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

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

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

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

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

#[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 EmbeddedProductId<S: BosStr = DefaultStr> {}

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

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

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

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

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

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(
    rename_all = "camelCase",
    rename = "social.flockfeeds.lexical.type.Product",
    tag = "$type",
    bound(deserialize = "S: Deserialize<'de> + BosStr")
)]
pub struct Product<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_property: Option<ProductAdditionalProperty<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_type: Option<ProductAdditionalType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aggregate_rating: Option<ProductAggregateRating<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alternate_name: Option<ProductAlternateName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub asin: Option<ProductAsin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub audience: Option<ProductAudience<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub award: Option<ProductAward<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub awards: Option<ProductAwards<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub brand: Option<ProductBrand<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub category: Option<ProductCategory<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub color: Option<ProductColor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub color_swatch: Option<ProductColorSwatch<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub country_of_assembly: Option<ProductCountryOfAssembly<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub country_of_last_processing: Option<ProductCountryOfLastProcessing<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub country_of_origin: Option<ProductCountryOfOrigin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub depth: Option<ProductDepth<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<ProductDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub disambiguating_description: Option<ProductDisambiguatingDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub funding: Option<ProductFunding<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin: Option<ProductGtin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin12: Option<ProductGtin12<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin13: Option<ProductGtin13<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin14: Option<ProductGtin14<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin8: Option<ProductGtin8<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_adult_consideration: Option<ProductHasAdultConsideration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_certification: Option<ProductHasCertification<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_energy_consumption_details: Option<ProductHasEnergyConsumptionDetails<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_gs1_digital_link: Option<ProductHasGs1DigitalLink<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_measurement: Option<ProductHasMeasurement<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_merchant_return_policy: Option<ProductHasMerchantReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_product_return_policy: Option<ProductHasProductReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub height: Option<ProductHeight<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub identifier: Option<ProductIdentifier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub image: Option<ProductImage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub in_product_group_with_id: Option<ProductInProductGroupWithId<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_accessory_or_spare_part_for: Option<ProductIsAccessoryOrSparePartFor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_consumable_for: Option<ProductIsConsumableFor<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_family_friendly: Option<ProductIsFamilyFriendly<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_related_to: Option<ProductIsRelatedTo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_similar_to: Option<ProductIsSimilarTo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_variant_of: Option<ProductIsVariantOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub item_condition: Option<ProductItemCondition<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub keywords: Option<ProductKeywords<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub logo: Option<ProductLogo<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub main_entity_of_page: Option<ProductMainEntityOfPage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub manufacturer: Option<ProductManufacturer<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub material: Option<ProductMaterial<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mobile_url: Option<ProductMobileUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub model: Option<ProductModel<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mpn: Option<ProductMpn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<ProductName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub negative_notes: Option<ProductNegativeNotes<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub nsn: Option<ProductNsn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offers: Option<ProductOffers<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub pattern: Option<ProductPattern<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub positive_notes: Option<ProductPositiveNotes<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub potential_action: Option<ProductPotentialAction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub product_id: Option<ProductProductId<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub production_date: Option<ProductProductionDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub purchase_date: Option<ProductPurchaseDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub release_date: Option<ProductReleaseDate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub review: Option<ProductReview<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub reviews: Option<ProductReviews<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub same_as: Option<ProductSameAs<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub size: Option<ProductSize<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sku: Option<ProductSku<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub slogan: Option<ProductSlogan<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub subject_of: Option<ProductSubjectOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub url: Option<ProductUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub weight: Option<ProductWeight<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub width: Option<ProductWidth<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 ProductAdditionalProperty<S: BosStr = DefaultStr> {}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum ProductIsAccessoryOrSparePartFor<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 ProductIsConsumableFor<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 ProductIsFamilyFriendly<S: BosStr = DefaultStr> {}

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum ProductIsRelatedTo<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 ProductIsSimilarTo<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 ProductIsVariantOf<S: BosStr = DefaultStr> {}

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

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

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

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum ProductManufacturer<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Organization#embedded")]
    OrganizationEmbedded(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 ProductMaterial<S: BosStr = DefaultStr> {
    #[serde(rename = "social.flockfeeds.lexical.type.Product#embedded")]
    Embedded(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 ProductMobileUrl<S: BosStr = DefaultStr> {}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#[open_union]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(tag = "$type", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub enum ProductWidth<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 ProductGetRecordOutput<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub cid: Option<Cid<S>>,
    pub uri: AtUri<S>,
    pub value: Product<S>,
}

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

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

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

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

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

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

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

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

fn lexicon_doc_social_flockfeeds_lexical_type_Product() -> 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.Product"),
        defs: {
            let mut map = BTreeMap::new();
            map.insert(
                SmolStr::new_static("embedded"),
                LexUserType::Object(LexObject {
                    description: Some(
                        CowStr::new_static(
                            "Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.",
                        ),
                    ),
                    properties: {
                        #[allow(unused_mut)]
                        let mut map = BTreeMap::new();
                        map.insert(
                            SmolStr::new_static("additionalProperty"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalPropertyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("additionalType"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeList")
                                ],
                                ..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.product#aggregateRatingList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("alternateName"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("asin"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#asinScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#asinList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("audience"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#audienceList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("award"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#awardScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#awardList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("awards"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#awardsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#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.product#brandList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("category"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.CategoryCode#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.PhysicalActivityCategory#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("color"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#colorScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#colorList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("colorSwatch"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("countryOfAssembly"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("countryOfLastProcessing"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("countryOfOrigin"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfOriginList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("depth"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#depthScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#depthList")
                                ],
                                ..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.product#descriptionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#descriptionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("disambiguatingDescription"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionList")
                                ],
                                ..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.product#fundingList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin12"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin13"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin14"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin8"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasAdultConsideration"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AdultOrientedEnumeration#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationList")
                                ],
                                ..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.product#hasCertificationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasEnergyConsumptionDetails"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.EnergyConsumptionDetails#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#hasEnergyConsumptionDetailsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasGS1DigitalLink"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasMeasurement"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#hasMeasurementList")
                                ],
                                ..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.product#hasMerchantReturnPolicyList")
                                ],
                                ..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.product#hasProductReturnPolicyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("height"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#heightScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#heightList")
                                ],
                                ..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.product#identifierScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#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.product#imageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#imageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("inProductGroupWithID"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isAccessoryOrSparePartFor"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isAccessoryOrSparePartForList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isConsumableFor"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isConsumableForList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isFamilyFriendly"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isRelatedTo"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isRelatedToList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isSimilarTo"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isSimilarToList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isVariantOf"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ProductGroup#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#isVariantOfList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("itemCondition"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.OfferItemCondition#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionList")
                                ],
                                ..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.product#keywordsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#keywordsList")
                                ],
                                ..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.product#logoScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#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.product#mainEntityOfPageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#mainEntityOfPageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("manufacturer"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#manufacturerList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("material"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#materialScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#materialList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("mobileUrl"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("model"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#modelScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#modelList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("mpn"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("name"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#nameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#nameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("negativeNotes"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("nsn"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("offers"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#offersList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("pattern"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#patternScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#patternList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("positiveNotes"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesList")
                                ],
                                ..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.product#potentialActionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("productID"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("productionDate"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("purchaseDate"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("releaseDate"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateList")
                                ],
                                ..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.product#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.product#reviewsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("sameAs"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("size"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("sku"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#skuScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#skuList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("slogan"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganList")
                                ],
                                ..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.product#subjectOfList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("url"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#urlScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#urlList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("weight"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Mass#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#weightScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#weightList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("width"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#widthScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.product#widthList")
                                ],
                                ..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(
                                "Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.",
                            ),
                        ),
                        properties: {
                            #[allow(unused_mut)]
                            let mut map = BTreeMap::new();
                            map.insert(
                                SmolStr::new_static("additionalProperty"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.PropertyValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalPropertyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("additionalType"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#additionalTypeList")
                                    ],
                                    ..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.product#aggregateRatingList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("alternateName"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#alternateNameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("asin"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#asinScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#asinList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("audience"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Audience#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#audienceList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("award"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#awardScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#awardList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("awards"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#awardsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#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.product#brandList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("category"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.CategoryCode#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.PhysicalActivityCategory#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Thing#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#categoryList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("color"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#colorScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#colorList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("colorSwatch"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ImageObject#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#colorSwatchList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("countryOfAssembly"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfAssemblyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("countryOfLastProcessing"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfLastProcessingList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("countryOfOrigin"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Country#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#countryOfOriginList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("depth"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#depthScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#depthList")
                                    ],
                                    ..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.product#descriptionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#descriptionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("disambiguatingDescription"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#disambiguatingDescriptionList")
                                    ],
                                    ..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.product#fundingList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtinList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin12"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin12List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin13"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin13List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin14"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin14List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin8"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#gtin8List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasAdultConsideration"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AdultOrientedEnumeration#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#hasAdultConsiderationList")
                                    ],
                                    ..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.product#hasCertificationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasEnergyConsumptionDetails"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.EnergyConsumptionDetails#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#hasEnergyConsumptionDetailsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasGS1DigitalLink"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#hasGS1DigitalLinkList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasMeasurement"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#hasMeasurementList")
                                    ],
                                    ..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.product#hasMerchantReturnPolicyList")
                                    ],
                                    ..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.product#hasProductReturnPolicyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("height"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#heightScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#heightList")
                                    ],
                                    ..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.product#identifierScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#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.product#imageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#imageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("inProductGroupWithID"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#inProductGroupWithIDList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isAccessoryOrSparePartFor"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isAccessoryOrSparePartForList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isConsumableFor"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isConsumableForList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isFamilyFriendly"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isFamilyFriendlyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isRelatedTo"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isRelatedToList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isSimilarTo"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isSimilarToList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isVariantOf"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ProductGroup#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#isVariantOfList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("itemCondition"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.OfferItemCondition#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#itemConditionList")
                                    ],
                                    ..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.product#keywordsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#keywordsList")
                                    ],
                                    ..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.product#logoScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#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.product#mainEntityOfPageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#mainEntityOfPageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("manufacturer"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#manufacturerList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("material"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#materialScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#materialList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("mobileUrl"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#mobileUrlList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("model"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ProductModel#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#modelScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#modelList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("mpn"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#mpnList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("name"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#nameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#nameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("negativeNotes"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#negativeNotesList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("nsn"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#nsnList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("offers"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Demand#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#offersList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("pattern"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#patternScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#patternList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("positiveNotes"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ItemList#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.ListItem#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.WebContent#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#positiveNotesList")
                                    ],
                                    ..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.product#potentialActionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("productID"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#productIDList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("productionDate"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#productionDateList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("purchaseDate"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#purchaseDateList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("releaseDate"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#releaseDateList")
                                    ],
                                    ..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.product#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.product#reviewsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("sameAs"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#sameAsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("size"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.DefinedTerm#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.SizeSpecification#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#sizeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("sku"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#skuScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#skuList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("slogan"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#sloganList")
                                    ],
                                    ..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.product#subjectOfList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("url"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#urlScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#urlList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("weight"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Mass#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#weightScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#weightList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("width"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Distance#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#widthScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.product#widthList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map
                        },
                        ..Default::default()
                    }),
                    ..Default::default()
                }),
            );
            map
        },
        ..Default::default()
    }
}

pub mod product_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 ProductBuilder<St: product_state::State, S: BosStr = DefaultStr> {
    _state: PhantomData<fn() -> St>,
    _fields: (
        Option<ProductAdditionalProperty<S>>,
        Option<ProductAdditionalType<S>>,
        Option<ProductAggregateRating<S>>,
        Option<ProductAlternateName<S>>,
        Option<ProductAsin<S>>,
        Option<ProductAudience<S>>,
        Option<ProductAward<S>>,
        Option<ProductAwards<S>>,
        Option<ProductBrand<S>>,
        Option<ProductCategory<S>>,
        Option<ProductColor<S>>,
        Option<ProductColorSwatch<S>>,
        Option<ProductCountryOfAssembly<S>>,
        Option<ProductCountryOfLastProcessing<S>>,
        Option<ProductCountryOfOrigin<S>>,
        Option<ProductDepth<S>>,
        Option<ProductDescription<S>>,
        Option<ProductDisambiguatingDescription<S>>,
        Option<ProductFunding<S>>,
        Option<ProductGtin<S>>,
        Option<ProductGtin12<S>>,
        Option<ProductGtin13<S>>,
        Option<ProductGtin14<S>>,
        Option<ProductGtin8<S>>,
        Option<ProductHasAdultConsideration<S>>,
        Option<ProductHasCertification<S>>,
        Option<ProductHasEnergyConsumptionDetails<S>>,
        Option<ProductHasGs1DigitalLink<S>>,
        Option<ProductHasMeasurement<S>>,
        Option<ProductHasMerchantReturnPolicy<S>>,
        Option<ProductHasProductReturnPolicy<S>>,
        Option<ProductHeight<S>>,
        Option<ProductIdentifier<S>>,
        Option<ProductImage<S>>,
        Option<ProductInProductGroupWithId<S>>,
        Option<ProductIsAccessoryOrSparePartFor<S>>,
        Option<ProductIsConsumableFor<S>>,
        Option<ProductIsFamilyFriendly<S>>,
        Option<ProductIsRelatedTo<S>>,
        Option<ProductIsSimilarTo<S>>,
        Option<ProductIsVariantOf<S>>,
        Option<ProductItemCondition<S>>,
        Option<ProductKeywords<S>>,
        Option<ProductLogo<S>>,
        Option<ProductMainEntityOfPage<S>>,
        Option<ProductManufacturer<S>>,
        Option<ProductMaterial<S>>,
        Option<ProductMobileUrl<S>>,
        Option<ProductModel<S>>,
        Option<ProductMpn<S>>,
        Option<ProductName<S>>,
        Option<ProductNegativeNotes<S>>,
        Option<ProductNsn<S>>,
        Option<ProductOffers<S>>,
        Option<ProductPattern<S>>,
        Option<ProductPositiveNotes<S>>,
        Option<ProductPotentialAction<S>>,
        Option<ProductProductId<S>>,
        Option<ProductProductionDate<S>>,
        Option<ProductPurchaseDate<S>>,
        Option<ProductReleaseDate<S>>,
        Option<ProductReview<S>>,
        Option<ProductReviews<S>>,
        Option<ProductSameAs<S>>,
        Option<ProductSize<S>>,
        Option<ProductSku<S>>,
        Option<ProductSlogan<S>>,
        Option<ProductSubjectOf<S>>,
        Option<ProductUrl<S>>,
        Option<ProductWeight<S>>,
        Option<ProductWidth<S>>,
    ),
    _type: PhantomData<fn() -> S>,
}

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

impl<S: BosStr> Product<S> {
    /// Create a new builder for this type
    pub fn builder() -> ProductBuilder<product_state::Empty, S> {
        ProductBuilder::builder()
    }
}

impl ProductBuilder<product_state::Empty, DefaultStr> {
    /// Create a new builder with all fields unset, using the default string type, if needed
    pub fn new() -> Self {
        ProductBuilder {
            _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,
            ),
            _type: PhantomData,
        }
    }
}

impl<S: BosStr> ProductBuilder<product_state::Empty, S> {
    /// Create a new builder with all fields unset
    pub fn builder() -> Self {
        ProductBuilder {
            _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,
            ),
            _type: PhantomData,
        }
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `additionalProperty` field (optional)
    pub fn additional_property(
        mut self,
        value: impl Into<Option<ProductAdditionalProperty<S>>>,
    ) -> Self {
        self._fields.0 = value.into();
        self
    }
    /// Set the `additionalProperty` field to an Option value (optional)
    pub fn maybe_additional_property(
        mut self,
        value: Option<ProductAdditionalProperty<S>>,
    ) -> Self {
        self._fields.0 = value;
        self
    }
}

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

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `asin` field (optional)
    pub fn asin(mut self, value: impl Into<Option<ProductAsin<S>>>) -> Self {
        self._fields.4 = value.into();
        self
    }
    /// Set the `asin` field to an Option value (optional)
    pub fn maybe_asin(mut self, value: Option<ProductAsin<S>>) -> Self {
        self._fields.4 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `audience` field (optional)
    pub fn audience(mut self, value: impl Into<Option<ProductAudience<S>>>) -> Self {
        self._fields.5 = value.into();
        self
    }
    /// Set the `audience` field to an Option value (optional)
    pub fn maybe_audience(mut self, value: Option<ProductAudience<S>>) -> Self {
        self._fields.5 = value;
        self
    }
}

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

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `category` field (optional)
    pub fn category(mut self, value: impl Into<Option<ProductCategory<S>>>) -> Self {
        self._fields.9 = value.into();
        self
    }
    /// Set the `category` field to an Option value (optional)
    pub fn maybe_category(mut self, value: Option<ProductCategory<S>>) -> Self {
        self._fields.9 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `color` field (optional)
    pub fn color(mut self, value: impl Into<Option<ProductColor<S>>>) -> Self {
        self._fields.10 = value.into();
        self
    }
    /// Set the `color` field to an Option value (optional)
    pub fn maybe_color(mut self, value: Option<ProductColor<S>>) -> Self {
        self._fields.10 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `colorSwatch` field (optional)
    pub fn color_swatch(
        mut self,
        value: impl Into<Option<ProductColorSwatch<S>>>,
    ) -> Self {
        self._fields.11 = value.into();
        self
    }
    /// Set the `colorSwatch` field to an Option value (optional)
    pub fn maybe_color_swatch(mut self, value: Option<ProductColorSwatch<S>>) -> Self {
        self._fields.11 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `countryOfAssembly` field (optional)
    pub fn country_of_assembly(
        mut self,
        value: impl Into<Option<ProductCountryOfAssembly<S>>>,
    ) -> Self {
        self._fields.12 = value.into();
        self
    }
    /// Set the `countryOfAssembly` field to an Option value (optional)
    pub fn maybe_country_of_assembly(
        mut self,
        value: Option<ProductCountryOfAssembly<S>>,
    ) -> Self {
        self._fields.12 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `countryOfLastProcessing` field (optional)
    pub fn country_of_last_processing(
        mut self,
        value: impl Into<Option<ProductCountryOfLastProcessing<S>>>,
    ) -> Self {
        self._fields.13 = value.into();
        self
    }
    /// Set the `countryOfLastProcessing` field to an Option value (optional)
    pub fn maybe_country_of_last_processing(
        mut self,
        value: Option<ProductCountryOfLastProcessing<S>>,
    ) -> Self {
        self._fields.13 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `countryOfOrigin` field (optional)
    pub fn country_of_origin(
        mut self,
        value: impl Into<Option<ProductCountryOfOrigin<S>>>,
    ) -> Self {
        self._fields.14 = value.into();
        self
    }
    /// Set the `countryOfOrigin` field to an Option value (optional)
    pub fn maybe_country_of_origin(
        mut self,
        value: Option<ProductCountryOfOrigin<S>>,
    ) -> Self {
        self._fields.14 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `depth` field (optional)
    pub fn depth(mut self, value: impl Into<Option<ProductDepth<S>>>) -> Self {
        self._fields.15 = value.into();
        self
    }
    /// Set the `depth` field to an Option value (optional)
    pub fn maybe_depth(mut self, value: Option<ProductDepth<S>>) -> Self {
        self._fields.15 = value;
        self
    }
}

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

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `gtin` field (optional)
    pub fn gtin(mut self, value: impl Into<Option<ProductGtin<S>>>) -> Self {
        self._fields.19 = value.into();
        self
    }
    /// Set the `gtin` field to an Option value (optional)
    pub fn maybe_gtin(mut self, value: Option<ProductGtin<S>>) -> Self {
        self._fields.19 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `gtin12` field (optional)
    pub fn gtin12(mut self, value: impl Into<Option<ProductGtin12<S>>>) -> Self {
        self._fields.20 = value.into();
        self
    }
    /// Set the `gtin12` field to an Option value (optional)
    pub fn maybe_gtin12(mut self, value: Option<ProductGtin12<S>>) -> Self {
        self._fields.20 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `gtin13` field (optional)
    pub fn gtin13(mut self, value: impl Into<Option<ProductGtin13<S>>>) -> Self {
        self._fields.21 = value.into();
        self
    }
    /// Set the `gtin13` field to an Option value (optional)
    pub fn maybe_gtin13(mut self, value: Option<ProductGtin13<S>>) -> Self {
        self._fields.21 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `gtin14` field (optional)
    pub fn gtin14(mut self, value: impl Into<Option<ProductGtin14<S>>>) -> Self {
        self._fields.22 = value.into();
        self
    }
    /// Set the `gtin14` field to an Option value (optional)
    pub fn maybe_gtin14(mut self, value: Option<ProductGtin14<S>>) -> Self {
        self._fields.22 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `gtin8` field (optional)
    pub fn gtin8(mut self, value: impl Into<Option<ProductGtin8<S>>>) -> Self {
        self._fields.23 = value.into();
        self
    }
    /// Set the `gtin8` field to an Option value (optional)
    pub fn maybe_gtin8(mut self, value: Option<ProductGtin8<S>>) -> Self {
        self._fields.23 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `hasAdultConsideration` field (optional)
    pub fn has_adult_consideration(
        mut self,
        value: impl Into<Option<ProductHasAdultConsideration<S>>>,
    ) -> Self {
        self._fields.24 = value.into();
        self
    }
    /// Set the `hasAdultConsideration` field to an Option value (optional)
    pub fn maybe_has_adult_consideration(
        mut self,
        value: Option<ProductHasAdultConsideration<S>>,
    ) -> Self {
        self._fields.24 = value;
        self
    }
}

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `hasEnergyConsumptionDetails` field (optional)
    pub fn has_energy_consumption_details(
        mut self,
        value: impl Into<Option<ProductHasEnergyConsumptionDetails<S>>>,
    ) -> Self {
        self._fields.26 = value.into();
        self
    }
    /// Set the `hasEnergyConsumptionDetails` field to an Option value (optional)
    pub fn maybe_has_energy_consumption_details(
        mut self,
        value: Option<ProductHasEnergyConsumptionDetails<S>>,
    ) -> Self {
        self._fields.26 = value;
        self
    }
}

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `hasMeasurement` field (optional)
    pub fn has_measurement(
        mut self,
        value: impl Into<Option<ProductHasMeasurement<S>>>,
    ) -> Self {
        self._fields.28 = value.into();
        self
    }
    /// Set the `hasMeasurement` field to an Option value (optional)
    pub fn maybe_has_measurement(
        mut self,
        value: Option<ProductHasMeasurement<S>>,
    ) -> Self {
        self._fields.28 = value;
        self
    }
}

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `height` field (optional)
    pub fn height(mut self, value: impl Into<Option<ProductHeight<S>>>) -> Self {
        self._fields.31 = value.into();
        self
    }
    /// Set the `height` field to an Option value (optional)
    pub fn maybe_height(mut self, value: Option<ProductHeight<S>>) -> Self {
        self._fields.31 = value;
        self
    }
}

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `inProductGroupWithID` field (optional)
    pub fn in_product_group_with_id(
        mut self,
        value: impl Into<Option<ProductInProductGroupWithId<S>>>,
    ) -> Self {
        self._fields.34 = value.into();
        self
    }
    /// Set the `inProductGroupWithID` field to an Option value (optional)
    pub fn maybe_in_product_group_with_id(
        mut self,
        value: Option<ProductInProductGroupWithId<S>>,
    ) -> Self {
        self._fields.34 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `isAccessoryOrSparePartFor` field (optional)
    pub fn is_accessory_or_spare_part_for(
        mut self,
        value: impl Into<Option<ProductIsAccessoryOrSparePartFor<S>>>,
    ) -> Self {
        self._fields.35 = value.into();
        self
    }
    /// Set the `isAccessoryOrSparePartFor` field to an Option value (optional)
    pub fn maybe_is_accessory_or_spare_part_for(
        mut self,
        value: Option<ProductIsAccessoryOrSparePartFor<S>>,
    ) -> Self {
        self._fields.35 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `isConsumableFor` field (optional)
    pub fn is_consumable_for(
        mut self,
        value: impl Into<Option<ProductIsConsumableFor<S>>>,
    ) -> Self {
        self._fields.36 = value.into();
        self
    }
    /// Set the `isConsumableFor` field to an Option value (optional)
    pub fn maybe_is_consumable_for(
        mut self,
        value: Option<ProductIsConsumableFor<S>>,
    ) -> Self {
        self._fields.36 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `isFamilyFriendly` field (optional)
    pub fn is_family_friendly(
        mut self,
        value: impl Into<Option<ProductIsFamilyFriendly<S>>>,
    ) -> Self {
        self._fields.37 = value.into();
        self
    }
    /// Set the `isFamilyFriendly` field to an Option value (optional)
    pub fn maybe_is_family_friendly(
        mut self,
        value: Option<ProductIsFamilyFriendly<S>>,
    ) -> Self {
        self._fields.37 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `isRelatedTo` field (optional)
    pub fn is_related_to(
        mut self,
        value: impl Into<Option<ProductIsRelatedTo<S>>>,
    ) -> Self {
        self._fields.38 = value.into();
        self
    }
    /// Set the `isRelatedTo` field to an Option value (optional)
    pub fn maybe_is_related_to(mut self, value: Option<ProductIsRelatedTo<S>>) -> Self {
        self._fields.38 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `isSimilarTo` field (optional)
    pub fn is_similar_to(
        mut self,
        value: impl Into<Option<ProductIsSimilarTo<S>>>,
    ) -> Self {
        self._fields.39 = value.into();
        self
    }
    /// Set the `isSimilarTo` field to an Option value (optional)
    pub fn maybe_is_similar_to(mut self, value: Option<ProductIsSimilarTo<S>>) -> Self {
        self._fields.39 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `isVariantOf` field (optional)
    pub fn is_variant_of(
        mut self,
        value: impl Into<Option<ProductIsVariantOf<S>>>,
    ) -> Self {
        self._fields.40 = value.into();
        self
    }
    /// Set the `isVariantOf` field to an Option value (optional)
    pub fn maybe_is_variant_of(mut self, value: Option<ProductIsVariantOf<S>>) -> Self {
        self._fields.40 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `itemCondition` field (optional)
    pub fn item_condition(
        mut self,
        value: impl Into<Option<ProductItemCondition<S>>>,
    ) -> Self {
        self._fields.41 = value.into();
        self
    }
    /// Set the `itemCondition` field to an Option value (optional)
    pub fn maybe_item_condition(
        mut self,
        value: Option<ProductItemCondition<S>>,
    ) -> Self {
        self._fields.41 = value;
        self
    }
}

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

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `manufacturer` field (optional)
    pub fn manufacturer(
        mut self,
        value: impl Into<Option<ProductManufacturer<S>>>,
    ) -> Self {
        self._fields.45 = value.into();
        self
    }
    /// Set the `manufacturer` field to an Option value (optional)
    pub fn maybe_manufacturer(mut self, value: Option<ProductManufacturer<S>>) -> Self {
        self._fields.45 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `material` field (optional)
    pub fn material(mut self, value: impl Into<Option<ProductMaterial<S>>>) -> Self {
        self._fields.46 = value.into();
        self
    }
    /// Set the `material` field to an Option value (optional)
    pub fn maybe_material(mut self, value: Option<ProductMaterial<S>>) -> Self {
        self._fields.46 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `mobileUrl` field (optional)
    pub fn mobile_url(mut self, value: impl Into<Option<ProductMobileUrl<S>>>) -> Self {
        self._fields.47 = value.into();
        self
    }
    /// Set the `mobileUrl` field to an Option value (optional)
    pub fn maybe_mobile_url(mut self, value: Option<ProductMobileUrl<S>>) -> Self {
        self._fields.47 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `model` field (optional)
    pub fn model(mut self, value: impl Into<Option<ProductModel<S>>>) -> Self {
        self._fields.48 = value.into();
        self
    }
    /// Set the `model` field to an Option value (optional)
    pub fn maybe_model(mut self, value: Option<ProductModel<S>>) -> Self {
        self._fields.48 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `mpn` field (optional)
    pub fn mpn(mut self, value: impl Into<Option<ProductMpn<S>>>) -> Self {
        self._fields.49 = value.into();
        self
    }
    /// Set the `mpn` field to an Option value (optional)
    pub fn maybe_mpn(mut self, value: Option<ProductMpn<S>>) -> Self {
        self._fields.49 = value;
        self
    }
}

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `negativeNotes` field (optional)
    pub fn negative_notes(
        mut self,
        value: impl Into<Option<ProductNegativeNotes<S>>>,
    ) -> Self {
        self._fields.51 = value.into();
        self
    }
    /// Set the `negativeNotes` field to an Option value (optional)
    pub fn maybe_negative_notes(
        mut self,
        value: Option<ProductNegativeNotes<S>>,
    ) -> Self {
        self._fields.51 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `nsn` field (optional)
    pub fn nsn(mut self, value: impl Into<Option<ProductNsn<S>>>) -> Self {
        self._fields.52 = value.into();
        self
    }
    /// Set the `nsn` field to an Option value (optional)
    pub fn maybe_nsn(mut self, value: Option<ProductNsn<S>>) -> Self {
        self._fields.52 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `offers` field (optional)
    pub fn offers(mut self, value: impl Into<Option<ProductOffers<S>>>) -> Self {
        self._fields.53 = value.into();
        self
    }
    /// Set the `offers` field to an Option value (optional)
    pub fn maybe_offers(mut self, value: Option<ProductOffers<S>>) -> Self {
        self._fields.53 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `pattern` field (optional)
    pub fn pattern(mut self, value: impl Into<Option<ProductPattern<S>>>) -> Self {
        self._fields.54 = value.into();
        self
    }
    /// Set the `pattern` field to an Option value (optional)
    pub fn maybe_pattern(mut self, value: Option<ProductPattern<S>>) -> Self {
        self._fields.54 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `positiveNotes` field (optional)
    pub fn positive_notes(
        mut self,
        value: impl Into<Option<ProductPositiveNotes<S>>>,
    ) -> Self {
        self._fields.55 = value.into();
        self
    }
    /// Set the `positiveNotes` field to an Option value (optional)
    pub fn maybe_positive_notes(
        mut self,
        value: Option<ProductPositiveNotes<S>>,
    ) -> Self {
        self._fields.55 = value;
        self
    }
}

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `productID` field (optional)
    pub fn product_id(mut self, value: impl Into<Option<ProductProductId<S>>>) -> Self {
        self._fields.57 = value.into();
        self
    }
    /// Set the `productID` field to an Option value (optional)
    pub fn maybe_product_id(mut self, value: Option<ProductProductId<S>>) -> Self {
        self._fields.57 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `productionDate` field (optional)
    pub fn production_date(
        mut self,
        value: impl Into<Option<ProductProductionDate<S>>>,
    ) -> Self {
        self._fields.58 = value.into();
        self
    }
    /// Set the `productionDate` field to an Option value (optional)
    pub fn maybe_production_date(
        mut self,
        value: Option<ProductProductionDate<S>>,
    ) -> Self {
        self._fields.58 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `purchaseDate` field (optional)
    pub fn purchase_date(
        mut self,
        value: impl Into<Option<ProductPurchaseDate<S>>>,
    ) -> Self {
        self._fields.59 = value.into();
        self
    }
    /// Set the `purchaseDate` field to an Option value (optional)
    pub fn maybe_purchase_date(mut self, value: Option<ProductPurchaseDate<S>>) -> Self {
        self._fields.59 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `releaseDate` field (optional)
    pub fn release_date(
        mut self,
        value: impl Into<Option<ProductReleaseDate<S>>>,
    ) -> Self {
        self._fields.60 = value.into();
        self
    }
    /// Set the `releaseDate` field to an Option value (optional)
    pub fn maybe_release_date(mut self, value: Option<ProductReleaseDate<S>>) -> Self {
        self._fields.60 = value;
        self
    }
}

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

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `size` field (optional)
    pub fn size(mut self, value: impl Into<Option<ProductSize<S>>>) -> Self {
        self._fields.64 = value.into();
        self
    }
    /// Set the `size` field to an Option value (optional)
    pub fn maybe_size(mut self, value: Option<ProductSize<S>>) -> Self {
        self._fields.64 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `sku` field (optional)
    pub fn sku(mut self, value: impl Into<Option<ProductSku<S>>>) -> Self {
        self._fields.65 = value.into();
        self
    }
    /// Set the `sku` field to an Option value (optional)
    pub fn maybe_sku(mut self, value: Option<ProductSku<S>>) -> Self {
        self._fields.65 = value;
        self
    }
}

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

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

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

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `weight` field (optional)
    pub fn weight(mut self, value: impl Into<Option<ProductWeight<S>>>) -> Self {
        self._fields.69 = value.into();
        self
    }
    /// Set the `weight` field to an Option value (optional)
    pub fn maybe_weight(mut self, value: Option<ProductWeight<S>>) -> Self {
        self._fields.69 = value;
        self
    }
}

impl<St: product_state::State, S: BosStr> ProductBuilder<St, S> {
    /// Set the `width` field (optional)
    pub fn width(mut self, value: impl Into<Option<ProductWidth<S>>>) -> Self {
        self._fields.70 = value.into();
        self
    }
    /// Set the `width` field to an Option value (optional)
    pub fn maybe_width(mut self, value: Option<ProductWidth<S>>) -> Self {
        self._fields.70 = value;
        self
    }
}

impl<St, S: BosStr> ProductBuilder<St, S>
where
    St: product_state::State,
{
    /// Build the final struct.
    pub fn build(self) -> Product<S> {
        Product {
            additional_property: self._fields.0,
            additional_type: self._fields.1,
            aggregate_rating: self._fields.2,
            alternate_name: self._fields.3,
            asin: self._fields.4,
            audience: self._fields.5,
            award: self._fields.6,
            awards: self._fields.7,
            brand: self._fields.8,
            category: self._fields.9,
            color: self._fields.10,
            color_swatch: self._fields.11,
            country_of_assembly: self._fields.12,
            country_of_last_processing: self._fields.13,
            country_of_origin: self._fields.14,
            depth: self._fields.15,
            description: self._fields.16,
            disambiguating_description: self._fields.17,
            funding: self._fields.18,
            gtin: self._fields.19,
            gtin12: self._fields.20,
            gtin13: self._fields.21,
            gtin14: self._fields.22,
            gtin8: self._fields.23,
            has_adult_consideration: self._fields.24,
            has_certification: self._fields.25,
            has_energy_consumption_details: self._fields.26,
            has_gs1_digital_link: self._fields.27,
            has_measurement: self._fields.28,
            has_merchant_return_policy: self._fields.29,
            has_product_return_policy: self._fields.30,
            height: self._fields.31,
            identifier: self._fields.32,
            image: self._fields.33,
            in_product_group_with_id: self._fields.34,
            is_accessory_or_spare_part_for: self._fields.35,
            is_consumable_for: self._fields.36,
            is_family_friendly: self._fields.37,
            is_related_to: self._fields.38,
            is_similar_to: self._fields.39,
            is_variant_of: self._fields.40,
            item_condition: self._fields.41,
            keywords: self._fields.42,
            logo: self._fields.43,
            main_entity_of_page: self._fields.44,
            manufacturer: self._fields.45,
            material: self._fields.46,
            mobile_url: self._fields.47,
            model: self._fields.48,
            mpn: self._fields.49,
            name: self._fields.50,
            negative_notes: self._fields.51,
            nsn: self._fields.52,
            offers: self._fields.53,
            pattern: self._fields.54,
            positive_notes: self._fields.55,
            potential_action: self._fields.56,
            product_id: self._fields.57,
            production_date: self._fields.58,
            purchase_date: self._fields.59,
            release_date: self._fields.60,
            review: self._fields.61,
            reviews: self._fields.62,
            same_as: self._fields.63,
            size: self._fields.64,
            sku: self._fields.65,
            slogan: self._fields.66,
            subject_of: self._fields.67,
            url: self._fields.68,
            weight: self._fields.69,
            width: self._fields.70,
            extra_data: Default::default(),
        }
    }
    /// Build the final struct with custom extra_data.
    pub fn build_with_data(self, extra_data: BTreeMap<SmolStr, Data<S>>) -> Product<S> {
        Product {
            additional_property: self._fields.0,
            additional_type: self._fields.1,
            aggregate_rating: self._fields.2,
            alternate_name: self._fields.3,
            asin: self._fields.4,
            audience: self._fields.5,
            award: self._fields.6,
            awards: self._fields.7,
            brand: self._fields.8,
            category: self._fields.9,
            color: self._fields.10,
            color_swatch: self._fields.11,
            country_of_assembly: self._fields.12,
            country_of_last_processing: self._fields.13,
            country_of_origin: self._fields.14,
            depth: self._fields.15,
            description: self._fields.16,
            disambiguating_description: self._fields.17,
            funding: self._fields.18,
            gtin: self._fields.19,
            gtin12: self._fields.20,
            gtin13: self._fields.21,
            gtin14: self._fields.22,
            gtin8: self._fields.23,
            has_adult_consideration: self._fields.24,
            has_certification: self._fields.25,
            has_energy_consumption_details: self._fields.26,
            has_gs1_digital_link: self._fields.27,
            has_measurement: self._fields.28,
            has_merchant_return_policy: self._fields.29,
            has_product_return_policy: self._fields.30,
            height: self._fields.31,
            identifier: self._fields.32,
            image: self._fields.33,
            in_product_group_with_id: self._fields.34,
            is_accessory_or_spare_part_for: self._fields.35,
            is_consumable_for: self._fields.36,
            is_family_friendly: self._fields.37,
            is_related_to: self._fields.38,
            is_similar_to: self._fields.39,
            is_variant_of: self._fields.40,
            item_condition: self._fields.41,
            keywords: self._fields.42,
            logo: self._fields.43,
            main_entity_of_page: self._fields.44,
            manufacturer: self._fields.45,
            material: self._fields.46,
            mobile_url: self._fields.47,
            model: self._fields.48,
            mpn: self._fields.49,
            name: self._fields.50,
            negative_notes: self._fields.51,
            nsn: self._fields.52,
            offers: self._fields.53,
            pattern: self._fields.54,
            positive_notes: self._fields.55,
            potential_action: self._fields.56,
            product_id: self._fields.57,
            production_date: self._fields.58,
            purchase_date: self._fields.59,
            release_date: self._fields.60,
            review: self._fields.61,
            reviews: self._fields.62,
            same_as: self._fields.63,
            size: self._fields.64,
            sku: self._fields.65,
            slogan: self._fields.66,
            subject_of: self._fields.67,
            url: self._fields.68,
            weight: self._fields.69,
            width: self._fields.70,
            extra_data: Some(extra_data),
        }
    }
}