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

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

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

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

#[allow(unused_imports)]
use jacquard_lexicon::validation::{ConstraintError, ValidationPath};
use serde::{Serialize, Deserialize};
use crate::social_flockfeeds::lexical::r#type::event;
use crate::social_flockfeeds::lexical::r#type::image_object;
use crate::social_flockfeeds::lexical::r#type::offer;
use crate::social_flockfeeds::lexical::r#type::organization;
use crate::social_flockfeeds::lexical::r#type::person;
use crate::social_flockfeeds::lexical::r#type::product;
/// An offer to transfer some rights to an item or to provide a service — for example, an offer to sell tickets to an event, to rent the DVD of a movie, to stream a TV show over the internet, to repair a motorcycle, or to loan a book.\n\nNote: As the [[businessFunction]] property, which identifies the form of offer (e.g. sell, lease, repair, dispose), defaults to http://purl.org/goodrelations/v1#Sell; an Offer without a defined businessFunction value can be assumed to be an offer to sell.\n\nFor [GTIN](http://www.gs1.org/barcodes/technical/idkeys/gtin)-related fields, see [Check Digit calculator](http://www.gs1.org/barcodes/support/check_digit_calculator) and [validation guide](http://www.gs1us.org/resources/standards/gtin-validation-guide) from [GS1](http://www.gs1.org/).

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic, Default)]
#[serde(rename_all = "camelCase", bound(deserialize = "S: Deserialize<'de> + BosStr"))]
pub struct Embedded<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub accepted_payment_method: Option<EmbeddedAcceptedPaymentMethod<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub add_on: Option<EmbeddedAddOn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_property: Option<EmbeddedAdditionalProperty<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_type: Option<EmbeddedAdditionalType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub advance_booking_requirement: Option<EmbeddedAdvanceBookingRequirement<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aggregate_rating: Option<EmbeddedAggregateRating<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alternate_name: Option<EmbeddedAlternateName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub area_served: Option<EmbeddedAreaServed<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub asin: Option<EmbeddedAsin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub availability: Option<EmbeddedAvailability<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub availability_ends: Option<EmbeddedAvailabilityEnds<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub availability_starts: Option<EmbeddedAvailabilityStarts<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub available_at_or_from: Option<EmbeddedAvailableAtOrFrom<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub available_delivery_method: Option<EmbeddedAvailableDeliveryMethod<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub business_function: Option<EmbeddedBusinessFunction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub category: Option<EmbeddedCategory<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub checkout_page_url_template: Option<EmbeddedCheckoutPageUrlTemplate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub delivery_lead_time: Option<EmbeddedDeliveryLeadTime<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<EmbeddedDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub disambiguating_description: Option<EmbeddedDisambiguatingDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_customer_type: Option<EmbeddedEligibleCustomerType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_duration: Option<EmbeddedEligibleDuration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_quantity: Option<EmbeddedEligibleQuantity<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_region: Option<EmbeddedEligibleRegion<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_transaction_volume: Option<EmbeddedEligibleTransactionVolume<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin: Option<EmbeddedGtin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin12: Option<EmbeddedGtin12<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin13: Option<EmbeddedGtin13<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin14: Option<EmbeddedGtin14<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin8: Option<EmbeddedGtin8<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_adult_consideration: Option<EmbeddedHasAdultConsideration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_gs1_digital_link: Option<EmbeddedHasGs1DigitalLink<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_measurement: Option<EmbeddedHasMeasurement<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_merchant_return_policy: Option<EmbeddedHasMerchantReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub identifier: Option<EmbeddedIdentifier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub image: Option<EmbeddedImage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub includes_object: Option<EmbeddedIncludesObject<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ineligible_region: Option<EmbeddedIneligibleRegion<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub inventory_level: Option<EmbeddedInventoryLevel<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_family_friendly: Option<EmbeddedIsFamilyFriendly<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub item_condition: Option<EmbeddedItemCondition<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub item_offered: Option<EmbeddedItemOffered<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lease_length: Option<EmbeddedLeaseLength<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub main_entity_of_page: Option<EmbeddedMainEntityOfPage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mobile_url: Option<EmbeddedMobileUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mpn: Option<EmbeddedMpn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<EmbeddedName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offered_by: Option<EmbeddedOfferedBy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub potential_action: Option<EmbeddedPotentialAction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price: Option<EmbeddedPrice<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price_currency: Option<EmbeddedPriceCurrency<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price_specification: Option<EmbeddedPriceSpecification<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price_valid_until: Option<EmbeddedPriceValidUntil<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub review: Option<EmbeddedReview<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub reviews: Option<EmbeddedReviews<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub same_as: Option<EmbeddedSameAs<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seller: Option<EmbeddedSeller<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub serial_number: Option<EmbeddedSerialNumber<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub shipping_details: Option<EmbeddedShippingDetails<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sku: Option<EmbeddedSku<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub subject_of: Option<EmbeddedSubjectOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub url: Option<EmbeddedUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub valid_for_member_tier: Option<EmbeddedValidForMemberTier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub valid_from: Option<EmbeddedValidFrom<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub valid_through: Option<EmbeddedValidThrough<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub warranty: Option<EmbeddedWarranty<S>>,
    #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
    pub extra_data: Option<BTreeMap<SmolStr, Data<S>>>,
}


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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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

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

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

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

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

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


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

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

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

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


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

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

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

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

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

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, IntoStatic)]
#[serde(
    rename_all = "camelCase",
    rename = "social.flockfeeds.lexical.type.Offer",
    tag = "$type",
    bound(deserialize = "S: Deserialize<'de> + BosStr")
)]
pub struct Offer<S: BosStr = DefaultStr> {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub accepted_payment_method: Option<OfferAcceptedPaymentMethod<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub add_on: Option<OfferAddOn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_property: Option<OfferAdditionalProperty<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub additional_type: Option<OfferAdditionalType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub advance_booking_requirement: Option<OfferAdvanceBookingRequirement<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub aggregate_rating: Option<OfferAggregateRating<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub alternate_name: Option<OfferAlternateName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub area_served: Option<OfferAreaServed<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub asin: Option<OfferAsin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub availability: Option<OfferAvailability<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub availability_ends: Option<OfferAvailabilityEnds<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub availability_starts: Option<OfferAvailabilityStarts<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub available_at_or_from: Option<OfferAvailableAtOrFrom<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub available_delivery_method: Option<OfferAvailableDeliveryMethod<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub business_function: Option<OfferBusinessFunction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub category: Option<OfferCategory<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub checkout_page_url_template: Option<OfferCheckoutPageUrlTemplate<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub delivery_lead_time: Option<OfferDeliveryLeadTime<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<OfferDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub disambiguating_description: Option<OfferDisambiguatingDescription<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_customer_type: Option<OfferEligibleCustomerType<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_duration: Option<OfferEligibleDuration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_quantity: Option<OfferEligibleQuantity<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_region: Option<OfferEligibleRegion<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub eligible_transaction_volume: Option<OfferEligibleTransactionVolume<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin: Option<OfferGtin<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin12: Option<OfferGtin12<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin13: Option<OfferGtin13<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin14: Option<OfferGtin14<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub gtin8: Option<OfferGtin8<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_adult_consideration: Option<OfferHasAdultConsideration<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_gs1_digital_link: Option<OfferHasGs1DigitalLink<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_measurement: Option<OfferHasMeasurement<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub has_merchant_return_policy: Option<OfferHasMerchantReturnPolicy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub identifier: Option<OfferIdentifier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub image: Option<OfferImage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub includes_object: Option<OfferIncludesObject<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub ineligible_region: Option<OfferIneligibleRegion<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub inventory_level: Option<OfferInventoryLevel<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub is_family_friendly: Option<OfferIsFamilyFriendly<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub item_condition: Option<OfferItemCondition<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub item_offered: Option<OfferItemOffered<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub lease_length: Option<OfferLeaseLength<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub main_entity_of_page: Option<OfferMainEntityOfPage<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mobile_url: Option<OfferMobileUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mpn: Option<OfferMpn<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub name: Option<OfferName<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub offered_by: Option<OfferOfferedBy<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub potential_action: Option<OfferPotentialAction<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price: Option<OfferPrice<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price_currency: Option<OfferPriceCurrency<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price_specification: Option<OfferPriceSpecification<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub price_valid_until: Option<OfferPriceValidUntil<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub review: Option<OfferReview<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub reviews: Option<OfferReviews<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub same_as: Option<OfferSameAs<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub seller: Option<OfferSeller<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub serial_number: Option<OfferSerialNumber<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub shipping_details: Option<OfferShippingDetails<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub sku: Option<OfferSku<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub subject_of: Option<OfferSubjectOf<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub url: Option<OfferUrl<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub valid_for_member_tier: Option<OfferValidForMemberTier<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub valid_from: Option<OfferValidFrom<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub valid_through: Option<OfferValidThrough<S>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub warranty: Option<OfferWarranty<S>>,
    #[serde(flatten, default, skip_serializing_if = "Option::is_none")]
    pub extra_data: Option<BTreeMap<SmolStr, Data<S>>>,
}


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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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

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

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


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

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

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

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

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

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

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

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

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


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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

