// @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;

#[allow(unused_imports)]
use jacquard_common::deps::codegen::unicode_segmentation::UnicodeSegmentation;
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.

#[lexicon]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
#[serde(rename_all = "camelCase")]
pub struct Embedded<'a> {
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub additional_property: Option<EmbeddedAdditionalProperty<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub additional_type: Option<EmbeddedAdditionalType<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub aggregate_rating: Option<EmbeddedAggregateRating<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub alternate_name: Option<EmbeddedAlternateName<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub asin: Option<EmbeddedAsin<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub audience: Option<EmbeddedAudience<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub award: Option<EmbeddedAward<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub awards: Option<EmbeddedAwards<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub brand: Option<EmbeddedBrand<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub category: Option<EmbeddedCategory<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub color: Option<EmbeddedColor<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub color_swatch: Option<EmbeddedColorSwatch<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub country_of_assembly: Option<EmbeddedCountryOfAssembly<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub country_of_last_processing: Option<EmbeddedCountryOfLastProcessing<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub country_of_origin: Option<EmbeddedCountryOfOrigin<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub depth: Option<EmbeddedDepth<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub description: Option<EmbeddedDescription<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub disambiguating_description: Option<EmbeddedDisambiguatingDescription<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub funding: Option<EmbeddedFunding<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub gtin: Option<EmbeddedGtin<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub gtin12: Option<EmbeddedGtin12<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub gtin13: Option<EmbeddedGtin13<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub gtin14: Option<EmbeddedGtin14<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub gtin8: Option<EmbeddedGtin8<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_adult_consideration: Option<EmbeddedHasAdultConsideration<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_certification: Option<EmbeddedHasCertification<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_energy_consumption_details: Option<EmbeddedHasEnergyConsumptionDetails<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_gs1_digital_link: Option<EmbeddedHasGs1DigitalLink<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_measurement: Option<EmbeddedHasMeasurement<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_merchant_return_policy: Option<EmbeddedHasMerchantReturnPolicy<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub has_product_return_policy: Option<EmbeddedHasProductReturnPolicy<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub height: Option<EmbeddedHeight<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub identifier: Option<EmbeddedIdentifier<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub image: Option<EmbeddedImage<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub in_product_group_with_id: Option<EmbeddedInProductGroupWithId<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub is_accessory_or_spare_part_for: Option<EmbeddedIsAccessoryOrSparePartFor<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub is_consumable_for: Option<EmbeddedIsConsumableFor<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub is_family_friendly: Option<EmbeddedIsFamilyFriendly<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub is_related_to: Option<EmbeddedIsRelatedTo<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub is_similar_to: Option<EmbeddedIsSimilarTo<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub is_variant_of: Option<EmbeddedIsVariantOf<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub item_condition: Option<EmbeddedItemCondition<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub keywords: Option<EmbeddedKeywords<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub logo: Option<EmbeddedLogo<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub main_entity_of_page: Option<EmbeddedMainEntityOfPage<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub manufacturer: Option<EmbeddedManufacturer<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub material: Option<EmbeddedMaterial<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub mobile_url: Option<EmbeddedMobileUrl<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub model: Option<EmbeddedModel<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub mpn: Option<EmbeddedMpn<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub name: Option<EmbeddedName<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub negative_notes: Option<EmbeddedNegativeNotes<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub nsn: Option<EmbeddedNsn<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub offers: Option<EmbeddedOffers<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub pattern: Option<EmbeddedPattern<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub positive_notes: Option<EmbeddedPositiveNotes<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub potential_action: Option<EmbeddedPotentialAction<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub product_id: Option<EmbeddedProductId<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub production_date: Option<EmbeddedProductionDate<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub purchase_date: Option<EmbeddedPurchaseDate<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub release_date: Option<EmbeddedReleaseDate<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub review: Option<EmbeddedReview<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub reviews: Option<EmbeddedReviews<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub same_as: Option<EmbeddedSameAs<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub size: Option<EmbeddedSize<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub sku: Option<EmbeddedSku<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub slogan: Option<EmbeddedSlogan<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub subject_of: Option<EmbeddedSubjectOf<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub url: Option<EmbeddedUrl<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub weight: Option<EmbeddedWeight<'a>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    #[serde(borrow)]
    pub width: Option<EmbeddedWidth<'a>>,
}


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

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

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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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


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


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

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


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


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

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

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

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


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

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


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


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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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


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

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

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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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


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


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

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


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


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

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

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

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


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

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


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


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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