fn lexicon_doc_social_flockfeeds_lexical_type_Offer() -> 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.Offer"),
        defs: {
            let mut map = BTreeMap::new();
            map.insert(
                SmolStr::new_static("embedded"),
                LexUserType::Object(LexObject {
                    description: Some(
                        CowStr::new_static(
                            "An offer to transfer some rights to an item or to provide a service — for example, an offer to sell tickets to an event, to rent the DVD of a movie, to stream a TV show over the internet, to repair a motorcycle, or to loan a book.\\n\\nNote: As the [[businessFunction]] property, which identifies the form of offer (e.g. sell, lease, repair, dispose), defaults to http://purl.org/goodrelations/v1#Sell; an Offer without a defined businessFunction value can be assumed to be an offer to sell.\\n\\nFor [GTIN](http://www.gs1.org/barcodes/technical/idkeys/gtin)-related fields, see [Check Digit calculator](http://www.gs1.org/barcodes/support/check_digit_calculator) and [validation guide](http://www.gs1us.org/resources/standards/gtin-validation-guide) from [GS1](http://www.gs1.org/).",
                        ),
                    ),
                    properties: {
                        #[allow(unused_mut)]
                        let mut map = BTreeMap::new();
                        map.insert(
                            SmolStr::new_static("acceptedPaymentMethod"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("addOn"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#addOnList")
                                ],
                                ..Default::default()
                            }),
                        );
                        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.offer#additionalPropertyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("additionalType"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("advanceBookingRequirement"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#advanceBookingRequirementList")
                                ],
                                ..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.offer#aggregateRatingList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("alternateName"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("areaServed"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("asin"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("availability"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.ItemAvailability#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("availabilityEnds"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("availabilityStarts"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("availableAtOrFrom"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableAtOrFromList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("availableDeliveryMethod"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.DeliveryMethod#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("businessFunction"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.BusinessFunction#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionList")
                                ],
                                ..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.offer#categoryScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#categoryList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("checkoutPageURLTemplate"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("deliveryLeadTime"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#deliveryLeadTimeList")
                                ],
                                ..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.offer#descriptionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#descriptionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("disambiguatingDescription"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("eligibleCustomerType"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.BusinessEntityType#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("eligibleDuration"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleDurationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("eligibleQuantity"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleQuantityList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("eligibleRegion"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("eligibleTransactionVolume"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleTransactionVolumeList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin12"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin13"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin14"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14List")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("gtin8"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin8Scalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#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.offer#hasAdultConsiderationScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasAdultConsiderationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("hasGS1DigitalLink"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasGS1DigitalLinkScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#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.offer#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.offer#hasMerchantReturnPolicyList")
                                ],
                                ..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.offer#identifierScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#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.offer#imageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#imageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("includesObject"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.TypeAndQuantityNode#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#includesObjectList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("ineligibleRegion"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("inventoryLevel"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#inventoryLevelList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("isFamilyFriendly"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyList")
                                ],
                                ..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.offer#itemConditionScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemConditionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("itemOffered"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.AggregateOffer#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.MenuItem#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Trip#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemOfferedList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("leaseLength"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthList")
                                ],
                                ..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.offer#mainEntityOfPageScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#mainEntityOfPageList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("mobileUrl"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("mpn"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("name"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("offeredBy"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#offeredByList")
                                ],
                                ..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.offer#potentialActionList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("price"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("priceCurrency"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("priceSpecification"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceSpecificationList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("priceValidUntil"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilList")
                                ],
                                ..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.offer#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.offer#reviewsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("sameAs"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("seller"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#sellerList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("serialNumber"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("shippingDetails"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.OfferShippingDetails#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#shippingDetailsList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("sku"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuList")
                                ],
                                ..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.offer#subjectOfList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("url"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("validForMemberTier"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#validForMemberTierList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("validFrom"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("validThrough"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughScalar"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map.insert(
                            SmolStr::new_static("warranty"),
                            LexObjectProperty::Union(LexRefUnion {
                                refs: vec![
                                    CowStr::new_static("social.flockfeeds.lexical.type.WarrantyPromise#embedded"),
                                    CowStr::new_static("social.flockfeeds.lexical.prop.offer#warrantyList")
                                ],
                                ..Default::default()
                            }),
                        );
                        map
                    },
                    ..Default::default()
                }),
            );
            map.insert(
                SmolStr::new_static("main"),
                LexUserType::Record(LexRecord {
                    key: Some(CowStr::new_static("tid")),
                    record: LexRecordRecord::Object(LexObject {
                        description: Some(
                            CowStr::new_static(
                                "An offer to transfer some rights to an item or to provide a service — for example, an offer to sell tickets to an event, to rent the DVD of a movie, to stream a TV show over the internet, to repair a motorcycle, or to loan a book.\\n\\nNote: As the [[businessFunction]] property, which identifies the form of offer (e.g. sell, lease, repair, dispose), defaults to http://purl.org/goodrelations/v1#Sell; an Offer without a defined businessFunction value can be assumed to be an offer to sell.\\n\\nFor [GTIN](http://www.gs1.org/barcodes/technical/idkeys/gtin)-related fields, see [Check Digit calculator](http://www.gs1.org/barcodes/support/check_digit_calculator) and [validation guide](http://www.gs1us.org/resources/standards/gtin-validation-guide) from [GS1](http://www.gs1.org/).",
                            ),
                        ),
                        properties: {
                            #[allow(unused_mut)]
                            let mut map = BTreeMap::new();
                            map.insert(
                                SmolStr::new_static("acceptedPaymentMethod"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.LoanOrCredit#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.PaymentMethod#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#acceptedPaymentMethodList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("addOn"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Offer#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#addOnList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            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.offer#additionalPropertyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("additionalType"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#additionalTypeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("advanceBookingRequirement"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#advanceBookingRequirementList")
                                    ],
                                    ..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.offer#aggregateRatingList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("alternateName"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#alternateNameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("areaServed"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AdministrativeArea#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#areaServedList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("asin"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#asinList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("availability"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.ItemAvailability#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("availabilityEnds"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityEndsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("availabilityStarts"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availabilityStartsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("availableAtOrFrom"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableAtOrFromList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("availableDeliveryMethod"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.DeliveryMethod#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#availableDeliveryMethodList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("businessFunction"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.BusinessFunction#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#businessFunctionList")
                                    ],
                                    ..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.offer#categoryScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#categoryList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("checkoutPageURLTemplate"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#checkoutPageURLTemplateList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("deliveryLeadTime"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#deliveryLeadTimeList")
                                    ],
                                    ..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.offer#descriptionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#descriptionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("disambiguatingDescription"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#disambiguatingDescriptionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("eligibleCustomerType"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.BusinessEntityType#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleCustomerTypeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("eligibleDuration"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleDurationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("eligibleQuantity"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleQuantityList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("eligibleRegion"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleRegionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("eligibleTransactionVolume"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#eligibleTransactionVolumeList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtinList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin12"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin12List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin13"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin13List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin14"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin14List")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("gtin8"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#gtin8Scalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#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.offer#hasAdultConsiderationScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasAdultConsiderationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("hasGS1DigitalLink"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#hasGS1DigitalLinkScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#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.offer#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.offer#hasMerchantReturnPolicyList")
                                    ],
                                    ..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.offer#identifierScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#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.offer#imageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#imageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("includesObject"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.TypeAndQuantityNode#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#includesObjectList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("ineligibleRegion"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.GeoShape#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Place#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#ineligibleRegionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("inventoryLevel"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#inventoryLevelList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("isFamilyFriendly"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#isFamilyFriendlyList")
                                    ],
                                    ..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.offer#itemConditionScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemConditionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("itemOffered"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.AggregateOffer#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.CreativeWork#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Event#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.MenuItem#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Product#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Service#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Trip#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#itemOfferedList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("leaseLength"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.QuantitativeValue#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#leaseLengthList")
                                    ],
                                    ..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.offer#mainEntityOfPageScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#mainEntityOfPageList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("mobileUrl"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#mobileUrlList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("mpn"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#mpnList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("name"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#nameList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("offeredBy"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#offeredByList")
                                    ],
                                    ..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.offer#potentialActionList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("price"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("priceCurrency"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceCurrencyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("priceSpecification"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.PriceSpecification#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceSpecificationList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("priceValidUntil"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#priceValidUntilList")
                                    ],
                                    ..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.offer#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.offer#reviewsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("sameAs"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#sameAsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("seller"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.Organization#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.type.Person#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#sellerList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("serialNumber"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#serialNumberList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("shippingDetails"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.OfferShippingDetails#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#shippingDetailsList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("sku"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#skuList")
                                    ],
                                    ..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.offer#subjectOfList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("url"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#urlList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("validForMemberTier"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.MemberProgramTier#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#validForMemberTierList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("validFrom"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#validFromList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("validThrough"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughScalar"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#validThroughList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map.insert(
                                SmolStr::new_static("warranty"),
                                LexObjectProperty::Union(LexRefUnion {
                                    refs: vec![
                                        CowStr::new_static("social.flockfeeds.lexical.type.WarrantyPromise#embedded"),
                                        CowStr::new_static("social.flockfeeds.lexical.prop.offer#warrantyList")
                                    ],
                                    ..Default::default()
                                }),
                            );
                            map
                        },
                        ..Default::default()
                    }),
                    ..Default::default()
                }),
            );
            map
        },
        ..Default::default()
    }
}

pub mod offer_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 OfferBuilder<St: offer_state::State, S: BosStr = DefaultStr> {
    _state: PhantomData<fn() -> St>,
    _fields: (
        Option<OfferAcceptedPaymentMethod<S>>,
        Option<OfferAddOn<S>>,
        Option<OfferAdditionalProperty<S>>,
        Option<OfferAdditionalType<S>>,
        Option<OfferAdvanceBookingRequirement<S>>,
        Option<OfferAggregateRating<S>>,
        Option<OfferAlternateName<S>>,
        Option<OfferAreaServed<S>>,
        Option<OfferAsin<S>>,
        Option<OfferAvailability<S>>,
        Option<OfferAvailabilityEnds<S>>,
        Option<OfferAvailabilityStarts<S>>,
        Option<OfferAvailableAtOrFrom<S>>,
        Option<OfferAvailableDeliveryMethod<S>>,
        Option<OfferBusinessFunction<S>>,
        Option<OfferCategory<S>>,
        Option<OfferCheckoutPageUrlTemplate<S>>,
        Option<OfferDeliveryLeadTime<S>>,
        Option<OfferDescription<S>>,
        Option<OfferDisambiguatingDescription<S>>,
        Option<OfferEligibleCustomerType<S>>,
        Option<OfferEligibleDuration<S>>,
        Option<OfferEligibleQuantity<S>>,
        Option<OfferEligibleRegion<S>>,
        Option<OfferEligibleTransactionVolume<S>>,
        Option<OfferGtin<S>>,
        Option<OfferGtin12<S>>,
        Option<OfferGtin13<S>>,
        Option<OfferGtin14<S>>,
        Option<OfferGtin8<S>>,
        Option<OfferHasAdultConsideration<S>>,
        Option<OfferHasGs1DigitalLink<S>>,
        Option<OfferHasMeasurement<S>>,
        Option<OfferHasMerchantReturnPolicy<S>>,
        Option<OfferIdentifier<S>>,
        Option<OfferImage<S>>,
        Option<OfferIncludesObject<S>>,
        Option<OfferIneligibleRegion<S>>,
        Option<OfferInventoryLevel<S>>,
        Option<OfferIsFamilyFriendly<S>>,
        Option<OfferItemCondition<S>>,
        Option<OfferItemOffered<S>>,
        Option<OfferLeaseLength<S>>,
        Option<OfferMainEntityOfPage<S>>,
        Option<OfferMobileUrl<S>>,
        Option<OfferMpn<S>>,
        Option<OfferName<S>>,
        Option<OfferOfferedBy<S>>,
        Option<OfferPotentialAction<S>>,
        Option<OfferPrice<S>>,
        Option<OfferPriceCurrency<S>>,
        Option<OfferPriceSpecification<S>>,
        Option<OfferPriceValidUntil<S>>,
        Option<OfferReview<S>>,
        Option<OfferReviews<S>>,
        Option<OfferSameAs<S>>,
        Option<OfferSeller<S>>,
        Option<OfferSerialNumber<S>>,
        Option<OfferShippingDetails<S>>,
        Option<OfferSku<S>>,
        Option<OfferSubjectOf<S>>,
        Option<OfferUrl<S>>,
        Option<OfferValidForMemberTier<S>>,
        Option<OfferValidFrom<S>>,
        Option<OfferValidThrough<S>>,
        Option<OfferWarranty<S>>,
    ),
    _type: PhantomData<fn() -> S>,
}

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