impl<'a> Product<'a> {
    pub fn uri(
        uri: impl Into<CowStr<'a>>,
    ) -> Result<RecordUri<'a, ProductRecord>, UriError> {
        RecordUri::try_from_uri(AtUri::new_cow(uri.into())?)
    }
}

impl<'a> LexiconSchema for Embedded<'a> {
    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<'de> = ProductGetRecordOutput<'de>;
    type Err<'de> = RecordError<'de>;
}

impl From<ProductGetRecordOutput<'_>> for Product<'_> {
    fn from(output: ProductGetRecordOutput<'_>) -> Self {
        use jacquard_common::IntoStatic;
        output.value.into_static()
    }
}

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

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

impl<'a> ProductBuilder<'a, product_state::Empty> {
    /// Create a new builder with all fields unset
    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,
            ),
            _lifetime: PhantomData,
        }
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `additionalProperty` field (optional)
    pub fn additional_property(
        mut self,
        value: impl Into<Option<ProductAdditionalProperty<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.0 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `additionalType` field (optional)
    pub fn additional_type(
        mut self,
        value: impl Into<Option<ProductAdditionalType<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.1 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `aggregateRating` field (optional)
    pub fn aggregate_rating(
        mut self,
        value: impl Into<Option<ProductAggregateRating<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.2 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `alternateName` field (optional)
    pub fn alternate_name(
        mut self,
        value: impl Into<Option<ProductAlternateName<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.3 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `asin` field (optional)
    pub fn asin(mut self, value: impl Into<Option<ProductAsin<'a>>>) -> 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<'a>>) -> Self {
        self._fields.4 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `audience` field (optional)
    pub fn audience(mut self, value: impl Into<Option<ProductAudience<'a>>>) -> 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<'a>>) -> Self {
        self._fields.5 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `award` field (optional)
    pub fn award(mut self, value: impl Into<Option<ProductAward<'a>>>) -> 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<'a>>) -> Self {
        self._fields.6 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `awards` field (optional)
    pub fn awards(mut self, value: impl Into<Option<ProductAwards<'a>>>) -> 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<'a>>) -> Self {
        self._fields.7 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `brand` field (optional)
    pub fn brand(mut self, value: impl Into<Option<ProductBrand<'a>>>) -> 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<'a>>) -> Self {
        self._fields.8 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `category` field (optional)
    pub fn category(mut self, value: impl Into<Option<ProductCategory<'a>>>) -> 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<'a>>) -> Self {
        self._fields.9 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `color` field (optional)
    pub fn color(mut self, value: impl Into<Option<ProductColor<'a>>>) -> 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<'a>>) -> Self {
        self._fields.10 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `colorSwatch` field (optional)
    pub fn color_swatch(
        mut self,
        value: impl Into<Option<ProductColorSwatch<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.11 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `countryOfAssembly` field (optional)
    pub fn country_of_assembly(
        mut self,
        value: impl Into<Option<ProductCountryOfAssembly<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.12 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `countryOfLastProcessing` field (optional)
    pub fn country_of_last_processing(
        mut self,
        value: impl Into<Option<ProductCountryOfLastProcessing<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.13 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `countryOfOrigin` field (optional)
    pub fn country_of_origin(
        mut self,
        value: impl Into<Option<ProductCountryOfOrigin<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.14 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `depth` field (optional)
    pub fn depth(mut self, value: impl Into<Option<ProductDepth<'a>>>) -> 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<'a>>) -> Self {
        self._fields.15 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `description` field (optional)
    pub fn description(
        mut self,
        value: impl Into<Option<ProductDescription<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.16 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `disambiguatingDescription` field (optional)
    pub fn disambiguating_description(
        mut self,
        value: impl Into<Option<ProductDisambiguatingDescription<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.17 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `funding` field (optional)
    pub fn funding(mut self, value: impl Into<Option<ProductFunding<'a>>>) -> 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<'a>>) -> Self {
        self._fields.18 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `gtin` field (optional)
    pub fn gtin(mut self, value: impl Into<Option<ProductGtin<'a>>>) -> 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<'a>>) -> Self {
        self._fields.19 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `gtin12` field (optional)
    pub fn gtin12(mut self, value: impl Into<Option<ProductGtin12<'a>>>) -> 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<'a>>) -> Self {
        self._fields.20 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `gtin13` field (optional)
    pub fn gtin13(mut self, value: impl Into<Option<ProductGtin13<'a>>>) -> 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<'a>>) -> Self {
        self._fields.21 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `gtin14` field (optional)
    pub fn gtin14(mut self, value: impl Into<Option<ProductGtin14<'a>>>) -> 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<'a>>) -> Self {
        self._fields.22 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `gtin8` field (optional)
    pub fn gtin8(mut self, value: impl Into<Option<ProductGtin8<'a>>>) -> 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<'a>>) -> Self {
        self._fields.23 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasAdultConsideration` field (optional)
    pub fn has_adult_consideration(
        mut self,
        value: impl Into<Option<ProductHasAdultConsideration<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.24 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasCertification` field (optional)
    pub fn has_certification(
        mut self,
        value: impl Into<Option<ProductHasCertification<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.25 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasEnergyConsumptionDetails` field (optional)
    pub fn has_energy_consumption_details(
        mut self,
        value: impl Into<Option<ProductHasEnergyConsumptionDetails<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.26 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasGS1DigitalLink` field (optional)
    pub fn has_gs1_digital_link(
        mut self,
        value: impl Into<Option<ProductHasGs1DigitalLink<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.27 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasMeasurement` field (optional)
    pub fn has_measurement(
        mut self,
        value: impl Into<Option<ProductHasMeasurement<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.28 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasMerchantReturnPolicy` field (optional)
    pub fn has_merchant_return_policy(
        mut self,
        value: impl Into<Option<ProductHasMerchantReturnPolicy<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.29 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `hasProductReturnPolicy` field (optional)
    pub fn has_product_return_policy(
        mut self,
        value: impl Into<Option<ProductHasProductReturnPolicy<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.30 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `height` field (optional)
    pub fn height(mut self, value: impl Into<Option<ProductHeight<'a>>>) -> 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<'a>>) -> Self {
        self._fields.31 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `identifier` field (optional)
    pub fn identifier(
        mut self,
        value: impl Into<Option<ProductIdentifier<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.32 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `image` field (optional)
    pub fn image(mut self, value: impl Into<Option<ProductImage<'a>>>) -> 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<'a>>) -> Self {
        self._fields.33 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `inProductGroupWithID` field (optional)
    pub fn in_product_group_with_id(
        mut self,
        value: impl Into<Option<ProductInProductGroupWithId<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.34 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `isAccessoryOrSparePartFor` field (optional)
    pub fn is_accessory_or_spare_part_for(
        mut self,
        value: impl Into<Option<ProductIsAccessoryOrSparePartFor<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.35 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `isConsumableFor` field (optional)
    pub fn is_consumable_for(
        mut self,
        value: impl Into<Option<ProductIsConsumableFor<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.36 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `isFamilyFriendly` field (optional)
    pub fn is_family_friendly(
        mut self,
        value: impl Into<Option<ProductIsFamilyFriendly<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.37 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `isRelatedTo` field (optional)
    pub fn is_related_to(
        mut self,
        value: impl Into<Option<ProductIsRelatedTo<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.38 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `isSimilarTo` field (optional)
    pub fn is_similar_to(
        mut self,
        value: impl Into<Option<ProductIsSimilarTo<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.39 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `isVariantOf` field (optional)
    pub fn is_variant_of(
        mut self,
        value: impl Into<Option<ProductIsVariantOf<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.40 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `itemCondition` field (optional)
    pub fn item_condition(
        mut self,
        value: impl Into<Option<ProductItemCondition<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.41 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `keywords` field (optional)
    pub fn keywords(mut self, value: impl Into<Option<ProductKeywords<'a>>>) -> 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<'a>>) -> Self {
        self._fields.42 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `logo` field (optional)
    pub fn logo(mut self, value: impl Into<Option<ProductLogo<'a>>>) -> 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<'a>>) -> Self {
        self._fields.43 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `mainEntityOfPage` field (optional)
    pub fn main_entity_of_page(
        mut self,
        value: impl Into<Option<ProductMainEntityOfPage<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.44 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `manufacturer` field (optional)
    pub fn manufacturer(
        mut self,
        value: impl Into<Option<ProductManufacturer<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.45 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `material` field (optional)
    pub fn material(mut self, value: impl Into<Option<ProductMaterial<'a>>>) -> 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<'a>>) -> Self {
        self._fields.46 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `mobileUrl` field (optional)
    pub fn mobile_url(mut self, value: impl Into<Option<ProductMobileUrl<'a>>>) -> 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<'a>>) -> Self {
        self._fields.47 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `model` field (optional)
    pub fn model(mut self, value: impl Into<Option<ProductModel<'a>>>) -> 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<'a>>) -> Self {
        self._fields.48 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `mpn` field (optional)
    pub fn mpn(mut self, value: impl Into<Option<ProductMpn<'a>>>) -> 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<'a>>) -> Self {
        self._fields.49 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `name` field (optional)
    pub fn name(mut self, value: impl Into<Option<ProductName<'a>>>) -> 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<'a>>) -> Self {
        self._fields.50 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `negativeNotes` field (optional)
    pub fn negative_notes(
        mut self,
        value: impl Into<Option<ProductNegativeNotes<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.51 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `nsn` field (optional)
    pub fn nsn(mut self, value: impl Into<Option<ProductNsn<'a>>>) -> 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<'a>>) -> Self {
        self._fields.52 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `offers` field (optional)
    pub fn offers(mut self, value: impl Into<Option<ProductOffers<'a>>>) -> 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<'a>>) -> Self {
        self._fields.53 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `pattern` field (optional)
    pub fn pattern(mut self, value: impl Into<Option<ProductPattern<'a>>>) -> 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<'a>>) -> Self {
        self._fields.54 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `positiveNotes` field (optional)
    pub fn positive_notes(
        mut self,
        value: impl Into<Option<ProductPositiveNotes<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.55 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `potentialAction` field (optional)
    pub fn potential_action(
        mut self,
        value: impl Into<Option<ProductPotentialAction<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.56 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `productID` field (optional)
    pub fn product_id(mut self, value: impl Into<Option<ProductProductId<'a>>>) -> 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<'a>>) -> Self {
        self._fields.57 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `productionDate` field (optional)
    pub fn production_date(
        mut self,
        value: impl Into<Option<ProductProductionDate<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.58 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `purchaseDate` field (optional)
    pub fn purchase_date(
        mut self,
        value: impl Into<Option<ProductPurchaseDate<'a>>>,
    ) -> 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<'a>>,
    ) -> Self {
        self._fields.59 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `releaseDate` field (optional)
    pub fn release_date(
        mut self,
        value: impl Into<Option<ProductReleaseDate<'a>>>,
    ) -> 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<'a>>) -> Self {
        self._fields.60 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `review` field (optional)
    pub fn review(mut self, value: impl Into<Option<ProductReview<'a>>>) -> 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<'a>>) -> Self {
        self._fields.61 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `reviews` field (optional)
    pub fn reviews(mut self, value: impl Into<Option<ProductReviews<'a>>>) -> 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<'a>>) -> Self {
        self._fields.62 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `sameAs` field (optional)
    pub fn same_as(mut self, value: impl Into<Option<ProductSameAs<'a>>>) -> 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<'a>>) -> Self {
        self._fields.63 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `size` field (optional)
    pub fn size(mut self, value: impl Into<Option<ProductSize<'a>>>) -> 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<'a>>) -> Self {
        self._fields.64 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `sku` field (optional)
    pub fn sku(mut self, value: impl Into<Option<ProductSku<'a>>>) -> 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<'a>>) -> Self {
        self._fields.65 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `slogan` field (optional)
    pub fn slogan(mut self, value: impl Into<Option<ProductSlogan<'a>>>) -> 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<'a>>) -> Self {
        self._fields.66 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `subjectOf` field (optional)
    pub fn subject_of(mut self, value: impl Into<Option<ProductSubjectOf<'a>>>) -> 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<'a>>) -> Self {
        self._fields.67 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `url` field (optional)
    pub fn url(mut self, value: impl Into<Option<ProductUrl<'a>>>) -> 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<'a>>) -> Self {
        self._fields.68 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `weight` field (optional)
    pub fn weight(mut self, value: impl Into<Option<ProductWeight<'a>>>) -> 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<'a>>) -> Self {
        self._fields.69 = value;
        self
    }
}

impl<'a, S: product_state::State> ProductBuilder<'a, S> {
    /// Set the `width` field (optional)
    pub fn width(mut self, value: impl Into<Option<ProductWidth<'a>>>) -> 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<'a>>) -> Self {
        self._fields.70 = value;
        self
    }
}

impl<'a, S> ProductBuilder<'a, S>
where
    S: product_state::State,
{
    /// Build the final struct
    pub fn build(self) -> Product<'a> {
        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<jacquard_common::deps::smol_str::SmolStr, Data<'a>>,
    ) -> Product<'a> {
        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),
        }
    }
}