impl<S: BosStr> Offer<S> {
    /// Create a new builder for this type
    pub fn builder() -> OfferBuilder<offer_state::Empty, S> {
        OfferBuilder::builder()
    }
}

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

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `addOn` field (optional)
    pub fn add_on(mut self, value: impl Into<Option<OfferAddOn<S>>>) -> Self {
        self._fields.1 = value.into();
        self
    }
    /// Set the `addOn` field to an Option value (optional)
    pub fn maybe_add_on(mut self, value: Option<OfferAddOn<S>>) -> Self {
        self._fields.1 = value;
        self
    }
}

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `advanceBookingRequirement` field (optional)
    pub fn advance_booking_requirement(
        mut self,
        value: impl Into<Option<OfferAdvanceBookingRequirement<S>>>,
    ) -> Self {
        self._fields.4 = value.into();
        self
    }
    /// Set the `advanceBookingRequirement` field to an Option value (optional)
    pub fn maybe_advance_booking_requirement(
        mut self,
        value: Option<OfferAdvanceBookingRequirement<S>>,
    ) -> Self {
        self._fields.4 = value;
        self
    }
}

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

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

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `availability` field (optional)
    pub fn availability(
        mut self,
        value: impl Into<Option<OfferAvailability<S>>>,
    ) -> Self {
        self._fields.9 = value.into();
        self
    }
    /// Set the `availability` field to an Option value (optional)
    pub fn maybe_availability(mut self, value: Option<OfferAvailability<S>>) -> Self {
        self._fields.9 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `availabilityEnds` field (optional)
    pub fn availability_ends(
        mut self,
        value: impl Into<Option<OfferAvailabilityEnds<S>>>,
    ) -> Self {
        self._fields.10 = value.into();
        self
    }
    /// Set the `availabilityEnds` field to an Option value (optional)
    pub fn maybe_availability_ends(
        mut self,
        value: Option<OfferAvailabilityEnds<S>>,
    ) -> Self {
        self._fields.10 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `availabilityStarts` field (optional)
    pub fn availability_starts(
        mut self,
        value: impl Into<Option<OfferAvailabilityStarts<S>>>,
    ) -> Self {
        self._fields.11 = value.into();
        self
    }
    /// Set the `availabilityStarts` field to an Option value (optional)
    pub fn maybe_availability_starts(
        mut self,
        value: Option<OfferAvailabilityStarts<S>>,
    ) -> Self {
        self._fields.11 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `availableAtOrFrom` field (optional)
    pub fn available_at_or_from(
        mut self,
        value: impl Into<Option<OfferAvailableAtOrFrom<S>>>,
    ) -> Self {
        self._fields.12 = value.into();
        self
    }
    /// Set the `availableAtOrFrom` field to an Option value (optional)
    pub fn maybe_available_at_or_from(
        mut self,
        value: Option<OfferAvailableAtOrFrom<S>>,
    ) -> Self {
        self._fields.12 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `availableDeliveryMethod` field (optional)
    pub fn available_delivery_method(
        mut self,
        value: impl Into<Option<OfferAvailableDeliveryMethod<S>>>,
    ) -> Self {
        self._fields.13 = value.into();
        self
    }
    /// Set the `availableDeliveryMethod` field to an Option value (optional)
    pub fn maybe_available_delivery_method(
        mut self,
        value: Option<OfferAvailableDeliveryMethod<S>>,
    ) -> Self {
        self._fields.13 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `businessFunction` field (optional)
    pub fn business_function(
        mut self,
        value: impl Into<Option<OfferBusinessFunction<S>>>,
    ) -> Self {
        self._fields.14 = value.into();
        self
    }
    /// Set the `businessFunction` field to an Option value (optional)
    pub fn maybe_business_function(
        mut self,
        value: Option<OfferBusinessFunction<S>>,
    ) -> Self {
        self._fields.14 = value;
        self
    }
}

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `checkoutPageURLTemplate` field (optional)
    pub fn checkout_page_url_template(
        mut self,
        value: impl Into<Option<OfferCheckoutPageUrlTemplate<S>>>,
    ) -> Self {
        self._fields.16 = value.into();
        self
    }
    /// Set the `checkoutPageURLTemplate` field to an Option value (optional)
    pub fn maybe_checkout_page_url_template(
        mut self,
        value: Option<OfferCheckoutPageUrlTemplate<S>>,
    ) -> Self {
        self._fields.16 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `deliveryLeadTime` field (optional)
    pub fn delivery_lead_time(
        mut self,
        value: impl Into<Option<OfferDeliveryLeadTime<S>>>,
    ) -> Self {
        self._fields.17 = value.into();
        self
    }
    /// Set the `deliveryLeadTime` field to an Option value (optional)
    pub fn maybe_delivery_lead_time(
        mut self,
        value: Option<OfferDeliveryLeadTime<S>>,
    ) -> Self {
        self._fields.17 = value;
        self
    }
}

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `eligibleCustomerType` field (optional)
    pub fn eligible_customer_type(
        mut self,
        value: impl Into<Option<OfferEligibleCustomerType<S>>>,
    ) -> Self {
        self._fields.20 = value.into();
        self
    }
    /// Set the `eligibleCustomerType` field to an Option value (optional)
    pub fn maybe_eligible_customer_type(
        mut self,
        value: Option<OfferEligibleCustomerType<S>>,
    ) -> Self {
        self._fields.20 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `eligibleDuration` field (optional)
    pub fn eligible_duration(
        mut self,
        value: impl Into<Option<OfferEligibleDuration<S>>>,
    ) -> Self {
        self._fields.21 = value.into();
        self
    }
    /// Set the `eligibleDuration` field to an Option value (optional)
    pub fn maybe_eligible_duration(
        mut self,
        value: Option<OfferEligibleDuration<S>>,
    ) -> Self {
        self._fields.21 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `eligibleQuantity` field (optional)
    pub fn eligible_quantity(
        mut self,
        value: impl Into<Option<OfferEligibleQuantity<S>>>,
    ) -> Self {
        self._fields.22 = value.into();
        self
    }
    /// Set the `eligibleQuantity` field to an Option value (optional)
    pub fn maybe_eligible_quantity(
        mut self,
        value: Option<OfferEligibleQuantity<S>>,
    ) -> Self {
        self._fields.22 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `eligibleRegion` field (optional)
    pub fn eligible_region(
        mut self,
        value: impl Into<Option<OfferEligibleRegion<S>>>,
    ) -> Self {
        self._fields.23 = value.into();
        self
    }
    /// Set the `eligibleRegion` field to an Option value (optional)
    pub fn maybe_eligible_region(
        mut self,
        value: Option<OfferEligibleRegion<S>>,
    ) -> Self {
        self._fields.23 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `eligibleTransactionVolume` field (optional)
    pub fn eligible_transaction_volume(
        mut self,
        value: impl Into<Option<OfferEligibleTransactionVolume<S>>>,
    ) -> Self {
        self._fields.24 = value.into();
        self
    }
    /// Set the `eligibleTransactionVolume` field to an Option value (optional)
    pub fn maybe_eligible_transaction_volume(
        mut self,
        value: Option<OfferEligibleTransactionVolume<S>>,
    ) -> Self {
        self._fields.24 = value;
        self
    }
}

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

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

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

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

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

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

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

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

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

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `includesObject` field (optional)
    pub fn includes_object(
        mut self,
        value: impl Into<Option<OfferIncludesObject<S>>>,
    ) -> Self {
        self._fields.36 = value.into();
        self
    }
    /// Set the `includesObject` field to an Option value (optional)
    pub fn maybe_includes_object(
        mut self,
        value: Option<OfferIncludesObject<S>>,
    ) -> Self {
        self._fields.36 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `ineligibleRegion` field (optional)
    pub fn ineligible_region(
        mut self,
        value: impl Into<Option<OfferIneligibleRegion<S>>>,
    ) -> Self {
        self._fields.37 = value.into();
        self
    }
    /// Set the `ineligibleRegion` field to an Option value (optional)
    pub fn maybe_ineligible_region(
        mut self,
        value: Option<OfferIneligibleRegion<S>>,
    ) -> Self {
        self._fields.37 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `inventoryLevel` field (optional)
    pub fn inventory_level(
        mut self,
        value: impl Into<Option<OfferInventoryLevel<S>>>,
    ) -> Self {
        self._fields.38 = value.into();
        self
    }
    /// Set the `inventoryLevel` field to an Option value (optional)
    pub fn maybe_inventory_level(
        mut self,
        value: Option<OfferInventoryLevel<S>>,
    ) -> Self {
        self._fields.38 = value;
        self
    }
}

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `itemOffered` field (optional)
    pub fn item_offered(
        mut self,
        value: impl Into<Option<OfferItemOffered<S>>>,
    ) -> Self {
        self._fields.41 = value.into();
        self
    }
    /// Set the `itemOffered` field to an Option value (optional)
    pub fn maybe_item_offered(mut self, value: Option<OfferItemOffered<S>>) -> Self {
        self._fields.41 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `leaseLength` field (optional)
    pub fn lease_length(
        mut self,
        value: impl Into<Option<OfferLeaseLength<S>>>,
    ) -> Self {
        self._fields.42 = value.into();
        self
    }
    /// Set the `leaseLength` field to an Option value (optional)
    pub fn maybe_lease_length(mut self, value: Option<OfferLeaseLength<S>>) -> Self {
        self._fields.42 = value;
        self
    }
}

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

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

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `offeredBy` field (optional)
    pub fn offered_by(mut self, value: impl Into<Option<OfferOfferedBy<S>>>) -> Self {
        self._fields.47 = value.into();
        self
    }
    /// Set the `offeredBy` field to an Option value (optional)
    pub fn maybe_offered_by(mut self, value: Option<OfferOfferedBy<S>>) -> Self {
        self._fields.47 = value;
        self
    }
}

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `price` field (optional)
    pub fn price(mut self, value: impl Into<Option<OfferPrice<S>>>) -> Self {
        self._fields.49 = value.into();
        self
    }
    /// Set the `price` field to an Option value (optional)
    pub fn maybe_price(mut self, value: Option<OfferPrice<S>>) -> Self {
        self._fields.49 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `priceCurrency` field (optional)
    pub fn price_currency(
        mut self,
        value: impl Into<Option<OfferPriceCurrency<S>>>,
    ) -> Self {
        self._fields.50 = value.into();
        self
    }
    /// Set the `priceCurrency` field to an Option value (optional)
    pub fn maybe_price_currency(mut self, value: Option<OfferPriceCurrency<S>>) -> Self {
        self._fields.50 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `priceSpecification` field (optional)
    pub fn price_specification(
        mut self,
        value: impl Into<Option<OfferPriceSpecification<S>>>,
    ) -> Self {
        self._fields.51 = value.into();
        self
    }
    /// Set the `priceSpecification` field to an Option value (optional)
    pub fn maybe_price_specification(
        mut self,
        value: Option<OfferPriceSpecification<S>>,
    ) -> Self {
        self._fields.51 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `priceValidUntil` field (optional)
    pub fn price_valid_until(
        mut self,
        value: impl Into<Option<OfferPriceValidUntil<S>>>,
    ) -> Self {
        self._fields.52 = value.into();
        self
    }
    /// Set the `priceValidUntil` field to an Option value (optional)
    pub fn maybe_price_valid_until(
        mut self,
        value: Option<OfferPriceValidUntil<S>>,
    ) -> Self {
        self._fields.52 = value;
        self
    }
}

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

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `seller` field (optional)
    pub fn seller(mut self, value: impl Into<Option<OfferSeller<S>>>) -> Self {
        self._fields.56 = value.into();
        self
    }
    /// Set the `seller` field to an Option value (optional)
    pub fn maybe_seller(mut self, value: Option<OfferSeller<S>>) -> Self {
        self._fields.56 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `serialNumber` field (optional)
    pub fn serial_number(
        mut self,
        value: impl Into<Option<OfferSerialNumber<S>>>,
    ) -> Self {
        self._fields.57 = value.into();
        self
    }
    /// Set the `serialNumber` field to an Option value (optional)
    pub fn maybe_serial_number(mut self, value: Option<OfferSerialNumber<S>>) -> Self {
        self._fields.57 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `shippingDetails` field (optional)
    pub fn shipping_details(
        mut self,
        value: impl Into<Option<OfferShippingDetails<S>>>,
    ) -> Self {
        self._fields.58 = value.into();
        self
    }
    /// Set the `shippingDetails` field to an Option value (optional)
    pub fn maybe_shipping_details(
        mut self,
        value: Option<OfferShippingDetails<S>>,
    ) -> Self {
        self._fields.58 = value;
        self
    }
}

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

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

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

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `validForMemberTier` field (optional)
    pub fn valid_for_member_tier(
        mut self,
        value: impl Into<Option<OfferValidForMemberTier<S>>>,
    ) -> Self {
        self._fields.62 = value.into();
        self
    }
    /// Set the `validForMemberTier` field to an Option value (optional)
    pub fn maybe_valid_for_member_tier(
        mut self,
        value: Option<OfferValidForMemberTier<S>>,
    ) -> Self {
        self._fields.62 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `validFrom` field (optional)
    pub fn valid_from(mut self, value: impl Into<Option<OfferValidFrom<S>>>) -> Self {
        self._fields.63 = value.into();
        self
    }
    /// Set the `validFrom` field to an Option value (optional)
    pub fn maybe_valid_from(mut self, value: Option<OfferValidFrom<S>>) -> Self {
        self._fields.63 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `validThrough` field (optional)
    pub fn valid_through(
        mut self,
        value: impl Into<Option<OfferValidThrough<S>>>,
    ) -> Self {
        self._fields.64 = value.into();
        self
    }
    /// Set the `validThrough` field to an Option value (optional)
    pub fn maybe_valid_through(mut self, value: Option<OfferValidThrough<S>>) -> Self {
        self._fields.64 = value;
        self
    }
}

impl<St: offer_state::State, S: BosStr> OfferBuilder<St, S> {
    /// Set the `warranty` field (optional)
    pub fn warranty(mut self, value: impl Into<Option<OfferWarranty<S>>>) -> Self {
        self._fields.65 = value.into();
        self
    }
    /// Set the `warranty` field to an Option value (optional)
    pub fn maybe_warranty(mut self, value: Option<OfferWarranty<S>>) -> Self {
        self._fields.65 = value;
        self
    }
}

impl<St, S: BosStr> OfferBuilder<St, S>
where
    St: offer_state::State,
{
    /// Build the final struct.
    pub fn build(self) -> Offer<S> {
        Offer {
            accepted_payment_method: self._fields.0,
            add_on: self._fields.1,
            additional_property: self._fields.2,
            additional_type: self._fields.3,
            advance_booking_requirement: self._fields.4,
            aggregate_rating: self._fields.5,
            alternate_name: self._fields.6,
            area_served: self._fields.7,
            asin: self._fields.8,
            availability: self._fields.9,
            availability_ends: self._fields.10,
            availability_starts: self._fields.11,
            available_at_or_from: self._fields.12,
            available_delivery_method: self._fields.13,
            business_function: self._fields.14,
            category: self._fields.15,
            checkout_page_url_template: self._fields.16,
            delivery_lead_time: self._fields.17,
            description: self._fields.18,
            disambiguating_description: self._fields.19,
            eligible_customer_type: self._fields.20,
            eligible_duration: self._fields.21,
            eligible_quantity: self._fields.22,
            eligible_region: self._fields.23,
            eligible_transaction_volume: self._fields.24,
            gtin: self._fields.25,
            gtin12: self._fields.26,
            gtin13: self._fields.27,
            gtin14: self._fields.28,
            gtin8: self._fields.29,
            has_adult_consideration: self._fields.30,
            has_gs1_digital_link: self._fields.31,
            has_measurement: self._fields.32,
            has_merchant_return_policy: self._fields.33,
            identifier: self._fields.34,
            image: self._fields.35,
            includes_object: self._fields.36,
            ineligible_region: self._fields.37,
            inventory_level: self._fields.38,
            is_family_friendly: self._fields.39,
            item_condition: self._fields.40,
            item_offered: self._fields.41,
            lease_length: self._fields.42,
            main_entity_of_page: self._fields.43,
            mobile_url: self._fields.44,
            mpn: self._fields.45,
            name: self._fields.46,
            offered_by: self._fields.47,
            potential_action: self._fields.48,
            price: self._fields.49,
            price_currency: self._fields.50,
            price_specification: self._fields.51,
            price_valid_until: self._fields.52,
            review: self._fields.53,
            reviews: self._fields.54,
            same_as: self._fields.55,
            seller: self._fields.56,
            serial_number: self._fields.57,
            shipping_details: self._fields.58,
            sku: self._fields.59,
            subject_of: self._fields.60,
            url: self._fields.61,
            valid_for_member_tier: self._fields.62,
            valid_from: self._fields.63,
            valid_through: self._fields.64,
            warranty: self._fields.65,
            extra_data: Default::default(),
        }
    }
    /// Build the final struct with custom extra_data.
    pub fn build_with_data(self, extra_data: BTreeMap<SmolStr, Data<S>>) -> Offer<S> {
        Offer {
            accepted_payment_method: self._fields.0,
            add_on: self._fields.1,
            additional_property: self._fields.2,
            additional_type: self._fields.3,
            advance_booking_requirement: self._fields.4,
            aggregate_rating: self._fields.5,
            alternate_name: self._fields.6,
            area_served: self._fields.7,
            asin: self._fields.8,
            availability: self._fields.9,
            availability_ends: self._fields.10,
            availability_starts: self._fields.11,
            available_at_or_from: self._fields.12,
            available_delivery_method: self._fields.13,
            business_function: self._fields.14,
            category: self._fields.15,
            checkout_page_url_template: self._fields.16,
            delivery_lead_time: self._fields.17,
            description: self._fields.18,
            disambiguating_description: self._fields.19,
            eligible_customer_type: self._fields.20,
            eligible_duration: self._fields.21,
            eligible_quantity: self._fields.22,
            eligible_region: self._fields.23,
            eligible_transaction_volume: self._fields.24,
            gtin: self._fields.25,
            gtin12: self._fields.26,
            gtin13: self._fields.27,
            gtin14: self._fields.28,
            gtin8: self._fields.29,
            has_adult_consideration: self._fields.30,
            has_gs1_digital_link: self._fields.31,
            has_measurement: self._fields.32,
            has_merchant_return_policy: self._fields.33,
            identifier: self._fields.34,
            image: self._fields.35,
            includes_object: self._fields.36,
            ineligible_region: self._fields.37,
            inventory_level: self._fields.38,
            is_family_friendly: self._fields.39,
            item_condition: self._fields.40,
            item_offered: self._fields.41,
            lease_length: self._fields.42,
            main_entity_of_page: self._fields.43,
            mobile_url: self._fields.44,
            mpn: self._fields.45,
            name: self._fields.46,
            offered_by: self._fields.47,
            potential_action: self._fields.48,
            price: self._fields.49,
            price_currency: self._fields.50,
            price_specification: self._fields.51,
            price_valid_until: self._fields.52,
            review: self._fields.53,
            reviews: self._fields.54,
            same_as: self._fields.55,
            seller: self._fields.56,
            serial_number: self._fields.57,
            shipping_details: self._fields.58,
            sku: self._fields.59,
            subject_of: self._fields.60,
            url: self._fields.61,
            valid_for_member_tier: self._fields.62,
            valid_from: self._fields.63,
            valid_through: self._fields.64,
            warranty: self._fields.65,
            extra_data: Some(extra_data),
        }
    }
}